public final class DataEntityHome extends Object
Modifier and Type | Method and Description |
---|---|
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
|
public static DataEntity create(DataEntity entity)
entity
- The instance of the Entity which contains the informations to storepublic static DataEntity update(DataEntity entity)
entity
- The instance of the Entity which contains the data to storepublic static void remove(String strKey)
strKey
- The entity Idpublic static DataEntity findByPrimaryKey(String strKey)
strKey
- The entity primary keypublic static List<DataEntity> findAll()
Copyright © 2020 City of Paris. All rights reserved.