org.alfresco.service.cmr.avm.locking
Class AVMLockingService.LockState

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.service.cmr.avm.locking.AVMLockingService.LockState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing interface:
AVMLockingService

public static final class AVMLockingService.LockState
extends java.lang.Enum

Enumeration of the state of a lock's with respect to a specific user.

Since:
3.4
See Also:
Serialized Form

Field Summary
static AVMLockingService.LockState LOCK_NOT_OWNER
          Another user holds the lock
static AVMLockingService.LockState LOCK_OWNER
          The user holds the lock
static AVMLockingService.LockState NO_LOCK
          There is currently no lock
 
Method Summary
static AVMLockingService.LockState valueOf(java.lang.String name)
           
static AVMLockingService.LockState[] 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

LOCK_OWNER

public static final AVMLockingService.LockState LOCK_OWNER
The user holds the lock


LOCK_NOT_OWNER

public static final AVMLockingService.LockState LOCK_NOT_OWNER
Another user holds the lock


NO_LOCK

public static final AVMLockingService.LockState NO_LOCK
There is currently no lock

Method Detail

values

public static AVMLockingService.LockState[] values()

valueOf

public static AVMLockingService.LockState valueOf(java.lang.String name)


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