package org.alfresco.service.cmr.lock;
import org.alfresco.api.AlfrescoPublicApi;
/**
* Used to indicate lock status.
*
*
* - NO_LOCK - Indicates that there is no lock present
* - LOCKED - Indicates that the node is locked by somebody else
* - LOCK_OWNER - Indicates that the node is locked and the current user has lock ownership rights
* - LOCK_EXPIRED - Indicates that the lock has expired and the node can be considered to be unlocked
*
*
* @author Roy Wetherall
*/
@AlfrescoPublicApi
public enum LockStatus
{
/**
* Indicates that there is no lock present
*/
NO_LOCK,
/**
* Indicates that the node is locked
*/
LOCKED,
/**
* Indicates that the node is locked and you have lock ownership rights
*/
LOCK_OWNER,
/**
* Indicates that the lock has expired and the node can be considered to be unlocked
*/
LOCK_EXPIRED
}