public class Role extends Object implements fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_TYPE |
| Constructor and Description |
|---|
Role() |
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceId()
RBAC resource implmentation
|
String |
getResourceTypeCode()
RBAC resource implmentation
|
String |
getRole()
Gets the role name
|
String |
getRoleDescription()
Gets the role description
|
String |
getWorkgroup()
Get workgroup key
|
void |
setRole(String strRole)
Sets the role name
|
void |
setRoleDescription(String strRoleDescription)
Sets the role description
|
void |
setWorkgroup(String strWorkgroupKey)
Set workgroup key
|
public static final String RESOURCE_TYPE
public String getRole()
public void setRole(String strRole)
strRole - the role namepublic String getRoleDescription()
public void setRoleDescription(String strRoleDescription)
strRoleDescription - the role descriptionpublic String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic String getWorkgroup()
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResourcepublic void setWorkgroup(String strWorkgroupKey)
strWorkgroupKey - workgroup keyCopyright © 2020 City of Paris. All rights reserved.