public static enum PortalUser.Role extends java.lang.Enum<PortalUser.Role>
Modifier and Type | Method and Description |
---|---|
static PortalUser.Role |
get(java.lang.String a) |
java.lang.String |
getValue() |
static PortalUser.Role |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortalUser.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortalUser.Role NOT_SET
public static final PortalUser.Role ADMIN
public static final PortalUser.Role PUBLISHER
public static final PortalUser.Role USER
public static PortalUser.Role[] values()
for (PortalUser.Role c : PortalUser.Role.values()) System.out.println(c);
public static PortalUser.Role 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 java.lang.String getValue()
public static PortalUser.Role get(java.lang.String a)