public static enum ObjectPermission.Type extends Enum<ObjectPermission.Type>
Enum Constant and Description |
---|
ADMINISTER
Change who has access to an object.
|
DELETE
Delete an object.
|
READ
Read data within an object.
|
UPDATE
Update data within an object.
|
Modifier and Type | Method and Description |
---|---|
static ObjectPermission.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectPermission.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectPermission.Type READ
public static final ObjectPermission.Type UPDATE
public static final ObjectPermission.Type DELETE
public static final ObjectPermission.Type ADMINISTER
public static ObjectPermission.Type[] values()
for (ObjectPermission.Type c : ObjectPermission.Type.values()) System.out.println(c);
public static ObjectPermission.Type 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 © 2017. All rights reserved.