public class DemandDAO extends Object implements IDemandDAO
| Constructor and Description |
|---|
DemandDAO() |
| Modifier and Type | Method and Description |
|---|---|
int |
countByFilter(DemandFilter dFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Count results by filter
|
void |
delete(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
insert(Demand demand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Demand |
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)
Generate a new primary key
|
List<Demand> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all demands
|
List<Demand> |
selectByFilter(DemandFilter dFilter,
IPaginationProperties paginationProperties,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find by filter
|
void |
store(Demand demand,
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)
newPrimaryKey in interface IDemandDAOplugin - the Pluginpublic int insert(Demand demand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDemandDAOdemand - instanceplugin - the Pluginpublic Demand load(int nIdDemand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDemandDAOnIdDemand - The identifier of the demandplugin - the Pluginpublic void store(Demand demand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDemandDAOdemand - the reference of the objectplugin - the Pluginpublic void delete(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IDemandDAOnIdDemand - int identifier of the demand to deleteplugin - the Pluginpublic List<Demand> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface IDemandDAOplugin - PluginDemandpublic List<Demand> selectByFilter(DemandFilter dFilter, IPaginationProperties paginationProperties, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByFilter in interface IDemandDAOdFilter - the filterpaginationProperties - the pagination properties (can be null)plugin - PluginDemandpublic int countByFilter(DemandFilter dFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
countByFilter in interface IDemandDAOdFilter - the filterplugin - PluginCopyright © 2015 City of Paris. All rights reserved.