public enum ACEType extends Enum<ACEType>
Enum Constant and Description |
---|
ALL
ACE applies to the object and its children
|
CHILDREN
ACE only applies to children
|
OBJECT
ACE applies to the object only
|
Modifier and Type | Method and Description |
---|---|
static ACEType |
getACETypeFromId(int id)
Get the ACEType from the value stored in the DB.
|
abstract int |
getId()
Get the id for the ACEType stored in the DB.
|
static ACEType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ACEType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ACEType ALL
public static final ACEType OBJECT
public static final ACEType CHILDREN
public static ACEType[] values()
for (ACEType c : ACEType.values()) System.out.println(c);
public static ACEType 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 ACEType getACETypeFromId(int id)
id
- intCopyright © 2005–2017 Alfresco Software. All rights reserved.