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 SessionDelegatesession
-
Constructor Summary
Constructors Modifier Constructor Description protectedLockOperation(SessionContext context, String absPath, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tperform()protected Tperform(@NotNull NodeDelegate node)voidperformVoid()protected voidperformVoid(@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:
performin classSessionOperation<T>- Throws:
RepositoryException
-
performVoid
public void performVoid() throws RepositoryException- Overrides:
performVoidin 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
-
-