public interface IDbDemandDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(DbDemand demand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
DbDemand |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<DbDemand> |
selectByCustomer(String strCustomerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select all demands for a given customer
|
DbDemand |
selectByIdAndType(String strDemandId,
String strDemandTypeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select a demand by its ID and Type
|
List<DbDemand> |
selectDemandsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the demand objects and returns them as a collection
|
List<Integer> |
selectIdDemandsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the demand objects and returns them as a collection
|
void |
store(DbDemand demand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(DbDemand demand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
demand - instance of the DbDemand object to insertplugin - the Pluginvoid store(DbDemand demand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
demand - the reference of the DbDemandplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the DbDemand to deleteplugin - the PluginDbDemand load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the demandplugin - the PluginList<DbDemand> selectDemandsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Integer> selectIdDemandsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginDbDemand selectByIdAndType(String strDemandId, String strDemandTypeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strDemandId - The demand IDstrDemandTypeId - The demand Typeplugin - The pluginCopyright © 2016 City of Paris. All rights reserved.