|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.datastore.DataEntityDAO
public final class DataEntityDAO
This class provides Data Access methods for Entity objects
Constructor Summary | |
---|---|
DataEntityDAO()
|
Method Summary | |
---|---|
void |
delete(java.lang.String strKey)
Delete a record from the table |
void |
insert(DataEntity entity)
Insert a new record in the table. |
DataEntity |
load(java.lang.String strKey)
Load the data of the entity from the table |
java.util.List<DataEntity> |
selectEntitiesList()
Load the data of all the entitys and returns them as a List |
void |
store(DataEntity entity)
Update the record in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataEntityDAO()
Method Detail |
---|
public void insert(DataEntity entity)
insert
in interface IDataEntityDAO
entity
- instance of the Entity object to insertpublic DataEntity load(java.lang.String strKey)
load
in interface IDataEntityDAO
strKey
- The identifier of the entity
public void delete(java.lang.String strKey)
delete
in interface IDataEntityDAO
strKey
- The identifier of the entitypublic void store(DataEntity entity)
store
in interface IDataEntityDAO
entity
- The reference of the entitypublic java.util.List<DataEntity> selectEntitiesList()
selectEntitiesList
in interface IDataEntityDAO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |