mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
REPO-164 / REPO-1086 - V1 REST API: Lock Node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -101,6 +101,17 @@ public class VirtualLockServiceExtension extends SpringBeanExtension<LockService
|
||||
lockChildren);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void lock(NodeRef nodeRef, LockType lockType, int timeToExpire, Lifetime lifetime, boolean lockChildren)
|
||||
throws UnableToAquireLockException
|
||||
{
|
||||
getTrait().lock(smartStore.materializeIfPossible(nodeRef),
|
||||
lockType,
|
||||
timeToExpire,
|
||||
lifetime,
|
||||
lockChildren);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void lock(Collection<NodeRef> nodeRefs, LockType lockType, int timeToExpire)
|
||||
throws UnableToAquireLockException
|
||||
|
Reference in New Issue
Block a user