@Component(value="cuba_PermissionConfig")
public class PermissionConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PERMISSION_CONFIG_XML_PROP |
Constructor and Description |
---|
PermissionConfig() |
Modifier and Type | Method and Description |
---|---|
void |
clearConfigCache() |
ClientType |
getClientType() |
java.util.List<OperationPermissionTarget> |
getEntities(java.util.Locale locale)
All registered entities
|
java.util.List<MultiplePermissionTarget> |
getEntityAttributes(java.util.Locale locale)
All registered entities with attributes
|
Tree<BasicPermissionTarget> |
getScreens(java.util.Locale locale)
All registered screens
|
Tree<BasicPermissionTarget> |
getSpecific(java.util.Locale locale)
All specific permissions
|
public static final java.lang.String PERMISSION_CONFIG_XML_PROP
public ClientType getClientType()
public Tree<BasicPermissionTarget> getScreens(java.util.Locale locale)
locale
- Localepublic java.util.List<OperationPermissionTarget> getEntities(java.util.Locale locale)
locale
- Localepublic java.util.List<MultiplePermissionTarget> getEntityAttributes(java.util.Locale locale)
locale
- Localepublic Tree<BasicPermissionTarget> getSpecific(java.util.Locale locale)
locale
- Localepublic void clearConfigCache()