Interface ITransactionalAction
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ITransaction
- All Known Implementing Classes:
AbortFlow
,AddValue
,ChangeAttributeProperty
,ChangeEntityProperty
,ChangeValue
,ClearValue
,CompleteFlow
,CreateInstance
,DeleteInstance
,PushActiveInstance
,RemoveValue
,SetValue
,StartFlow
,Transaction
The implementor of this interface is capable of undoing an action.
- Since:
- 6.5
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionReturns a deep copy of the transaction.void
rollback
(IRollbackContext context) Performs a roll-back on the current (sub)transaction.
-
Method Details
-
rollback
Performs a roll-back on the current (sub)transaction.- Parameters:
context
- the rollback context- Throws:
AppException
- This exception is thrown when the transaction could not be rolled back.
-
duplicate
ITransactionalAction duplicate()Returns a deep copy of the transaction.- Returns:
- The copied action.
-