public class LockUtils extends Object
Constructor and Description |
---|
LockUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isLockedAndReadOnly(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockService lockService)
Deprecated.
use LockService.isLockedAndReadOnly
|
static LockStatus |
lockStatus(String userName,
String lockOwner,
Date expiryDate)
Deprecated.
eventually move into LockService
|
public static boolean isLockedAndReadOnly(org.alfresco.service.cmr.repository.NodeRef nodeRef, LockService lockService)
public static LockStatus lockStatus(String userName, String lockOwner, Date expiryDate)
userName
- User name to evaluate the lock against.lockOwner
- Owner of the lock.expiryDate
- Expiry date of the lock.Copyright © 2005–2017 Alfresco Software. All rights reserved.