public enum Permissions extends Enum<Permissions>
| Enum Constant and Description |
|---|
DENY_ACCESS
The user does not have the access to the document.
|
FULL_ACCESS
The user has the full access to the document.
|
READ_ONLY
The user has the read-only access to the document.
|
| Modifier and Type | Method and Description |
|---|---|
static Permissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permissions FULL_ACCESS
public static final Permissions READ_ONLY
public static final Permissions DENY_ACCESS
public static Permissions[] values()
for (Permissions c : Permissions.values()) System.out.println(c);
public static Permissions 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 © 2023–2024. All rights reserved.