public enum ViewCustomizationPermission extends Enum<ViewCustomizationPermission> implements ValueEnum<Integer>
| Enum Constant and Description |
|---|
CAN_CUSTOMIZE |
CAN_SHARE |
NOT_ALLOWED |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getValue()
Get the value.
|
static ViewCustomizationPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewCustomizationPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewCustomizationPermission NOT_ALLOWED
public static final ViewCustomizationPermission CAN_CUSTOMIZE
public static final ViewCustomizationPermission CAN_SHARE
public static ViewCustomizationPermission[] values()
for (ViewCustomizationPermission c : ViewCustomizationPermission.values()) System.out.println(c);
public static ViewCustomizationPermission 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 null