public final class DataEntityDAO extends Object implements IDataEntityDAO
| Constructor and Description |
|---|
DataEntityDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String strKey)
Delete a record from the table
|
void |
insert(DataEntity entity)
Insert a new record in the table.
|
DataEntity |
load(String strKey)
Load the data of the entity from the table
|
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
|
public void insert(DataEntity entity)
insert in interface IDataEntityDAOentity - instance of the Entity object to insertpublic DataEntity load(String strKey)
load in interface IDataEntityDAOstrKey - The identifier of the entitypublic void delete(String strKey)
delete in interface IDataEntityDAOstrKey - The identifier of the entitypublic void store(DataEntity entity)
store in interface IDataEntityDAOentity - The reference of the entitypublic List<DataEntity> selectEntitiesList()
selectEntitiesList in interface IDataEntityDAOCopyright © 2020 City of Paris. All rights reserved.