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 PathNotFoundException
PathNotFoundExceptionpublic boolean isRefresh()
SessionOperationtrue if this operation refreshed the transient spaceisRefresh in class SessionOperation<T>@Nonnull public T perform() throws RepositoryException
perform in class SessionOperation<T>RepositoryExceptionpublic void performVoid()
throws RepositoryException
performVoid in class SessionOperation<T>RepositoryException@Nonnull protected T perform(@Nonnull NodeDelegate node) throws RepositoryException
RepositoryExceptionprotected void performVoid(@Nonnull NodeDelegate node) throws RepositoryException
RepositoryExceptionCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.