public static enum KeepJnxSession.DocumentScope extends java.lang.Enum<KeepJnxSession.DocumentScope>
Options to deal with getDocumentbyXX(…) to allow inclusion or exclusion of deleted documents. Mostly relevant in PIM where users mistake their Trash folder for a storage facility
Enum Constant and Description |
---|
INCLUDE_DELETED
Return current and (soft) deleted documents
|
UNDELETE_IF_FOUND
Include (soft) deleted documents and undelete them if found
|
VALID_DOCUMENTS_ONLY
Only return valid documents
|
Modifier and Type | Method and Description |
---|---|
static KeepJnxSession.DocumentScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeepJnxSession.DocumentScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeepJnxSession.DocumentScope INCLUDE_DELETED
public static final KeepJnxSession.DocumentScope VALID_DOCUMENTS_ONLY
public static final KeepJnxSession.DocumentScope UNDELETE_IF_FOUND
public static KeepJnxSession.DocumentScope[] values()
for (KeepJnxSession.DocumentScope c : KeepJnxSession.DocumentScope.values()) System.out.println(c);
public static KeepJnxSession.DocumentScope 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