Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.binding
Interface TransactionalDataControl

All Superinterfaces:
DataControl
All Known Subinterfaces:
TransactionalDataControl
All Known Implementing Classes:
BeanDataControl, BeanDataControl, TopLinkDataControl

public interface TransactionalDataControl
extends DataControl

This interface is to be implementated by DataControls that supports transactions.


Method Summary
 void commitTransaction()
          Commits the current transaction to save all changes to the data source.
 boolean isTransactionDirty()
          Returns true if this transaction has been dirtied by this application, as a result of data updates, deletes or inserts.
 void rollbackTransaction()
          Rolls back the current transaction.

 

Methods inherited from interface oracle.binding.DataControl
getDataProvider, getName, invokeOperation, release

 

Method Detail

isTransactionDirty

boolean isTransactionDirty()
Returns true if this transaction has been dirtied by this application, as a result of data updates, deletes or inserts.
Returns:
true if transaction is dirty, false otherwise.

rollbackTransaction

void rollbackTransaction()
Rolls back the current transaction.

commitTransaction

void commitTransaction()
Commits the current transaction to save all changes to the data source.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.