|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionHandler
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. |
Method Detail |
---|
void commit(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)
transactionHandle
- A handle to the transaction from beginTransaction.dataControls
- A collection containing datacontrols that should be included in the transaction to be committed.void rollback(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)
transactionHandle
- A handle to the transaction from beginTransaction.dataControls
- A collection containing datacontrols that should be included in the transaction to be rolled back.TransactionHandle beginTransaction(java.lang.String id, TransactionProperties properties)
properties
- the transaction properties.void resumeTransaction(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)
transactionHandle
- A handle to the transaction from beginTransaction.dataControls
- A collection containing datacontrols that should be included in the transaction to be resumed.void suspendTransaction(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)
transactionHandle
- A handle to the transaction from beginTransaction.dataControls
- A collection containing datacontrols that should be included in the transaction to be suspended.void beginRequest(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)
transactionHandle
- 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.void endRequest(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)
transactionHandle
- 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.SavepointHandle createSavepoint(TransactionHandle transactionHandle, java.util.Collection<DCDataControl> dataControls)
transactionHandle
- a handle to the transaction.dataControl
- a list of the datacontrols that are included in the transaction.void restoreSavepoint(TransactionHandle transactionHandle, SavepointHandle savepointHandle, BindingContext bindingContext)
transactionHandle
- a handle to the current transaction.savepointHandle
- a handle to the savepoint.bindingContext
- a reference to the bindingContext.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |