|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is implemented by classes that provide transactional support. In the context of XMA, transactional support does mean: Changes may be applied to a Transactional. These changes may be undone via rollback or committed via commit.
The states where no changes have been accumulated yet are called syncpoints. Syncpoints are construction (where the change list is trivially empty) and the states immediately after a rollback or commit call.
| Method Summary | |
boolean |
changed()
Yields true if this WidgetModel has changed since the last syncpoint. |
void |
commit()
This method clears the change history. |
void |
rollback()
This method restores this Widget Model to its last syncpoint (which also becomes the new syncpoint). |
| Method Detail |
public boolean changed()
public void rollback()
public void commit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||