Class DemandDashboardHome
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.modules.grusupply.business.DemandDashboardHome
-
public final class DemandDashboardHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for DemandDashboard objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DemandDashboardcreate(DemandDashboard demandDashboard)Create an instance of the demandDashboard classstatic DemandDashboardfindByPrimaryKey(int nKey)Returns an instance of a demandDashboard whose identifier is specified in parameterstatic java.util.List<DemandDashboard>getDemandDashboardsList()Load the data of all the demandDashboard objects and returns them in form of a liststatic voidremove(int nDemandDashboardId)Remove the demandDashboard whose identifier is specified in parameterstatic java.util.List<DemandDashboard>selectByDemandIds(java.util.List<DemandDashboard> listDemandDashboards)Load the data of all the demandDashboard objects by demand ids and returns them in form of a liststatic DemandDashboardupdate(DemandDashboard demandDashboard)Update of the demandDashboard which is specified in parameter
-
-
-
Method Detail
-
create
public static DemandDashboard create(DemandDashboard demandDashboard)
Create an instance of the demandDashboard class- Parameters:
demandDashboard- The instance of the DemandDashboard which contains the informations to store- Returns:
- The instance of demandDashboard which has been created with its primary key.
-
update
public static DemandDashboard update(DemandDashboard demandDashboard)
Update of the demandDashboard which is specified in parameter- Parameters:
demandDashboard- The instance of the DemandDashboard which contains the data to store- Returns:
- The instance of the demandDashboard which has been updated
-
remove
public static void remove(int nDemandDashboardId)
Remove the demandDashboard whose identifier is specified in parameter- Parameters:
nDemandDashboardId- The demandDashboard Id
-
findByPrimaryKey
public static DemandDashboard findByPrimaryKey(int nKey)
Returns an instance of a demandDashboard whose identifier is specified in parameter- Parameters:
nKey- The demandDashboard primary key- Returns:
- an instance of DemandDashboard
-
getDemandDashboardsList
public static java.util.List<DemandDashboard> getDemandDashboardsList()
Load the data of all the demandDashboard objects and returns them in form of a list- Returns:
- the list which contains the data of all the demandDashboard objects
-
selectByDemandIds
public static java.util.List<DemandDashboard> selectByDemandIds(java.util.List<DemandDashboard> listDemandDashboards)
Load the data of all the demandDashboard objects by demand ids and returns them in form of a list- Parameters:
listDemandIds-- Returns:
- the list which contains the data of all the demandDashboard objects
-
-