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

Packages that use TransactionalOperation
Package
Description
org.apache.cayenne.configuration.server
org.apache.cayenne.tx

- ## Uses of TransactionalOperation in org.apache.cayenne.configuration.server

  Methods in org.apache.cayenne.configuration.server with parameters of type TransactionalOperation
  Modifier and Type
  Method
  Description
  `<T> T`
  ServerRuntime.`performInTransaction(TransactionalOperation<T> op)`
  Runs provided operation wrapped in a single transaction.
  `<T> T`
  ServerRuntime.`performInTransaction(TransactionalOperation<T> op, TransactionDescriptor descriptor)`
  Runs provided operation wrapped in a single transaction.
  `<T> T`
  ServerRuntime.`performInTransaction(TransactionalOperation<T> op, TransactionListener callback)`
  Runs provided operation wrapped in a single transaction.
  `<T> T`
  ServerRuntime.`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, 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 `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, TransactionListener callback)`
  Starts a new transaction (or joins an existing one) calling `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.