public abstract class SessionOperation<T> extends Object
SessionOperation
provides an execution context for executing session scoped operations.Modifier | Constructor and Description |
---|---|
protected |
SessionOperation(String name) |
protected |
SessionOperation(String name,
boolean update) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected SessionOperation(String name, boolean update)
protected SessionOperation(String name)
public boolean isUpdate()
true
if this operation updates the the transientpublic boolean isRefresh()
true
if this operation refreshed the transient spacepublic boolean isSave()
public boolean isLogout()
public void checkPreconditions() throws RepositoryException
RepositoryException
public abstract T perform() throws RepositoryException
RepositoryException
Copyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.