Class RBACRole
java.lang.Object
fr.paris.lutece.portal.business.rbac.RBACRole
- All Implemented Interfaces:
fr.paris.lutece.api.user.UserRole,Serializable
- Direct Known Subclasses:
AdminRole
This class describes a role used by the administration
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the role description.getKey()Returns the role KeyvoidsetDescription(String strDescription) Sets the role descriptionvoidSets the role key
-
Constructor Details
-
RBACRole
public RBACRole()Constructor -
RBACRole
Constructor- Parameters:
strKey- The KeystrDescription- The description
-
-
Method Details
-
getKey
Returns the role Key- Specified by:
getKeyin interfacefr.paris.lutece.api.user.UserRole- Returns:
- The role Key.
-
setKey
Sets the role key- Specified by:
setKeyin interfacefr.paris.lutece.api.user.UserRole- Parameters:
strKey- The Key to set.
-
getDescription
Returns the role description.- Specified by:
getDescriptionin interfacefr.paris.lutece.api.user.UserRole- Returns:
- The description.
-
setDescription
Sets the role description- Specified by:
setDescriptionin interfacefr.paris.lutece.api.user.UserRole- Parameters:
strDescription- The description to set.
-