public enum DocumentAccess extends java.lang.Enum<DocumentAccess>
What level of document access is required for an existing document based on the Notes ACL
| Enum Constant and Description |
|---|
DELETE
May delete the document
|
READ
Requester can read the document, Barbican decides what fields
|
WRITE
Requester can update the document, Barbican decides what fields
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentAccess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentAccess READ
public static final DocumentAccess WRITE
public static final DocumentAccess DELETE
public static DocumentAccess[] values()
for (DocumentAccess c : DocumentAccess.values()) System.out.println(c);
public static DocumentAccess 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