Class DemandDashboardDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.modules.grusupply.business.DemandDashboardDAO
-
- All Implemented Interfaces:
IDemandDashboardDAO
public final class DemandDashboardDAO extends Object implements IDemandDashboardDAO
This class provides Data Access methods for DemandDashboard objects
-
-
Constructor Summary
Constructors Constructor Description DemandDashboardDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int ndemandDashboardId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(DemandDashboard demandDashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.DemandDashboardload(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<DemandDashboard>selectByDemandIds(List<DemandDashboard> listDemandDashboards, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the demandDashboard objects by demand ids and returns them as a ListList<DemandDashboard>selectDemandDashboardsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the demandDashboard objects and returns them as a Listvoidstore(DemandDashboard demandDashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(DemandDashboard demandDashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIDemandDashboardDAO- Parameters:
demandDashboard- instance of the DemandDashboard object to inssertplugin- the Plugin
-
load
public DemandDashboard load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIDemandDashboardDAOplugin- the Plugin- Returns:
- The instance of the demandDashboard
-
delete
public void delete(int ndemandDashboardId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIDemandDashboardDAO- Parameters:
ndemandDashboardId- int identifier of the DemandDashboard to deleteplugin- the Plugin
-
store
public void store(DemandDashboard demandDashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIDemandDashboardDAO- Parameters:
demandDashboard- the reference of the DemandDashboardplugin- the Plugin
-
selectDemandDashboardsList
public List<DemandDashboard> selectDemandDashboardsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the demandDashboard objects and returns them as a List- Specified by:
selectDemandDashboardsListin interfaceIDemandDashboardDAO- Parameters:
plugin- the Plugin- Returns:
- The List which contains the data of all the demandDashboard objects
-
selectByDemandIds
public List<DemandDashboard> selectByDemandIds(List<DemandDashboard> listDemandDashboards, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IDemandDashboardDAOLoad the data of all the demandDashboard objects by demand ids and returns them as a List- Specified by:
selectByDemandIdsin interfaceIDemandDashboardDAOplugin- the Plugin- Returns:
- The List which contains the data of all the demandDashboard objects
-
-