Interface IDataEntityDAO
-
- All Known Implementing Classes:
DataEntityDAO
public interface IDataEntityDAOIDataEntityDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(java.lang.String strKey)Delete a record from the tablevoidinsert(DataEntity entity)Insert a new record in the table.DataEntityload(java.lang.String strKey)Load the data from the tablejava.util.List<DataEntity>selectEntitiesByPrefix(java.lang.String strPrefix)Load the data of all the entity objects whose key share a prefixjava.util.List<DataEntity>selectEntitiesList()Load the data of all entities and returns them as a Listvoidstore(DataEntity entity)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(DataEntity entity)
Insert a new record in the table.- Parameters:
entity- instance of the Entity object to insert
-
store
void store(DataEntity entity)
Update the record in the table- Parameters:
entity- the reference of the Entity
-
delete
void delete(java.lang.String strKey)
Delete a record from the table- Parameters:
strKey- The identifier of the Entity to delete
-
load
DataEntity load(java.lang.String strKey)
Load the data from the table- Parameters:
strKey- The identifier of the property- Returns:
- The instance of the property
-
selectEntitiesList
java.util.List<DataEntity> selectEntitiesList()
Load the data of all entities and returns them as a List- Returns:
- The List which contains the data of all the property objects
-
selectEntitiesByPrefix
java.util.List<DataEntity> selectEntitiesByPrefix(java.lang.String strPrefix)
Load the data of all the entity objects whose key share a prefix- Parameters:
strPrefix- the prefix- Returns:
- the list which contains the data of all the entity objects whose key share a prefix
- Since:
- 7.0.17
-
-