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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPERMISSION_ADD_CLUSTERstatic StringPERMISSION_ADD_SITES_TO_CLUSTERstatic StringPERMISSION_DELETE_CLUSTERstatic StringPERMISSION_MODIFY_CLUSTERstatic StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description Cluster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns the DescriptionintgetId()Returns the IdStringgetName()Returns the NameHashMap<String,Boolean>getPermissions()StringgetResourceId()StringgetResourceTypeCode()List<Site>getSites()Returns the list of sitesvoidsetDescription(String strDescription)Sets the DescriptionvoidsetId(int nId)Sets the IdvoidsetName(String strName)Sets the NamevoidsetPermissions(HashMap<String,Boolean> permissions)voidsetSites(List<Site> listSites)Sets the list of sites
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
PERMISSION_ADD_CLUSTER
public static final String PERMISSION_ADD_CLUSTER
- See Also:
- Constant Field Values
-
PERMISSION_MODIFY_CLUSTER
public static final String PERMISSION_MODIFY_CLUSTER
- See Also:
- Constant Field Values
-
PERMISSION_DELETE_CLUSTER
public static final String PERMISSION_DELETE_CLUSTER
- See Also:
- Constant Field Values
-
PERMISSION_ADD_SITES_TO_CLUSTER
public static final String PERMISSION_ADD_SITES_TO_CLUSTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public int getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id- Parameters:
nId- The Id
-
getName
public String getName()
Returns the Name- Returns:
- The Name
-
setName
public void setName(String strName)
Sets the Name- Parameters:
strName- The Name
-
getDescription
public String getDescription()
Returns the Description- Returns:
- The Description
-
setDescription
public void setDescription(String strDescription)
Sets the Description- Parameters:
strDescription- The Description
-
setSites
public void setSites(List<Site> listSites)
Sets the list of sites- Parameters:
listSites- The list of site
-
getResourceTypeCode
public String getResourceTypeCode()
- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceId
public String getResourceId()
- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
-