public static enum Document.LockMode extends Enum<Document.LockMode>
| Enum Constant and Description |
|---|
Hard
Hard lock can only be set if Master Locking Server is available
|
HardOrProvisional
Try to create a hard lock; if Master Locking Server is not available, use a provisional lock
|
Provisional
Provisional lock can be set if Master Locking Server is not available
|
| Modifier and Type | Method and Description |
|---|---|
static Document.LockMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.LockMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Document.LockMode Hard
public static final Document.LockMode HardOrProvisional
public static final Document.LockMode Provisional
public static Document.LockMode[] values()
for (Document.LockMode c : Document.LockMode.values()) System.out.println(c);
public static Document.LockMode 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 © 2019–2021 HCL. All rights reserved.