Class Permission
java.lang.Object
fr.paris.lutece.portal.service.rbac.Permission
- All Implemented Interfaces:
Localizable
This class defines the permission element for resource control
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidImplements LocalizablevoidsetPermissionKey(String strPermissionKey) Sets the permissionvoidsetPermissionTitleKey(String strPermissionTitle) Sets the permission title
-
Constructor Details
-
Permission
public Permission()
-
-
Method Details
-
setLocale
Implements Localizable- Specified by:
setLocalein interfaceLocalizable- Parameters:
locale- The current locale
-
getPermissionKey
- Returns:
- Returns the Permission Key.
-
setPermissionKey
Sets the permission- Parameters:
strPermissionKey- The Permission Key to set.
-
getPermissionTitle
- Returns:
- Returns the Permission Title.
-
setPermissionTitleKey
Sets the permission title- Parameters:
strPermissionTitle- The Permission Title to set.
-