public enum AccessLevel extends Enum<AccessLevel>
NONE- neither grants, nor forbids access.
VIEW- grants access to the page in read-only mode.
EDIT- grants access to the page in edit mode: some operations are permitted (depending on the type of page), but at least modifying the Groovy source code of the page is forbidden.
DEVELOP- grants every permissions except those reserved for the administrator (superuser), including that of editing the Groovy source code of the page.
DENY- denies access to the page.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final AccessLevel NONE
public static final AccessLevel VIEW
public static final AccessLevel EDIT
public static final AccessLevel DEVELOP
public static final AccessLevel DENY
public static AccessLevel values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel valueOf(String name)
public boolean isGreaterThanOrEqual(AccessLevel accessLevel)