875876877878879880881882883884885
RepositoryException { checkValid(); LockImpl lock = session.getLockManager().getLock(this); if (lock == null) { throw new LockException("Lock not found " + getPath()); }
840841842843844845846847848849850
954955956957958959960961962963964
923924925926927928929930931932933
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()); }
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; }
928929930931932933934935936937938
913914915916917918919920921922923
RepositoryException { checkValid(); LockImpl lock = session.getLockManager().getLock(this); if (lock == null) throw new LockException("Lock not found " + getPath()); return lock; }