Class Role
- java.lang.Object
-
- fr.paris.lutece.portal.business.role.Role
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource,fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public class Role extends Object implements fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
This class represents business objects role
-
-
Field Summary
Fields Modifier and Type Field Description static StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetResourceId()RBAC resource implmentationStringgetResourceTypeCode()RBAC resource implmentationStringgetRole()Gets the role nameStringgetRoleDescription()Gets the role descriptionStringgetWorkgroup()Get workgroup keyvoidsetRole(String strRole)Sets the role namevoidsetRoleDescription(String strRoleDescription)Sets the role descriptionvoidsetWorkgroup(String strWorkgroupKey)Set workgroup key
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRole
public String getRole()
Gets the role name- Returns:
- the role name
-
setRole
public void setRole(String strRole)
Sets the role name- Parameters:
strRole- the role name
-
getRoleDescription
public String getRoleDescription()
Gets the role description- Returns:
- the role description
-
setRoleDescription
public void setRoleDescription(String strRoleDescription)
Sets the role description- Parameters:
strRoleDescription- the role description
-
getResourceTypeCode
public String getResourceTypeCode()
RBAC resource implmentation- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resource type code
-
getResourceId
public String getResourceId()
RBAC resource implmentation- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resourceId
-
getWorkgroup
public String getWorkgroup()
Get workgroup key- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- workgroup key
-
setWorkgroup
public void setWorkgroup(String strWorkgroupKey)
Set workgroup key- Parameters:
strWorkgroupKey- workgroup key
-
-