|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.oak.jcr.session.operation.SessionOperation<T>
public abstract class SessionOperation<T>
A SessionOperation
provides an execution context for executing session scoped operations.
SessionDelegate.perform(SessionOperation)
Constructor Summary | |
---|---|
protected |
SessionOperation(String name)
|
protected |
SessionOperation(String name,
boolean update)
|
Method Summary | |
---|---|
void |
checkPreconditions()
|
boolean |
isLogout()
|
boolean |
isRefresh()
Return true if this operation refreshed the transient space |
boolean |
isSave()
|
boolean |
isUpdate()
Returns true if this operation updates the the transient |
abstract T |
perform()
|
String |
toString()
Provide details about the operation being performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected SessionOperation(String name, boolean update)
protected SessionOperation(String name)
Method Detail |
---|
public boolean isUpdate()
true
if this operation updates the the transient
public boolean isRefresh()
true
if this operation refreshed the transient space
public boolean isSave()
public boolean isLogout()
public void checkPreconditions() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public abstract T perform() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |