public enum ACLType extends Enum<ACLType>
Enum Constant and Description |
---|
DEFINING
Defining permission - not reused anywhere
|
FIXED
An ACL defined in its own right - there is no inheriance context
|
GLOBAL
A single instance for global permissions
|
LAYERED
Layered types
|
OLD
Old style permissions that require a parent wlak to resolve
|
SHARED
Shared permission, reused for inhertiance from defining permission
|
Modifier and Type | Method and Description |
---|---|
static ACLType |
getACLTypeFromId(int id)
Get the ACLType from the value stored in the DB
|
abstract int |
getId()
Get the id for the ACLType stored in the DB
|
static ACLType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ACLType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ACLType OLD
public static final ACLType DEFINING
public static final ACLType SHARED
public static final ACLType FIXED
public static final ACLType GLOBAL
public static final ACLType LAYERED
public static ACLType[] values()
for (ACLType c : ACLType.values()) System.out.println(c);
public static ACLType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract int getId()
public static ACLType getACLTypeFromId(int id)
id
- intCopyright © 2005–2017 Alfresco Software. All rights reserved.