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(@NotNull NodeDelegate node) |
void |
performVoid() |
protected void |
performVoid(@NotNull 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>@NotNull public T perform() throws RepositoryException
perform in class SessionOperation<T>RepositoryExceptionpublic void performVoid()
throws RepositoryException
performVoid in class SessionOperation<T>RepositoryException@NotNull protected T perform(@NotNull @NotNull NodeDelegate node) throws RepositoryException
RepositoryExceptionprotected void performVoid(@NotNull
@NotNull NodeDelegate node)
throws RepositoryException
RepositoryExceptionCopyright © 2012–2020 The Apache Software Foundation. All rights reserved.