Class ClusterHome
java.lang.Object
fr.paris.lutece.plugins.releaser.business.ClusterHome
This class provides instances management methods (create, find, ...) for Cluster objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterCreate an instance of the cluster classstatic ClusterfindByPrimaryKey(int nKey) Returns an instance of a cluster whose identifier is specified in parameterLoad the data of all the cluster objects and returns them as a listLoad the data of all the cluster objects without sites and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the cluster objects and returns them as a referenceListLoad the id of all the cluster objects and returns them as a liststatic voidremove(int nKey) Remove the cluster whose identifier is specified in parameterstatic ClusterUpdate of the cluster which is specified in parameter
-
Method Details
-
create
Create an instance of the cluster class- Parameters:
cluster- The instance of the Cluster which contains the informations to store- Returns:
- The instance of cluster which has been created with its primary key.
-
update
Update of the cluster which is specified in parameter- Parameters:
cluster- The instance of the Cluster which contains the data to store- Returns:
- The instance of the cluster which has been updated
-
remove
public static void remove(int nKey) Remove the cluster whose identifier is specified in parameter- Parameters:
nKey- The cluster Id
-
findByPrimaryKey
Returns an instance of a cluster whose identifier is specified in parameter- Parameters:
nKey- The cluster primary key- Returns:
- an instance of Cluster
-
getClustersList
Load the data of all the cluster objects and returns them as a list- Returns:
- the list which contains the data of all the cluster objects
-
getClustersListWithoutSites
Load the data of all the cluster objects without sites and returns them as a list- Returns:
- the list which contains the data of all the cluster objects
-
getIdClustersList
Load the id of all the cluster objects and returns them as a list- Returns:
- the list which contains the id of all the cluster objects
-
getClustersReferenceList
public static fr.paris.lutece.util.ReferenceList getClustersReferenceList()Load the data of all the cluster objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the cluster objects
-