|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.PropertiesHelper
oracle.jbo.common.RowSetHelper
oracle.adf.model.generic.DCRowSetIteratorImpl
oracle.adf.model.generic.DCGenericRowSetIteratorImpl
public class DCGenericRowSetIteratorImpl
Field Summary |
---|
Fields inherited from class oracle.adf.model.generic.DCRowSetIteratorImpl |
---|
dataRows, mAccessorName, mApp, mCurrentRow, mProvider, mProviderIter, mStructureDef, orgDataRows, 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 RowSetIterator |
createFilteredRowSetIterator(java.lang.Object data)
Create and return an equivalent RowSetIterator with data containing rows from this same RSI filtered via a criteria. |
protected java.lang.Object |
fetchProvider()
|
protected java.lang.Object |
getMasterRowDataProvider()
|
StructureDef |
getStructureDef()
|
boolean |
isSameMasterRSI(RowSetIterator rsi)
|
protected void |
notifyNavigationEvent(Row srcRow,
Row dstRow)
|
protected void |
setAttributeValue(RowImpl row,
java.lang.String accName,
java.lang.Object value)
|
DCGenericRowSetIteratorImpl |
setMasterInfo(DCGenericRowSetIteratorImpl masterRSI,
RowImpl masterRow,
java.lang.String name,
boolean trackMaster)
*** For internal framework use only *** |
void |
setName(java.lang.String name)
This method is not implemented by default. |
Methods inherited from class oracle.jbo.common.PropertiesHelper |
---|
closeObject, getImageLoc, getProperty, getProperty, isReadOnly, refreshProperties, 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 |
---|
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 Detail |
---|
protected java.lang.Object fetchProvider()
fetchProvider
in class DCRowSetIteratorImpl
public StructureDef getStructureDef()
getStructureDef
in class DCRowSetIteratorImpl
public void setName(java.lang.String name)
PropertiesHelper
setName
in class RowSetHelper
protected final void notifyNavigationEvent(Row srcRow, Row dstRow)
notifyNavigationEvent
in class DCRowSetIteratorImpl
public void clearCurrentData()
DCRowSetIteratorImpl
clearCurrentData
in class DCRowSetIteratorImpl
protected java.lang.Object getMasterRowDataProvider()
getMasterRowDataProvider
in class DCRowSetIteratorImpl
public Row createAndInitRow(AttributeList nvp)
RowIterator
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.
createAndInitRow
in interface RowIterator
createAndInitRow
in class DCRowSetIteratorImpl
nvp
- a list of name-value pairs.
protected boolean containsRow(Row row)
containsRow
in class DCRowSetIteratorImpl
public void closeRowSetIterator(boolean recurseDetails)
public DCGenericRowSetIteratorImpl setMasterInfo(DCGenericRowSetIteratorImpl masterRSI, RowImpl masterRow, java.lang.String name, boolean trackMaster)
public boolean isSameMasterRSI(RowSetIterator rsi)
protected RowSetIterator createFilteredRowSetIterator(java.lang.Object data)
createFilteredRowSetIterator
in class DCRowSetIteratorImpl
protected void setAttributeValue(RowImpl row, java.lang.String accName, java.lang.Object value)
setAttributeValue
in class DCRowSetIteratorImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |