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, toString
protected final SessionDelegate session
protected LockOperation(SessionContext context, String absPath, String name) throws PathNotFoundException
PathNotFoundException
public boolean isRefresh()
SessionOperation
true
if this operation refreshed the transient spaceisRefresh
in class SessionOperation<T>
@Nonnull public T perform() throws RepositoryException
perform
in class SessionOperation<T>
RepositoryException
public void performVoid() throws RepositoryException
performVoid
in class SessionOperation<T>
RepositoryException
@Nonnull protected T perform(@Nonnull NodeDelegate node) throws RepositoryException
RepositoryException
protected void performVoid(@Nonnull NodeDelegate node) throws RepositoryException
RepositoryException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.