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