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

public interface ITransactionalAction extends Serializable
The implementor of this interface is capable of undoing an action.
Since:
6.5
Author:
O. Kerpershoek
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a deep copy of the transaction.
    void
    Performs a roll-back on the current (sub)transaction.
  • Method Details

    • rollback

      void rollback(IRollbackContext context)
      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

      Returns a deep copy of the transaction.
      Returns:
      The copied action.