public enum ViewManageOperation extends java.lang.Enum<ViewManageOperation> implements PermissionOperation
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
baseKey() |
static boolean |
isAccessible(ViewManageOperation operation)
Returns whether the given operation is accessible (view or manage) handles nulls (returning false)
|
static ViewManageOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViewManageOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewManageOperation NONE
public static final ViewManageOperation VIEW
public static final ViewManageOperation MANAGE
public static ViewManageOperation[] values()
for (ViewManageOperation c : ViewManageOperation.values()) System.out.println(c);
public static ViewManageOperation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static boolean isAccessible(ViewManageOperation operation)
public MessageKey baseKey()
baseKey in interface PermissionOperation