Interface TransactionManager


public interface TransactionManager
Transaction provides framework to keep consistent model after model modification. All model modifications during transaction is recorded and later these modifications are verified to check if they do not break model integrity.

Model verification and fixing must be implemented outside, and hooks must be passed to transaction.

Transaction can be read only - during such transaction no model modifications are allowed and any of model modification throws ReadOnlyModelException

Transaction managers offers three ways to attach the listeners.
1. Synchronize model changes - see addTransactionCommitListenerForExecute(TransactionCommitListener)
2. "Pseudo" synchronize model changes - see addTransactionCommitListener(TransactionCommitListener)
3. Regular transaction commit - see addTransactionCommitListenerIncludingUndoAndRedo(TransactionCommitListener).