Package org.nuiton.topia.persistence
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 TypeMethodDescriptionDeprecated.Obtains the internal transaction.voidsetTransaction(TopiaTransaction transaction) 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 thenullobject.- Returns:
- the current transaction (can be null or closed...).
-
setTransaction
Deprecated.Put in the instance, the given transaction.- Parameters:
transaction- the transaction to push
-