public class BackOfficePermission extends UIPermission
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_CREATE_WORKSPACE |
static String |
ACTION_USE_FACTORY |
static String |
ACTION_USE_GRAPHIC_RESOURCES |
static String |
ACTION_USE_PERMISSIONS |
static List |
LIST_OF_ACTIONS
Actions supported by this permission.
|
protected static LocaleManager |
localeManager
The locale manager.
|
PERMISSION_DENIED, PERMISSION_GRANTED, PERMISSION_NOT_GRANTED
Constructor and Description |
---|
BackOfficePermission(String sectionPath,
String actions) |
Modifier and Type | Method and Description |
---|---|
static String |
getActionName(String action,
Locale locale) |
static BackOfficePermission |
getInstance(Principal prpal,
Object resource) |
static String |
getResourceName(Object resource) |
void |
grantAllActions() |
boolean |
implies(Permission p) |
static BackOfficePermission |
newInstance(Object resource,
String actions) |
String |
toString() |
acceptVisit, equals, getActionName, getPolicy, getRelatedPrincipal, isReadOnly, setReadOnly, setRelatedPrincipal
denyAction, getActions, getResourcePath, grantAction, hashCode, impliesOrDenies, isActionDenied, isActionGranted, isActionUndefined, isEmpty, newPermissionCollection, removeAction, setActions, setResourceName, toActionDeniedList, toActionGrantedList, toActionListString
checkGuard, getName
public static final String ACTION_USE_GRAPHIC_RESOURCES
public static final String ACTION_USE_PERMISSIONS
public static final String ACTION_USE_FACTORY
public static final String ACTION_CREATE_WORKSPACE
public static final List LIST_OF_ACTIONS
protected static LocaleManager localeManager
public static BackOfficePermission newInstance(Object resource, String actions)
public static BackOfficePermission getInstance(Principal prpal, Object resource)
public boolean implies(Permission p)
implies
in class DefaultPermission
public void grantAllActions()
public String toString()
toString
in class DefaultPermission
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.