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