public final class DemandTypeActionDAO extends Object implements IDemandTypeActionDAO
| Constructor and Description |
|---|
DemandTypeActionDAO() |
| 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(DemandTypeAction demandTypeAction,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
DemandTypeAction |
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
|
List<DemandTypeAction> |
selectActionsByType(int nDemandTypeId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select all Actions for a given demand type
|
fr.paris.lutece.util.ReferenceList |
selectActionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select all Actions as a Reference List
|
List<DemandTypeAction> |
selectDemandTypeActionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the demandTypeAction objects and returns them as a collection
|
List<Integer> |
selectIdDemandTypeActionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the demandTypeAction objects and returns them as a collection
|
void |
store(DemandTypeAction demandTypeAction,
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(DemandTypeAction demandTypeAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDemandTypeActionDAOdemandTypeAction - instance of the DemandTypeAction object to insertplugin - the Pluginpublic DemandTypeAction load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDemandTypeActionDAOnKey - The identifier of the demandTypeActionplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IDemandTypeActionDAOnKey - The identifier of the DemandTypeAction to deleteplugin - the Pluginpublic void store(DemandTypeAction demandTypeAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDemandTypeActionDAOdemandTypeAction - the reference of the DemandTypeActionplugin - the Pluginpublic List<DemandTypeAction> selectDemandTypeActionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDemandTypeActionsList in interface IDemandTypeActionDAOplugin - the Pluginpublic List<Integer> selectIdDemandTypeActionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdDemandTypeActionsList in interface IDemandTypeActionDAOplugin - the Pluginpublic List<DemandTypeAction> selectActionsByType(int nDemandTypeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectActionsByType in interface IDemandTypeActionDAOnDemandTypeId - The DemandType IDplugin - The pluginpublic fr.paris.lutece.util.ReferenceList selectActionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectActionsReferenceList in interface IDemandTypeActionDAOCopyright © 2016 City of Paris. All rights reserved.