|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.adf.model.dcframe.LocalTransactionHandler
public class LocalTransactionHandler
| Method Summary | |
|---|---|
void |
beginRequest(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)Do the proper transactional setup for a new HTTP request, such as resuming a suspended transaction, if necessary. |
TransactionHandle |
beginTransaction(java.lang.String id, TransactionProperties properties)Begin a new transaction. |
void |
commit(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)Commit the current transaction |
SavepointHandle |
createSavepoint(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)Create a transactional savepoint. |
void |
endRequest(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)Do the proper transactional work before ending a HTTP request, such as suspending the current transaction, if necessary. |
void |
restoreSavepoint(TransactionHandle transactionHandle, SavepointHandle savepointHandle, BindingContext bindingContext)Undo changes made after the specified savepoint. |
void |
resumeTransaction(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)Resume the suspended transaction. |
void |
rollback(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)Rollback the current transaction |
void |
suspendTransaction(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)Suspend the current transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public SavepointHandle createSavepoint(TransactionHandle transactionHandle,
java.util.Collection<DCDataControl> dataControls)
TransactionHandlercreateSavepoint in interface TransactionHandlertransactionHandle - a handle to the transaction.
public void restoreSavepoint(TransactionHandle transactionHandle,
SavepointHandle savepointHandle,
BindingContext bindingContext)
TransactionHandlerrestoreSavepoint in interface TransactionHandlertransactionHandle - a handle to the current transaction.savepointHandle - a handle to the savepoint.bindingContext - a reference to the bindingContext.
public void commit(TransactionHandle transactionHandle,
java.util.Collection<DCDataControl> dataControls)
commit in interface TransactionHandlertransactionHandle - The transaction to be committed.dataControls - A collection containing datacontrols that should be included in the transaction to be committed.
public void rollback(TransactionHandle transactionHandle,
java.util.Collection<DCDataControl> dataControls)
rollback in interface TransactionHandlertransactionHandle - The transaction to be rolled back.dataControls - A collection containing datacontrols that should be included in the transaction to be rolled back.
public TransactionHandle beginTransaction(java.lang.String id,
TransactionProperties properties)
beginTransaction in interface TransactionHandlerproperties - the transaction properties.
public void resumeTransaction(TransactionHandle transactionHandle,
java.util.Collection<DCDataControl> dataControls)
resumeTransaction in interface TransactionHandlertransactionHandle - The transaction to be resumed.dataControls - A collection containing datacontrols that should be included in the transaction to be resumed.
public void suspendTransaction(TransactionHandle transactionHandle,
java.util.Collection<DCDataControl> dataControls)
suspendTransaction in interface TransactionHandlertransactionHandle - The transaction to be resumed.dataControls - A collection containing datacontrols that should be included in the transaction to be suspended.
public void beginRequest(TransactionHandle transactionHandle,
java.util.Collection<DCDataControl> dataControls)
beginRequest in interface TransactionHandlertransactionHandle - A handle to the transaction from beginTransaction.dataControls - A collection containing datacontrols that should be included in the transaction if it needs to be resumed.
public void endRequest(TransactionHandle transactionHandle,
java.util.Collection<DCDataControl> dataControls)
endRequest in interface TransactionHandlertransactionHandle - A handle to the transaction from beginTransaction.dataControls - A collection containing datacontrols that should be included in the transaction if it needs to be suspended.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||