public static enum DocumentLockInfosProvider.LockStatus extends Enum<DocumentLockInfosProvider.LockStatus>
| Enum Constant and Description |
|---|
can_lock
Default state : can lock
|
can_unlock
Can uunlock
|
locked
a lock is set and is not removable by this user
|
no_lock
No lock avaliable (proxies, versions, ...)
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentLockInfosProvider.LockStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentLockInfosProvider.LockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentLockInfosProvider.LockStatus can_lock
public static final DocumentLockInfosProvider.LockStatus can_unlock
public static final DocumentLockInfosProvider.LockStatus locked
public static final DocumentLockInfosProvider.LockStatus no_lock
public static DocumentLockInfosProvider.LockStatus[] values()
for (DocumentLockInfosProvider.LockStatus c : DocumentLockInfosProvider.LockStatus.values()) System.out.println(c);
public static DocumentLockInfosProvider.LockStatus 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 © 2020. All rights reserved.