|
||||||||||
| 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 IDemandTypeDAOplugin - The Plugin
public int insert(DemandType demandType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDemandTypeDAOdemandType - instanceplugin - the Plugin
public DemandType load(int nIdDemandType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDemandTypeDAOnIdDemandType - The identifier of the DemandTypeplugin - the Plugin
public void store(DemandType demandType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDemandTypeDAOdemandType - the reference of the objectplugin - the Plugin
public void delete(int nIdDemandType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IDemandTypeDAOnIdDemandType - int identifier of the DemandType to deleteplugin - the Pluginpublic List<DemandType> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface IDemandTypeDAOplugin - Plugin
DemandType
public List<DemandType> selectByIdCategoryAndDate(int nIdCategory,
Date dateToday,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByIdCategoryAndDate in interface IDemandTypeDAOnIdCategory - the ID categorydateToday - todayplugin - Plugin
DemandType
public DemandType selectByOrder(int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByOrder in interface IDemandTypeDAOnOrder - the orderplugin - the Plugin
DemandTypepublic int selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxOrder in interface IDemandTypeDAOplugin - Plugin
public List<DemandType> selectDemandTypesByFilter(DemandTypeFilter dtFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDemandTypesByFilter in interface IDemandTypeDAOdtFilter - the filterplugin - Plugin
DemandTypepublic List<DemandType> selectNoDateEndDemandTypes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNoDateEndDemandTypes in interface IDemandTypeDAOplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||