org.alfresco.repo.domain.locks
Class LockDetails.LockType

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.repo.domain.locks.LockDetails.LockType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
LockDetails

public static final class LockDetails.LockType
extends java.lang.Enum

The type of lock

Since:
3.2
See Also:
Serialized Form

Field Summary
static LockDetails.LockType EXCLUSIVE
          A lock held by a specific transaction.
static LockDetails.LockType SHARED
          A lock that may be held by several transactions when no exclusive lock is held for the same qualified name.
 
Method Summary
static LockDetails.LockType valueOf(java.lang.String name)
           
static LockDetails.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

EXCLUSIVE

public static final LockDetails.LockType EXCLUSIVE
A lock held by a specific transaction. No other (exclusive or shared) locks may be held for the same qualified name.


SHARED

public static final LockDetails.LockType SHARED
A lock that may be held by several transactions when no exclusive lock is held for the same qualified name.

Method Detail

values

public static LockDetails.LockType[] values()

valueOf

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


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