@AlfrescoPublicApi public enum LockType extends Enum<LockType>
The lock owner or the administrator can release the lock.
Enum Constant and Description |
---|
NODE_LOCK
Deprecated.
Deprecated in 4.1.6. Will be replaced by a more descriptive name.
|
READ_ONLY_LOCK
Deprecated.
Deprecated in 4.1.6. Will be replaced by a more descriptive name.
|
WRITE_LOCK
Deprecated.
Deprecated in 4.1.6. Will be replaced by a more descriptive name.
|
Modifier and Type | Method and Description |
---|---|
static LockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final LockType READ_ONLY_LOCK
No one can add children to the locked node.
@Deprecated public static final LockType WRITE_LOCK
@Deprecated public static final LockType NODE_LOCK
There are no restrictions on adding children to the locked node.
public static LockType[] values()
for (LockType c : LockType.values()) System.out.println(c);
public static LockType 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 © 2005–2017 Alfresco Software. All rights reserved.