|
||||||||||
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.DemandTypeDAO
public class DemandTypeDAO
DemandTypeDAO
Constructor Summary | |
---|---|
DemandTypeDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdDemandType,
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 nIdDemandType,
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DemandTypeDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey
in interface IDemandTypeDAO
plugin
- The Plugin
public int insert(DemandType demandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IDemandTypeDAO
demandType
- instanceplugin
- the Plugin
public DemandType load(int nIdDemandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IDemandTypeDAO
nIdDemandType
- The identifier of the DemandTypeplugin
- the Plugin
public void store(DemandType demandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IDemandTypeDAO
demandType
- the reference of the objectplugin
- the Pluginpublic void delete(int nIdDemandType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IDemandTypeDAO
nIdDemandType
- int identifier of the DemandType to deleteplugin
- the Pluginpublic List<DemandType> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll
in interface IDemandTypeDAO
plugin
- Plugin
DemandType
public List<DemandType> selectByIdCategoryAndDate(int nIdCategory, Date dateToday, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByIdCategoryAndDate
in interface IDemandTypeDAO
nIdCategory
- the ID categorydateToday
- todayplugin
- Plugin
DemandType
public DemandType selectByOrder(int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByOrder
in interface IDemandTypeDAO
nOrder
- the orderplugin
- the Plugin
DemandType
public int selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxOrder
in interface IDemandTypeDAO
plugin
- Plugin
public List<DemandType> selectDemandTypesByFilter(DemandTypeFilter dtFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDemandTypesByFilter
in interface IDemandTypeDAO
dtFilter
- the filterplugin
- Plugin
DemandType
public List<DemandType> selectNoDateEndDemandTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNoDateEndDemandTypes
in interface IDemandTypeDAO
plugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |