oracle.adf.model.generic
Class DCGenericRowSetIteratorImpl
java.lang.Object
oracle.jbo.common.PropertiesHelper
oracle.jbo.common.RowSetHelper
oracle.adf.model.generic.DCRowSetIteratorImpl
oracle.adf.model.generic.DCGenericRowSetIteratorImpl
- All Implemented Interfaces:
- NavigatableRowIterator, Properties, RowIterator, RowSetIterator
- public class DCGenericRowSetIteratorImpl
- extends DCRowSetIteratorImpl
- Version:
- INTERNAL
Fields inherited from class oracle.adf.model.generic.DCRowSetIteratorImpl |
dataRows, mAccessorName, mApp, mCurrentRow, mProvider, mProviderIter, mStructureDef, REQ_FIRST, REQ_LAST, REQ_NEXT, REQ_PREVIOUS |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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)
Copyright © 1997, 2004, Oracle. All rights reserved.