Class Cluster
java.lang.Object
fr.paris.lutece.plugins.releaser.business.Cluster
- All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource,Serializable
public class Cluster
extends Object
implements fr.paris.lutece.portal.service.rbac.RBACResource, Serializable
This is the business class for the object Cluster
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the DescriptionintgetId()Returns the IdgetName()Returns the NamegetSites()Returns the list of sitesvoidsetDescription(String strDescription) Sets the DescriptionvoidsetId(int nId) Sets the IdvoidSets the NamevoidsetPermissions(HashMap<String, Boolean> permissions) voidSets the list of sites
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
PERMISSION_ADD_CLUSTER
- See Also:
-
PERMISSION_MODIFY_CLUSTER
- See Also:
-
PERMISSION_DELETE_CLUSTER
- See Also:
-
PERMISSION_ADD_SITES_TO_CLUSTER
- See Also:
-
-
Constructor Details
-
Cluster
public Cluster()
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
Sets the Description- Parameters:
strDescription- The Description
-
getSites
Returns the list of sites- Returns:
- The list
-
setSites
Sets the list of sites- Parameters:
listSites- The list of site
-
getResourceTypeCode
- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceId
- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getPermissions
-
setPermissions
-