Class DashboardAssociationHome
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.business.DashboardAssociationHome
-
public final class DashboardAssociationHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for DashboardAssociation objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DashboardAssociationcreate(DashboardAssociation dashboardAssociation)Create an instance of the dashboardAssociation classstatic DashboardAssociationfindByPrimaryKey(int nKey)Returns an instance of a dashboardAssociation whose identifier is specified in parameterstatic intgetCountDashboardAssociation()return the number of associationstatic java.util.List<DashboardAssociation>getDashboardAssociationsList()Load the data of all the dashboardAssociation objects and returns them as a liststatic java.util.List<DashboardAssociation>getDashboardAssociationsListByIdPanel(int nIdPanel)Load the data of all the dashboardAssociation objects asociated to a panel and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetDashboardAssociationsReferenceList()Load the data of all the dashboardAssociation objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdDashboardAssociationsList()Load the id of all the dashboardAssociation objects and returns them as a liststatic voidremove(int nKey)Remove the dashboardAssociation whose identifier is specified in parameterstatic DashboardAssociationupdate(DashboardAssociation dashboardAssociation)Update of the dashboardAssociation which is specified in parameter
-
-
-
Method Detail
-
create
public static DashboardAssociation create(DashboardAssociation dashboardAssociation)
Create an instance of the dashboardAssociation class- Parameters:
dashboardAssociation- The instance of the DashboardAssociation which contains the informations to store- Returns:
- The instance of dashboardAssociation which has been created with its primary key.
-
update
public static DashboardAssociation update(DashboardAssociation dashboardAssociation)
Update of the dashboardAssociation which is specified in parameter- Parameters:
dashboardAssociation- The instance of the DashboardAssociation which contains the data to store- Returns:
- The instance of the dashboardAssociation which has been updated
-
remove
public static void remove(int nKey)
Remove the dashboardAssociation whose identifier is specified in parameter- Parameters:
nKey- The dashboardAssociation Id
-
findByPrimaryKey
public static DashboardAssociation findByPrimaryKey(int nKey)
Returns an instance of a dashboardAssociation whose identifier is specified in parameter- Parameters:
nKey- The dashboardAssociation primary key- Returns:
- an instance of DashboardAssociation
-
getDashboardAssociationsList
public static java.util.List<DashboardAssociation> getDashboardAssociationsList()
Load the data of all the dashboardAssociation objects and returns them as a list- Returns:
- the list which contains the data of all the dashboardAssociation objects
-
getCountDashboardAssociation
public static int getCountDashboardAssociation()
return the number of association- Returns:
- the association number
-
getDashboardAssociationsListByIdPanel
public static java.util.List<DashboardAssociation> getDashboardAssociationsListByIdPanel(int nIdPanel)
Load the data of all the dashboardAssociation objects asociated to a panel and returns them as a list- Parameters:
nIdPanel- the panel id- Returns:
- the list which contains the data of all the dashboardAssociation objects
-
getIdDashboardAssociationsList
public static java.util.List<java.lang.Integer> getIdDashboardAssociationsList()
Load the id of all the dashboardAssociation objects and returns them as a list- Returns:
- the list which contains the id of all the dashboardAssociation objects
-
getDashboardAssociationsReferenceList
public static fr.paris.lutece.util.ReferenceList getDashboardAssociationsReferenceList()
Load the data of all the dashboardAssociation objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the dashboardAssociation objects
-
-