@UESComponent public interface TransactionManager
UESTransaction
.Modifier and Type | Method and Description |
---|---|
void |
commit(TransactionContext aTransactionContext)
Commit the given transaction, with regard to its status.
|
TransactionDefinition |
createDefinition()
Creates new transaction definition object with default values initialized depending
on particular implementation of transaction manager.
|
TransactionContext |
getTransaction(TransactionDefinition aTransactionDefinition)
Returns active transaction or creates new one based on given transaction definition.
|
void |
rollback(TransactionContext aTransactionContext)
Perform a rollback of the given transaction.
|
aTransactionDefinition
- Definition of transactionTransactionRTException
- In case creating of new transaction failsaTransactionContext
- Transaction context representing the new or current transactionTransactionRTException
- In case any of described operation failsaTransactionContext
- Transaction context representing the new or current transactionTransactionRTException
- In case any of described operation fails