public enum Grant extends java.lang.Enum<Grant>
BaasObject
.Enum Constant and Description |
---|
ALL
Permission to take any operation
on the object.
|
DELETE
Delete permission
|
READ
Read permission
|
UPDATE
Update permission
|
Modifier and Type | Method and Description |
---|---|
static Grant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Grant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Grant READ
public static final Grant UPDATE
public static final Grant DELETE
public static final Grant ALL
public static Grant[] values()
for (Grant c : Grant.values()) System.out.println(c);
public static Grant 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