RetryingTransactionHelper instancepublic class TransactionUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransactionUtil.TransactionWork
Deprecated.
|
| Constructor and Description |
|---|
TransactionUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
executeInNonPropagatingUserTransaction(TransactionService transactionService,
TransactionUtil.TransactionWork transactionWork)
Deprecated.
Use a
RetryingTransactionHelper instance |
static java.lang.Object |
executeInNonPropagatingUserTransaction(TransactionService transactionService,
TransactionUtil.TransactionWork transactionWork,
boolean readOnly)
Deprecated.
Use a
RetryingTransactionHelper instance |
static java.lang.Object |
executeInUserTransaction(TransactionService transactionService,
TransactionUtil.TransactionWork transactionWork)
Deprecated.
Use a
RetryingTransactionHelper instance |
static java.lang.Object |
executeInUserTransaction(TransactionService transactionService,
TransactionUtil.TransactionWork transactionWork,
boolean readOnly)
Deprecated.
Use a
RetryingTransactionHelper instance |
static void |
flush()
Deprecated.
Flush transaction.
|
public static void flush()
public static java.lang.Object executeInUserTransaction(TransactionService transactionService, TransactionUtil.TransactionWork transactionWork)
RetryingTransactionHelper instancetransactionService - the transaction servicetransactionWork - the transaction workjava.lang.RuntimeException - if the transaction was rolled backpublic static java.lang.Object executeInUserTransaction(TransactionService transactionService, TransactionUtil.TransactionWork transactionWork, boolean readOnly)
RetryingTransactionHelper instancetransactionService - the transaction servicetransactionWork - the transaction workreadOnly - true if the transaction should be read-onlyjava.lang.RuntimeException - if the transaction was rolled backpublic static java.lang.Object executeInNonPropagatingUserTransaction(TransactionService transactionService, TransactionUtil.TransactionWork transactionWork)
RetryingTransactionHelper instancetransactionService - the transaction servicetransactionWork - the transaction workjava.lang.RuntimeException - if the transaction was rolled backpublic static java.lang.Object executeInNonPropagatingUserTransaction(TransactionService transactionService, TransactionUtil.TransactionWork transactionWork, boolean readOnly)
RetryingTransactionHelper instancetransactionService - the transaction servicetransactionWork - the transaction workreadOnly - true if the transaction should be read-onlyjava.lang.RuntimeException - if the transaction was rolled backCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.