public interface IDemandTypeDAO
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
|
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
|
void insert(DemandType demandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
demandType
- instance of the DemandType object to insertplugin
- the Pluginvoid store(DemandType demandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
demandType
- the reference of the DemandTypeplugin
- the Pluginvoid delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the DemandType to deleteplugin
- the PluginDemandType load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the demandTypeplugin
- the PluginList<DemandType> selectDemandTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginList<Integer> selectIdDemandTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Pluginfr.paris.lutece.util.ReferenceList selectDemandTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginDemandType selectByTypeId(String strDemandTypeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strDemandTypeId
- The demandTypeIdplugin
- The pluginCopyright © 2016 City of Paris. All rights reserved.