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

E10653-05

oracle.adf.model
Interface TransactionalDataControl

All Superinterfaces:
DataControl, java.util.Map, TransactionalDataControl, UpdateableDataControl

public interface TransactionalDataControl
extends DataControl, TransactionalDataControl, UpdateableDataControl

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/interfaces inherited from interface oracle.adf.model.DataControl
DataControl.DataChangeEventPolicy
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface oracle.adf.model.DataControl
DATACHANGE_EVENT_POLLINGMODE, 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
 
Methods inherited from interface oracle.binding.UpdateableDataControl
createRowData, registerDataProvider, removeRowData, setAttributeValue
 
Methods inherited from interface oracle.binding.DataControl
invokeOperation, release
 

Method Detail

isTransactionDirty

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

Specified by:
isTransactionDirty in interface TransactionalDataControl
Returns:
true if transaction is dirty, false otherwise.

createRowData

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

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


removeRowData

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


rollbackTransaction

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

Specified by:
rollbackTransaction in interface TransactionalDataControl

commitTransaction

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

Specified by:
commitTransaction in interface TransactionalDataControl

validate

void validate()
validate transaction if dirty.

Specified by:
validate in interface UpdateableDataControl

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

E10653-05

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