Package org.alfresco.repo.lock
Class LockUtils
java.lang.Object
org.alfresco.repo.lock.LockUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisLockedAndReadOnly(NodeRef nodeRef, LockService lockService) Deprecated.use LockService.isLockedAndReadOnlystatic LockStatuslockStatus(String userName, String lockOwner, Date expiryDate) Deprecated.eventually move into LockService
-
Constructor Details
-
LockUtils
public LockUtils()
-
-
Method Details
-
isLockedAndReadOnly
Deprecated.use LockService.isLockedAndReadOnlyIndicates if the node is locked AND it's not a WRITE_LOCK for the current user. -
lockStatus
Deprecated.eventually move into LockServiceGiven the lock owner and expiry date of a lock calculates the lock status with respect to the user name supplied, e.g. the current user.- Parameters:
userName- User name to evaluate the lock against.lockOwner- Owner of the lock.expiryDate- Expiry date of the lock.- Returns:
- LockStatus
-