public enum DistributionTypeByRole extends java.lang.Enum<DistributionTypeByRole>
Enum Constant and Description |
---|
ADMIN
Administrator type of user.
|
NORMAL
Ordinary users with PORTAL_USER, and do not have the ADMIN role.
|
VIEWER
Viewers with PORTAL_VIEWER, and do not have ADMIN and PORTAL_USER roles.
|
Modifier and Type | Method and Description |
---|---|
static DistributionTypeByRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistributionTypeByRole[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final DistributionTypeByRole ADMIN
public static final DistributionTypeByRole NORMAL
public static final DistributionTypeByRole VIEWER
public static DistributionTypeByRole[] values()
for (DistributionTypeByRole c : DistributionTypeByRole.values()) System.out.println(c);
public static DistributionTypeByRole 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 null