public interface OnSaveAction extends Action
AbstractOnSaveActionclass since we may add more callback methods to this interface in the future.
onSave() method is called first and then either
onRollback(Exception). Note that
is called for all exceptions, even if they happen before the
method has been called.
|Modifier and Type||Method and Description|
This event is fired after a successful commit.
This event is fired after an error that caused the save action to rollback.
This event is fired first to let the action do something with the current item.
void onRollback(java.lang.Exception ex)
ex- The exception that caused the transaction to rollback