public interface ActionRecordManager extends RecordManager
NAME_DIRECTORY_ROOT
Modifier and Type | Method and Description |
---|---|
void |
abortAction(ActionContext context)
Aborts the given action.
|
ActionContext |
beginAction(boolean readOnly,
String whoStarted)
Initializes the context for the action.
|
void |
endAction(ActionContext context)
Ends the action associated with the context.
|
void |
setCurrentActionContext(ActionContext context)
Set the context as the current action context for
the given thread
|
void |
unsetCurrentActionContext(ActionContext context)
Unsets the context as the current action context.
|
close, commit, delete, fetch, fetch, getNamedObject, getRoot, getRootCount, insert, insert, rollback, setNamedObject, setRoot, update, update
ActionContext beginAction(boolean readOnly, String whoStarted)
readOnly
- true if action does not do any modificationwhoStarted
- caller can use this for debuggingvoid endAction(ActionContext context)
context
- identifies the action to endvoid abortAction(ActionContext context)
context
- identifies the action to abortvoid setCurrentActionContext(ActionContext context)
context
- identifies the contextvoid unsetCurrentActionContext(ActionContext context)
context
- identifies the context.Copyright © 2017. All rights reserved.