| Modifier and Type | Method and Description |
|---|---|
Lock |
acquireLock(javax.jcr.Session session,
String path,
boolean deep)
Acquires a lock on the node at the given path.
|
Lock |
getLock(javax.jcr.Session session,
String path)
Gets the lock at the given path.
|
void |
releaseLock(javax.jcr.Session session,
String path)
Releases the lock on the node at the given path.
|
exists, setRepositoryLock acquireLock(javax.jcr.Session session, String path, boolean deep) throws javax.jcr.RepositoryException
session - the session wishing to lock the node/subgraphpath - the path to be affecteddeep - if true, indicates that the entire subgraph starting
at the given path is to be lockedjavax.jcr.RepositoryExceptionLock getLock(javax.jcr.Session session, String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionvoid releaseLock(javax.jcr.Session session,
String path)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.