public final class DemandTypeDAO extends Object implements IDemandTypeDAO
| Constructor and Description |
|---|
DemandTypeDAO() |
| 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(DemandType demandType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
DemandType |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
DemandType |
selectByTypeId(String strDemandTypeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a DemandType by its DemandTypeId
|
fr.paris.lutece.util.ReferenceList |
selectDemandTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a reference list of all demands
|
List<DemandType> |
selectDemandTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the demandType objects and returns them as a collection
|
List<Integer> |
selectIdDemandTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the demandType objects and returns them as a collection
|
void |
store(DemandType demandType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(DemandType demandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDemandTypeDAOdemandType - instance of the DemandType object to insertplugin - the Pluginpublic DemandType load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDemandTypeDAOnKey - The identifier of the demandTypeplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IDemandTypeDAOnKey - The identifier of the DemandType to deleteplugin - the Pluginpublic void store(DemandType demandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDemandTypeDAOdemandType - the reference of the DemandTypeplugin - the Pluginpublic List<DemandType> selectDemandTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDemandTypesList in interface IDemandTypeDAOplugin - the Pluginpublic List<Integer> selectIdDemandTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdDemandTypesList in interface IDemandTypeDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectDemandTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDemandTypes in interface IDemandTypeDAOplugin - The pluginpublic DemandType selectByTypeId(String strDemandTypeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByTypeId in interface IDemandTypeDAOstrDemandTypeId - The demandTypeIdplugin - The pluginCopyright © 2017 City of Paris. All rights reserved.