public class Cluster extends Object implements fr.paris.lutece.portal.service.rbac.RBACResource, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
PERMISSION_ADD_CLUSTER |
static String |
PERMISSION_ADD_SITES_TO_CLUSTER |
static String |
PERMISSION_DELETE_CLUSTER |
static String |
PERMISSION_MODIFY_CLUSTER |
static String |
RESOURCE_TYPE |
| Constructor and Description |
|---|
Cluster() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the Description
|
int |
getId()
Returns the Id
|
String |
getName()
Returns the Name
|
HashMap<String,Boolean> |
getPermissions() |
String |
getResourceId() |
String |
getResourceTypeCode() |
List<Site> |
getSites()
Returns the list of sites
|
void |
setDescription(String strDescription)
Sets the Description
|
void |
setId(int nId)
Sets the Id
|
void |
setName(String strName)
Sets the Name
|
void |
setPermissions(HashMap<String,Boolean> permissions) |
void |
setSites(List<Site> listSites)
Sets the list of sites
|
public static final String RESOURCE_TYPE
public static final String PERMISSION_ADD_CLUSTER
public static final String PERMISSION_MODIFY_CLUSTER
public static final String PERMISSION_DELETE_CLUSTER
public static final String PERMISSION_ADD_SITES_TO_CLUSTER
public int getId()
public void setId(int nId)
nId - The Idpublic String getName()
public void setName(String strName)
strName - The Namepublic String getDescription()
public void setDescription(String strDescription)
strDescription - The Descriptionpublic void setSites(List<Site> listSites)
listSites - The list of sitepublic String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResourceCopyright © 2023 City of Paris. All rights reserved.