Interface TopiaTransactionAware


public interface TopiaTransactionAware
Deprecated.
This is probably not useful anymore.
Use this contract on a object which use a TopiaContext as a transaction. The method getTransaction() returns the internal transaction used. the method setTransaction(TopiaTransaction) put the internal transaction.
Since:
2.6.1
Author:
Tony Chemit - chemit@codelutin.com
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Obtains the internal transaction.
    void
    Deprecated.
    Put in the instance, the given transaction.
  • Method Details

    • getTransaction

      TopiaTransaction getTransaction()
      Deprecated.
      Obtains the internal transaction. If no transaction was opened, can return the null object.
      Returns:
      the current transaction (can be null or closed...).
    • setTransaction

      void setTransaction(TopiaTransaction transaction)
      Deprecated.
      Put in the instance, the given transaction.
      Parameters:
      transaction - the transaction to push