# Uses of Interface
org.apache.cayenne.tx.TransactionalOperation

Packages that use TransactionalOperation
Package
Description
org.apache.cayenne.runtime
API related to `CayenneRuntime` creation.
org.apache.cayenne.tx

- ## Uses of TransactionalOperation in org.apache.cayenne.runtime

  Methods in org.apache.cayenne.runtime with parameters of type TransactionalOperation
  Modifier and Type
  Method
  Description
  `<T> T`
  CayenneRuntime.`performInTransaction(TransactionalOperation<T> op)`
  Runs provided operation wrapped in a single transaction.
  `<T> T`
  CayenneRuntime.`performInTransaction(TransactionalOperation<T> op, TransactionDescriptor descriptor)`
  Runs provided operation wrapped in a single transaction.
  `<T> T`
  CayenneRuntime.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback)`
  Runs provided operation wrapped in a single transaction.
  `<T> T`
  CayenneRuntime.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor)`
  Runs provided operation wrapped in a single transaction.

- ## Uses of TransactionalOperation in org.apache.cayenne.tx

  Methods in org.apache.cayenne.tx with parameters of type TransactionalOperation
  Modifier and Type
  Method
  Description
  `protected abstract <T> T`
  DefaultTransactionManager.BaseTransactionHandler.`handle(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor)`
  `protected <T> T`
  DefaultTransactionManager.BaseTransactionHandler.`performInNewTransaction(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor)`
  `protected <T> T`
  DefaultTransactionManager.BaseTransactionHandler.`performInTransaction(Transaction tx, TransactionalOperation<T> op, TransactionListener callback)`
  `<T> T`
  DefaultTransactionManager.`performInTransaction(TransactionalOperation<T> op)`
  `<T> T`
  DefaultTransactionManager.`performInTransaction(TransactionalOperation<T> op, TransactionDescriptor descriptor)`
  `<T> T`
  DefaultTransactionManager.`performInTransaction(TransactionalOperation<T> op, TransactionFactory transactionFactory)`
  `<T> T`
  DefaultTransactionManager.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback)`
  `<T> T`
  DefaultTransactionManager.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor)`
  `<T> T`
  TransactionManager.`performInTransaction(TransactionalOperation<T> op)`
  Starts a new transaction (or joins an existing one) calling `TransactionalOperation.perform()`, and then committing or rolling back the transaction.
  `<T> T`
  TransactionManager.`performInTransaction(TransactionalOperation<T> op, TransactionDescriptor descriptor)`
  Performs operation in a transaction which parameters described by descriptor.
  `<T> T`
  TransactionManager.`performInTransaction(TransactionalOperation<T> op, TransactionFactory transactionFactory)`
  Performs an operation in a transaction created by the supplied factory, instead of the configured one.
  `<T> T`
  TransactionManager.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback)`
  Starts a new transaction (or joins an existing one) calling `TransactionalOperation.perform()`, and then committing or rolling back the transaction.
  `<T> T`
  TransactionManager.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback, TransactionDescriptor descriptor)`
  Performs operation in a transaction which parameters described by descriptor.