public enum PermissionLevel extends Enum<PermissionLevel>
| Enum Constant and Description |
|---|
DS_ADMIN |
GUEST |
IS_ADMIN |
SUPER_ADMIN |
USER |
WF_ADMIN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetails() |
String |
getLabel() |
static PermissionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionLevel SUPER_ADMIN
public static final PermissionLevel DS_ADMIN
public static final PermissionLevel WF_ADMIN
public static final PermissionLevel IS_ADMIN
public static final PermissionLevel USER
public static final PermissionLevel GUEST
public static PermissionLevel[] values()
for (PermissionLevel c : PermissionLevel.values()) System.out.println(c);
public static PermissionLevel 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 String getLabel()
public String getDetails()
Copyright © 2017. All rights reserved.