public class RBAC extends Object implements Localizable
Modifier and Type | Field and Description |
---|---|
static String |
WILDCARD_PERMISSIONS_KEY |
static String |
WILDCARD_RESOURCES_ID |
Constructor and Description |
---|
RBAC() |
Modifier and Type | Method and Description |
---|---|
String |
getPermissionKey()
Returns the Permission Key
|
String |
getPermissionLabel()
Retrieve the label of the permission from the permission key
|
int |
getRBACId()
Returns the RBAC ID
|
String |
getResourceId()
Returns the Resource Id
|
String |
getResourceIdLabel()
Retrieve the label of the resource from the resource id
|
String |
getResourceTypeKey()
Returns the Resource Type Key
|
String |
getResourceTypeLabel()
Retrieve the label of the resource type from the resource type key
|
String |
getRoleKey()
Returns the Role Key.
|
void |
setLocale(Locale locale)
Implements Localizable
|
void |
setPermissionKey(String strPermissionKey)
Sets the Permission Key
|
void |
setRBACId(int nRBACId)
Sets the RBAC ID
|
void |
setResourceId(String strResourceId)
Sets the Resource Id
|
void |
setResourceTypeKey(String strResourceTypeKey)
Sets the Resource Type Key
|
void |
setRoleKey(String strRoleKey)
Sets the Role Key
|
public static final String WILDCARD_RESOURCES_ID
public static final String WILDCARD_PERMISSIONS_KEY
public void setLocale(Locale locale)
setLocale
in interface Localizable
locale
- The current localepublic int getRBACId()
public void setRBACId(int nRBACId)
nRBACId
- The RBAC Id to setpublic String getPermissionKey()
public void setPermissionKey(String strPermissionKey)
strPermissionKey
- The Permission Key to setpublic String getResourceId()
public void setResourceId(String strResourceId)
strResourceId
- The Resource Id to setpublic String getResourceTypeKey()
public void setResourceTypeKey(String strResourceTypeKey)
strResourceTypeKey
- The Resource Type Key to set.public String getRoleKey()
public void setRoleKey(String strRoleKey)
strRoleKey
- The Role Key to set.public String getResourceTypeLabel()
public String getResourceIdLabel()
public String getPermissionLabel()
Copyright © 2020 City of Paris. All rights reserved.