public abstract class BaseEngine extends java.lang.Object implements Dirtyable, Applyable
| Constructor and Description |
|---|
BaseEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Commit all pending changes for the context object
|
protected abstract void |
doApply() |
protected abstract void |
doRevert() |
boolean |
isDirty()
True if the data in the object has been modified.
|
void |
markDirty(boolean dirty)
Marks the data with the specified dirty state.
|
void |
revert()
Rollback all pending changes on the context object
|
public boolean isDirty()
Dirtyablepublic void markDirty(boolean dirty)
DirtyablemarkDirty(...) instead of
setDirty(...) so that the JavaBeans
Introspector will not
mistakenly identify "dirty" as a JavaBean property.public void apply()
Applyablepublic void revert()
Applyableprotected abstract void doApply()
protected abstract void doRevert()