static class TransactionManager.UndoableHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private TransactionManager.WorkArea |
wa
The
TransactionManager.WorkArea instance. |
| Constructor and Description |
|---|
UndoableHelper(TransactionManager.WorkArea wa)
Create a new instance and associate the given WorkArea instance.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorManager.ErrorHelper |
getErrorHelper()
Obtain the context-local error helper.
|
boolean |
processUndoables(boolean currentBlock)
Check if undoable can be processed.
|
int |
registerUndoable(LazyUndoable src)
Register the undoable with all transaction blocks (currently in the stack) started after
the given transaction level.
|
private TransactionManager.WorkArea wa
TransactionManager.WorkArea instance.public UndoableHelper(TransactionManager.WorkArea wa)
wa - The TransactionManager.WorkArea instance.public ErrorManager.ErrorHelper getErrorHelper()
public int registerUndoable(LazyUndoable src)
src - The undoable instance.TransactionManager.WorkArea.txNestingLevel.public boolean processUndoables(boolean currentBlock)
currentBlock - true to check only for the current block;
false to check only if a transaction has been started.true if undoable can be processed.