|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.datastore.DataEntityHome
public final class DataEntityHome
This class provides instances management methods (create, find, ...) for Entity objects
Method Summary | |
---|---|
static DataEntity |
create(DataEntity entity)
Create an instance of the entity class |
static List<DataEntity> |
findAll()
Load the data of all the entity objects and returns them in form of a collection |
static DataEntity |
findByPrimaryKey(String strKey)
Returns an instance of a entity whose identifier is specified in parameter |
static void |
remove(String strKey)
Remove the entity whose identifier is specified in parameter |
static DataEntity |
update(DataEntity entity)
Update of the entity data specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DataEntity create(DataEntity entity)
entity
- The instance of the Entity which contains the informations to store
public static DataEntity update(DataEntity entity)
entity
- The instance of the Entity which contains the data to store
public static void remove(String strKey)
strKey
- The entity Idpublic static DataEntity findByPrimaryKey(String strKey)
strKey
- The entity primary key
public static List<DataEntity> findAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |