public class LockUtils
extends java.lang.Object
| Constructor and Description |
|---|
LockUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isLockedOrReadOnly(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockService lockService)
Indicates if the node is unlocked or the current user has a WRITE_LOCK
|
public static boolean isLockedOrReadOnly(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockService lockService)
Ideally this would be a new method on the lockService, but cannot do this at the moment, as this method is being added as part of a hot fix, so a public service cannot change as the RM AMP might be installed and it has its own security context which would also need to reflect this change.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.