org.apache.jackrabbit.oak.jcr.lock
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 the perform()
method
public abstract class LockOperation<T>
- extends SessionOperation<T>
Abstract base class for locking operations.
session
protected final SessionDelegate session
LockOperation
protected LockOperation(SessionDelegate session,
NodeDelegate node,
String name)
LockOperation
protected LockOperation(SessionContext context,
String absPath,
String name)
throws javax.jcr.PathNotFoundException
- Throws:
javax.jcr.PathNotFoundException
isRefresh
public boolean isRefresh()
- Description copied from class:
SessionOperation
- Return
true
if this operation refreshed the transient space
- Overrides:
isRefresh
in class SessionOperation<T>
perform
public T perform()
throws javax.jcr.RepositoryException
- Specified by:
perform
in class SessionOperation<T>
- Throws:
javax.jcr.RepositoryException
perform
protected abstract T perform(NodeDelegate node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.