Class LockOperation<T>
- java.lang.Object
-
- org.apache.jackrabbit.oak.jcr.session.operation.SessionOperation<T>
-
- org.apache.jackrabbit.oak.jcr.lock.LockOperation<T>
-
- Type Parameters:
T
- return type of theperform()
method
public abstract class LockOperation<T> extends SessionOperation<T>
Abstract base class for locking operations.
-
-
Field Summary
Fields Modifier and Type Field Description protected SessionDelegate
session
-
Constructor Summary
Constructors Modifier Constructor Description protected
LockOperation(SessionContext context, String absPath, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
perform()
protected T
perform(@NotNull NodeDelegate node)
void
performVoid()
protected void
performVoid(@NotNull NodeDelegate node)
-
Methods inherited from class org.apache.jackrabbit.oak.jcr.session.operation.SessionOperation
checkPreconditions, isLogout, isRefresh, isSave, isUpdate, performNullable, toString
-
-
-
-
Field Detail
-
session
protected final SessionDelegate session
-
-
Constructor Detail
-
LockOperation
protected LockOperation(SessionContext context, String absPath, String name) throws PathNotFoundException
- Throws:
PathNotFoundException
-
-
Method Detail
-
perform
@NotNull public T perform() throws RepositoryException
- Overrides:
perform
in classSessionOperation<T>
- Throws:
RepositoryException
-
performVoid
public void performVoid() throws RepositoryException
- Overrides:
performVoid
in classSessionOperation<T>
- Throws:
RepositoryException
-
perform
@NotNull protected T perform(@NotNull @NotNull NodeDelegate node) throws RepositoryException
- Throws:
RepositoryException
-
performVoid
protected void performVoid(@NotNull @NotNull NodeDelegate node) throws RepositoryException
- Throws:
RepositoryException
-
-