fr.paris.lutece.portal.business.datastore
Interface IDataEntityDAO

All Known Implementing Classes:
DataEntityDAO

public interface IDataEntityDAO

IDataEntityDAO Interface


Method Summary
 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 from the table
 List<DataEntity> selectEntitiesList()
          Load the data of all entities and returns them as a List
 void store(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(String strKey)
Delete a record from the table

Parameters:
strKey - The identifier of the Entity to delete

load

DataEntity load(String strKey)
Load the data from the table

Parameters:
strKey - The identifier of the property
Returns:
The instance of the property

selectEntitiesList

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.