org.alfresco.service.cmr.lock
Class LockType

java.lang.Object
  extended by java.lang.Enum
      extended by 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.

See Also:
Serialized Form

Field Summary
static LockType NODE_LOCK
           
static LockType READ_ONLY_LOCK
           
static LockType WRITE_LOCK
           
 
Method Summary
static LockType valueOf(java.lang.String name)
           
static LockType[] values()
           
 
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
 

Field Detail

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
Method Detail

values

public static LockType[] values()

valueOf

public static LockType valueOf(java.lang.String name)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.