T - return type of the perform() methodpublic abstract class LockOperation<T> extends SessionOperation<T>
| Modifier and Type | Field and Description |
|---|---|
protected SessionDelegate |
session |
| Modifier | Constructor and Description |
|---|---|
protected |
LockOperation(SessionContext context,
String absPath,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRefresh()
Return
true if this operation refreshed the transient space |
T |
perform() |
protected T |
perform(NodeDelegate node) |
void |
performVoid() |
protected void |
performVoid(NodeDelegate node) |
checkPreconditions, isLogout, isSave, isUpdate, performNullable, toStringprotected final SessionDelegate session
protected LockOperation(SessionContext context, String absPath, String name) throws javax.jcr.PathNotFoundException
javax.jcr.PathNotFoundExceptionpublic boolean isRefresh()
SessionOperationtrue if this operation refreshed the transient spaceisRefresh in class SessionOperation<T>@Nonnull public T perform() throws javax.jcr.RepositoryException
perform in class SessionOperation<T>javax.jcr.RepositoryExceptionpublic void performVoid()
throws javax.jcr.RepositoryException
performVoid in class SessionOperation<T>javax.jcr.RepositoryException@Nonnull protected T perform(@Nonnull NodeDelegate node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionprotected void performVoid(@Nonnull NodeDelegate node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2012-2019 The Apache Software Foundation. All Rights Reserved.