public enum PermissionRequestType extends Enum<PermissionRequestType>
Enum Constant and Description |
---|
COMMENT
Comment
|
NONE
used to make sure ordinal in db starts from 1
|
PRINT
Print
|
TIME_EXTENSION
Time extension
|
VIEW
View
|
Modifier and Type | Method and Description |
---|---|
static PermissionRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionRequestType NONE
public static final PermissionRequestType VIEW
public static final PermissionRequestType TIME_EXTENSION
public static final PermissionRequestType PRINT
public static final PermissionRequestType COMMENT
public static PermissionRequestType[] values()
for (PermissionRequestType c : PermissionRequestType.values()) System.out.println(c);
public static PermissionRequestType 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 nullCopyright © 2019. All rights reserved.