Class DashboardAssociationHome
java.lang.Object
fr.paris.lutece.plugins.mydashboard.business.DashboardAssociationHome
This class provides instances management methods (create, find, ...) for DashboardAssociation objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 intreturn the number of associationstatic List<DashboardAssociation>Load the data of all the dashboardAssociation objects and returns them as a liststatic 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.ReferenceListLoad the data of all the dashboardAssociation objects and returns them as a referenceListLoad 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 Details
-
create
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
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
Returns an instance of a dashboardAssociation whose identifier is specified in parameter- Parameters:
nKey- The dashboardAssociation primary key- Returns:
- an instance of 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
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
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
-