|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.crm.business.demand.DemandDAO
public class DemandDAO
DemandDAO
| Constructor Summary | |
|---|---|
DemandDAO()
|
|
| Method Summary | |
|---|---|
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 |
java.util.List<Demand> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all demands |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DemandDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IDemandDAOplugin - the Plugin
public int insert(Demand demand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDemandDAOdemand - instanceplugin - the Plugin
public Demand load(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDemandDAOnIdDemand - The identifier of the demandplugin - the Plugin
public void store(Demand demand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDemandDAOdemand - the reference of the objectplugin - the Plugin
public 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 java.util.List<Demand> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface IDemandDAOplugin - Plugin
Demand
public java.util.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 - Plugin
Demand
public int countByFilter(DemandFilter dFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
countByFilter in interface IDemandDAOdFilter - the filterplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||