134135136137138139140141142
lockedNodes.put(node.getInternalIdentifier(), lData); pendingLocks.add(node.getInternalIdentifier()); tokens.put(lockToken, lData.getTokenHash()); LockImpl lock = new CacheLockImpl(node.getSession(), lData, this); return lock; }
878879880881882883884885886887888
RepositoryException { checkValid(); LockImpl lock = session.getLockManager().getLock(this); if (lock == null) { throw new LockException("Lock not found " + getPath()); }
928929930931932933934935936937938
public Lock getLock() throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException, RepositoryException { checkValid(); LockImpl lock = session.getLockManager().getLock(this); if (lock == null) { throw new LockException("Lock not found " + getPath()); }
840841842843844845846847848849850
954955956957958959960961962963964
940941942943944945946947948949950
124125126127128129130131132133
lockedNodes.put(node.getInternalIdentifier(), lData); lockManager.addPendingLock(nodeIdentifier, lData); tokens.put(lockToken, lockTokenHash); LockImpl lock = new CacheLockImpl(node.getSession(), lData, this); return lock; }
955956957958959960961962963964965