Class TransactionManager

java.lang.Object
com.aquima.interactions.foundation.tx.TransactionManager
All Implemented Interfaces:
Serializable

public class TransactionManager extends Object implements Serializable
The transaction manager is responsible for managing the active transactions.
Since:
6.5
Author:
O. Kerpershoek, N. van Noorloos
See Also:
  • Constructor Details

    • TransactionManager

      public TransactionManager(IRollbackContext rollbackContext)
  • Method Details

    • start

      public GUID start(String name, boolean mergeOnCommit)
    • commit

      public void commit(GUID txId)
    • rollback

      public void rollback(GUID txId)
    • add

      public void add(ITransactionalAction transaction)
    • getTransactions

      public ITransaction[] getTransactions()
    • restore

      public void restore(ITransaction[] transactions)