|
||||||||||
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 | |
---|---|
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,
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 IDemandDAO
plugin
- the Plugin
public int insert(Demand demand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IDemandDAO
demand
- instanceplugin
- the Plugin
public Demand load(int nIdDemand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IDemandDAO
nIdDemand
- The identifier of the demandplugin
- the Plugin
public void store(Demand demand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IDemandDAO
demand
- the reference of the objectplugin
- the Pluginpublic void delete(int nIdDemand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IDemandDAO
nIdDemand
- 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 IDemandDAO
plugin
- Plugin
Demand
public java.util.List<Demand> selectByFilter(DemandFilter dFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByFilter
in interface IDemandDAO
dFilter
- the filterplugin
- Plugin
Demand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |