Package com.aquima.interactions.profile
Interface ITransactionEvent
- All Superinterfaces:
IEvent
- All Known Implementing Classes:
TransactionEvent
This interface is used for events that are related to transactions. The interface defines method(s) to allow the
handler of the event to query information about the object that triggered the event.
- Since:
- 5.0
- Author:
- O. Kerpershoek, F. van der Meer
-
Method Summary
Modifier and TypeMethodDescriptionint
The level inside the transaction.A created transaction has a name, to enforce nested transactions to return to the desired level on a commit or rollback.Methods inherited from interface com.aquima.interactions.foundation.events.IEvent
getType, invokeEventHook
-
Method Details
-
getTransactionName
String getTransactionName()A created transaction has a name, to enforce nested transactions to return to the desired level on a commit or rollback.- Returns:
- The name of the transaction.
-
getTransactionLevel
int getTransactionLevel()The level inside the transaction. Just before the action is executed. At the first startTransaction this level will be 0, at the last commit action before all actions are committed the level will be 1.- Returns:
- Integer with the level of the transaction.
-