Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01


oracle.adf.model
Interface TransactionalDataControl

All Superinterfaces:
DataControl, java.util.Map

public interface TransactionalDataControl
extends DataControl

DataControl is a collection of DataControls accessed by their key This is only for internal purposes and implementing just this interface will not work in ADF 9.0.5.1. This interface exists for future api needs.


Nested Class Summary

 

Nested classes inherited from class java.util.Map
java.util.Map.Entry

 

Field Summary

 

Fields inherited from interface oracle.adf.model.DataControl
REL_ALL_REFS, REL_DATA_REFS, REL_VIEW_REFS, REL_WEAK_DATA_REFS

 

Method Summary
 void commitTransaction()
          Invoke the transaction's commit() method to save all changes to the data source.
 java.lang.Object createRowData(RowContext ctx)
          Create a new row for the iterator associated with the given iterator-binding at the given index and return the new row.
 boolean isTransactionDirty()
          Returns true if this transaction has been dirtied by this application.
 java.lang.Object registerDataProvider(RowContext ctx)
          Called before the row in the RowContext object is modified/marked as removed.
 boolean removeRowData(RowContext ctx)
          This method is to remove the row object (the obj parameter) from the underlying data source.
 void rollbackTransaction()
          Helper method that invokes rollback on the current Transaction.
 void validate()
          validate transaction if dirty.

 

Methods inherited from interface oracle.adf.model.DataControl
getDataProvider, getName, release

 

Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values

 

Method Detail

isTransactionDirty

public boolean isTransactionDirty()
Returns true if this transaction has been dirtied by this application.

createRowData

public java.lang.Object createRowData(RowContext ctx)
Create a new row for the iterator associated with the given iterator-binding at the given index and return the new row.

registerDataProvider

public java.lang.Object registerDataProvider(RowContext ctx)
Called before the row in the RowContext object is modified/marked as removed.

removeRowData

public boolean removeRowData(RowContext ctx)
This method is to remove the row object (the obj parameter) from the underlying data source.

rollbackTransaction

public void rollbackTransaction()
Helper method that invokes rollback on the current Transaction.

commitTransaction

public void commitTransaction()
Invoke the transaction's commit() method to save all changes to the data source.

validate

public void validate()
validate transaction if dirty.

Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01


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