mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Lock implementation was listening for beforeUpdateNode on the parent node.
We no longer raise update calls for the parent nodes, so this had to move to onBeforeCreateChildAssociation. The node service was calling oncreateNodeAssociation, instead of the correct child association behaviour. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -236,11 +236,12 @@ public interface LockService
|
||||
/**
|
||||
* Checks to see if the node is locked or not. Gets the user reference from the current
|
||||
* session.
|
||||
* <p>
|
||||
* Throws a NodeLockedException based on the lock status of the lock, the user ref and the
|
||||
* lock type.
|
||||
*
|
||||
* @param nodeRef the node reference
|
||||
* @param nodeRef the node reference
|
||||
*
|
||||
* @throws NodeLockedException
|
||||
* thrown if the node is locked. This is based on the lock status of the lock,
|
||||
* the user ref and the lock type.
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"nodeRef"})
|
||||
public void checkForLock(NodeRef nodeRef);
|
||||
|
Reference in New Issue
Block a user