org.alfresco.service.cmr.lock
Class LockType
java.lang.Object
java.lang.Enum
org.alfresco.service.cmr.lock.LockType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public final class LockType
- extends java.lang.Enum
The type of lock to be used by the lock service
The lock owner or the administrator can release the lock.
- NODE_LOCK - no-one can update or delete the locked node.
- READ_ONLY_LOCK - no-one can update or delete the locked node. No one can add children to the locked node
- WRITE_LOCK - the owner can update or delete the locked node. The owner can add children to the locked node
- See Also:
- Serialized Form
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
READ_ONLY_LOCK
public static final LockType READ_ONLY_LOCK
WRITE_LOCK
public static final LockType WRITE_LOCK
NODE_LOCK
public static final LockType NODE_LOCK
values
public static LockType[] values()
valueOf
public static LockType valueOf(java.lang.String name)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.