public class ActionContext
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
readOnly
track whether action is read only
|
(package private) ActionVersioning.Version |
version
Version associated with the context
|
(package private) java.lang.String |
whoStarted
Who started the action.
|
| Constructor and Description |
|---|
ActionContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginAction(boolean readOnly,
ActionVersioning.Version version,
java.lang.String whoStarted) |
void |
endAction() |
ActionVersioning.Version |
getVersion() |
java.lang.String |
getWhoStarted() |
boolean |
isActive() |
boolean |
isReadOnlyAction() |
boolean |
isWriteAction() |
java.lang.String |
toString() |
boolean readOnly
ActionVersioning.Version version
java.lang.String whoStarted
public void beginAction(boolean readOnly,
ActionVersioning.Version version,
java.lang.String whoStarted)
public void endAction()
public boolean isReadOnlyAction()
public boolean isWriteAction()
public boolean isActive()
public ActionVersioning.Version getVersion()
public java.lang.String getWhoStarted()
public java.lang.String toString()
toString in class java.lang.Object