public interface IDemandTypeDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
insert(DemandType demandType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
DemandType |
load(int nIdDemand,
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<DemandType> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all demand types
|
List<DemandType> |
selectByIdCategoryAndDate(int nIdCategory,
Date dateToday,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all demand types for the LuteceUser
|
DemandType |
selectByOrder(int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find by order
|
List<DemandType> |
selectDemandTypesByFilter(DemandTypeFilter dtFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find by filter
|
int |
selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the max order
|
List<DemandType> |
selectNoDateEndDemandTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the demand types that have not a date end
|
void |
store(DemandType demandType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginint insert(DemandType demandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
demandType - instanceplugin - the Pluginvoid store(DemandType demandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
demandType - the reference of the objectplugin - the Pluginvoid delete(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDemand - int identifier of the DemandType to deleteplugin - the PluginDemandType load(int nIdDemand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDemand - The identifier of the DemandTypeplugin - the PluginList<DemandType> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginDemandTypeList<DemandType> selectByIdCategoryAndDate(int nIdCategory, Date dateToday, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - the ID categorydateToday - todayplugin - PluginDemandTypeint selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginList<DemandType> selectDemandTypesByFilter(DemandTypeFilter dtFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
dtFilter - the filterplugin - PluginDemandTypeDemandType selectByOrder(int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nOrder - the orderplugin - the PluginDemandTypeList<DemandType> selectNoDateEndDemandTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginCopyright © 2014 Mairie de Paris. All rights reserved.