Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.adf.model.generic
Class DCGenericRowSetIteratorImpl

java.lang.Object
  extended byoracle.jbo.common.PropertiesHelper
      extended byoracle.jbo.common.RowSetHelper
          extended byoracle.adf.model.generic.DCRowSetIteratorImpl
              extended byoracle.adf.model.generic.DCGenericRowSetIteratorImpl
All Implemented Interfaces:
NavigatableRowIterator, Properties, RowIterator, RowSetIterator

public class DCGenericRowSetIteratorImpl
extends DCRowSetIteratorImpl

Version:
INTERNAL

Field Summary
 
Fields inherited from class oracle.adf.model.generic.DCRowSetIteratorImpl
dataRows, mAccessorName, mApp, mCurrentRow, mProvider, mProviderIter, mStructureDef, REQ_FIRST, REQ_LAST, REQ_NEXT, REQ_PREVIOUS
 
Fields inherited from class oracle.jbo.common.RowSetHelper
listeners, mMgmtListeners, mName
 
Fields inherited from class oracle.jbo.common.PropertiesHelper
mProperties
 
Fields inherited from interface oracle.jbo.RowIterator
ITER_MODE_LAST_PAGE_FULL, ITER_MODE_LAST_PAGE_PARTIAL, SLOT_BEFORE_FIRST, SLOT_BEYOND_LAST, SLOT_DELETED, SLOT_VALID
 
Constructor Summary
protected DCGenericRowSetIteratorImpl(DCDataControl dc, java.util.Collection coll, java.lang.String name)
           
protected DCGenericRowSetIteratorImpl(DCDataControl dc, java.util.Iterator iter, java.lang.String name)
           
protected DCGenericRowSetIteratorImpl(DCGenericDataControl dc, StructureDefImpl def, DCGenericRowSetIteratorImpl masterRSI)
           
 
Method Summary
 void clearCurrentData()
          for internal framework use only.
 void closeRowSetIterator(boolean recurseDetails)
           
protected  boolean containsRow(Row row)
           
 Row createAndInitRow(AttributeList nvp)
          Creates and initializes a new Row object, but does not insert it into the Row Set.
protected  java.lang.Object fetchProvider()
           
 StructureDef getStructureDef()
           
 boolean isSameMasterRSI(RowSetIterator rsi)
           
protected  void notifyNavigationEvent(Row srcRow, Row dstRow)
           
 DCGenericRowSetIteratorImpl setMasterInfo(DCGenericRowSetIteratorImpl masterRSI, RowImpl masterRow, boolean trackMaster)
          *** For internal framework use only ***
 void setName(java.lang.String name)
           
 
Methods inherited from class oracle.adf.model.generic.DCRowSetIteratorImpl
closeRowSetIterator, createDetailRowSet, createKey, createKey, createRow, enumerateRowsInRange, findByEntity, findByKey, first, getAccessorName, getAllRowsInRange, getCurrentRow, getCurrentRowIndex, getCurrentRowSlot, getDataControl, getDataProvider, getDetailRowSets, getEstimatedRangePageCount, getFetchedRowCount, getFilteredRows, getFilteredRowsInRange, getIterMode, getListenersList, getName, getNextRangeSet, getPreviousRangeSet, getProperties, getProviderMethodResultName, getProviderMethodResultUseCount, getRangeIndexOf, getRangeSize, getRangeStart, getRow, getRowAtRangeIndex, getRowCount, getRowCountInRange, getRowSet, getRowSetIterator, getSyncLock, hasNext, hasPrevious, insertRow, insertRowAtRangeIndex, internalCreateRowInstanceFor, isNameGenerated, isRangeAtBottom, isRangeAtTop, isRowValidation, last, next, notifyRangeRefreshed, previous, rebuildIteratorUpto, removeCurrentRow, removeCurrentRowAndRetain, removeCurrentRowFromCollection, reset, scrollRange, scrollRangeTo, scrollToRangePage, setAccessorName, setCurrentRow, setCurrentRowAtRangeIndex, setIterMode, setProviderMethodResultName, setProviderMethodResultUseCount, setRangeSize, setRangeStart, setRowValidation, syncIterator, useListAdapter
 
Methods inherited from class oracle.jbo.common.RowSetHelper
addListener, addManagementListener, fireMgmtIteratorClosed, fireMgmtIteratorReset, fireNavigationEvent, fireRangeRefreshed, fireRangeScrolled, fireRowDeleted, fireRowInserted, fireRowUpdated, getListeners, getManagementListenersList, hasListeners, hasManagementListeners, removeListener, removeManagementListener
 
Methods inherited from class oracle.jbo.common.PropertiesHelper
getProperty, refreshProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.RowSetIterator
addManagementListener, removeManagementListener
 
Methods inherited from interface oracle.jbo.NavigatableRowIterator
addListener, removeListener
 

Constructor Detail

DCGenericRowSetIteratorImpl

protected DCGenericRowSetIteratorImpl(DCDataControl dc,
                                      java.util.Collection coll,
                                      java.lang.String name)

DCGenericRowSetIteratorImpl

protected DCGenericRowSetIteratorImpl(DCDataControl dc,
                                      java.util.Iterator iter,
                                      java.lang.String name)

DCGenericRowSetIteratorImpl

protected DCGenericRowSetIteratorImpl(DCGenericDataControl dc,
                                      StructureDefImpl def,
                                      DCGenericRowSetIteratorImpl masterRSI)
Method Detail

fetchProvider

protected java.lang.Object fetchProvider()
Overrides:
fetchProvider in class DCRowSetIteratorImpl

getStructureDef

public StructureDef getStructureDef()
Overrides:
getStructureDef in class DCRowSetIteratorImpl

setName

public void setName(java.lang.String name)
Overrides:
setName in class RowSetHelper

notifyNavigationEvent

protected final void notifyNavigationEvent(Row srcRow,
                                           Row dstRow)
Overrides:
notifyNavigationEvent in class DCRowSetIteratorImpl

clearCurrentData

public void clearCurrentData()
Description copied from class: DCRowSetIteratorImpl
for internal framework use only. Cleans the current data and rests this iterator. Next call to fetch data will attempt to re-execute the data provider.

Overrides:
clearCurrentData in class DCRowSetIteratorImpl

createAndInitRow

public Row createAndInitRow(AttributeList nvp)
Description copied from interface: RowIterator
Creates and initializes a new Row object, but does not insert it into the Row Set. This method differs from createRow() mainly in that this method allows the user to pass in a list of name-value pairs with which row attributes are initialized.

nvp is a named value pair. When building an nvp from scratch, use NameValuePairs to build a new nvp. Here is an example:

    NameValuePairs nvp = new NameValuePairs();
    nvp.setAttribute("EmpTyp", "C");

    Row row = voEmp.createAndInitRow(nvp);
 
This method is particularly useful when creating a subclass View Row or Entity Row. You can include polymorphic discriminator attribute values in nvp and correct subclass row object will be created.

When this method is called, underlying entities are created. After the new entities are created, a new view row is created. After that ViewRowImpl.create(oracle.jbo.AttributeList) is called with this nvp. ViewRowImpl.create(AttributeList) walks thru the list of entities and calls EntityImpl.create(AttributeList) with the same nvp for each entity in the view row.

Specified by:
createAndInitRow in interface RowIterator
Overrides:
createAndInitRow in class DCRowSetIteratorImpl

containsRow

protected boolean containsRow(Row row)
Overrides:
containsRow in class DCRowSetIteratorImpl

closeRowSetIterator

public void closeRowSetIterator(boolean recurseDetails)

setMasterInfo

public DCGenericRowSetIteratorImpl setMasterInfo(DCGenericRowSetIteratorImpl masterRSI,
                                                 RowImpl masterRow,
                                                 boolean trackMaster)
*** For internal framework use only ***


isSameMasterRSI

public boolean isSameMasterRSI(RowSetIterator rsi)

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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