|
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.Objectjava.util.AbstractMap
oracle.jbo.common.JboAbstractMap
oracle.adf.model.binding.DCExecutableBinding
oracle.adf.model.binding.DCIteratorBinding
oracle.jbo.uicli.binding.JUIteratorBinding
public class JUIteratorBinding
JUIteratorBinding is the binding class that interacts with BC4J RowIterator objects to iterate over rows and provide the current row(s) to display to various control bindings. JUIteratorBinding objects are named and uniquely identified by name in a JUFormBinding which acts as a container of iterator bindings. This class handles the events generated from the associated BC4J RowIterator and sends the current Row (rows in range) over to individual control bindings to display current data. This class also manages the findMode data for the associated BC4J iterator and ViewObject.
At runtime, an application can bind an instance of oracle.jbo.NavigatableRowIterator
to a JUIteratorBinding object using the bindRowSetIterator
method.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.adf.model.binding.DCIteratorBinding |
---|
DCIteratorBinding.RenderHintTypes |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class oracle.adf.model.binding.DCIteratorBinding |
---|
mAM, mCreatedRowRef, mDC, mDoNavigation, mRangeSize, mReservedRow, RANGESIZE_DO_NOT_OVERRIDE, RANGESIZE_UNLIMITED, TREE_NODE_PINNED_ITER |
Fields inherited from class oracle.adf.model.binding.DCExecutableBinding |
---|
mInternalGet_KeyResolved, mPermissionInfo |
Fields inherited from class oracle.jbo.common.JboAbstractMap |
---|
MAP_NULL_VALUE |
Fields inherited from interface oracle.adf.model.binding.DCIExecutable |
---|
EXECUTABLE_ACTION, EXECUTABLE_ITERATORBINDING, EXECUTABLE_REGION |
Constructor Summary | |
---|---|
protected |
JUIteratorBinding()
|
|
JUIteratorBinding(ApplicationModule am,
java.lang.String voName,
java.lang.String rsiName)
When the usage only needs one row at a time, use this constructor to create an iterator binding. |
|
JUIteratorBinding(ApplicationModule am,
java.lang.String voName,
java.lang.String rsiName,
int rangeSize)
Use this constructor if a usage needs a specific range size on the associated iterator. |
|
JUIteratorBinding(BindingContext ctx,
java.lang.String dcName,
java.lang.String sourceName,
java.lang.String rsiName,
int rangeSize)
|
|
JUIteratorBinding(DCDataControl dataControl,
RowSetIterator rsi)
When an application has a BC4J RowSet it should use this constructor. |
protected |
JUIteratorBinding(JUIteratorBinding iterBinding)
|
|
JUIteratorBinding(RowSetIterator rsi)
Deprecated. since 9.0.5.1 use constructor with DCDataControl instead. |
Method Summary | |
---|---|
protected void |
addDataChangeListener(JUCtrlValueBinding binding)
Internal: Applications should not use this method. |
void |
addValueBinding(DCControlBinding bnd)
Adds the given control binding object to its list. |
protected void |
cacheCreatedRow(RowSetIterator rsi,
Row row)
*** For internal framework use only *** |
void |
dataChanged(DataChangeEvent event)
Internal: Applications should not use this method. |
protected void |
disableTokenValidation()
Internal: Applications should not use this method. |
protected AttributeDef |
findOrCreateSelectionAttributeDef(DCControlBinding binding,
java.lang.String baseName,
java.lang.String type)
Internal: Applications should not use this method. |
DCDataControl |
getApplication()
|
ApplicationModule |
getApplicationModule()
Returns the instance of ApplicationModule in which this iterator binding has an associated iterator. |
protected Row |
getCurrentRowInternal()
|
JUFormBinding |
getFormBinding()
|
void |
handleDataException(DataExceptionEvent event)
Internal: Applications should not use this method. |
protected Row |
internalGetCurrentRowInBinding()
|
protected void |
internalSetDataControl(DCDataControl dc)
|
protected boolean |
matchReservedRowWithUpdateEvent(Row row)
|
protected boolean |
matchRowKeyWithAttrException(AttrValException ave)
Internal: Applications should not use this method. |
protected boolean |
mergeFKsToDCEKeys()
|
void |
navigated(NavigationEvent event)
*** For internal framework use only *** |
protected void |
notifyUpdateEvent(UpdateEvent event)
called when rowUpdated event is received from the model. |
void |
rangeScrolled(ScrollEvent event)
*** For internal framework use only *** |
protected void |
refreshControl()
Internal: Applications should not use this method. |
protected void |
releaseDataInternal()
Internal: Applications should not use this method. |
protected void |
removeDataChangeListener(JUCtrlValueBinding binding)
Internal: Applications should not use this method. |
protected void |
reserveRowWithKey(Key key)
Internal: Applications should not use this method. |
void |
rowDeleted(DeleteEvent event)
*** For internal framework use only *** |
void |
rowInserted(InsertEvent event)
*** For internal framework use only *** |
protected void |
setDef(DCIteratorBindingDef def)
Internal: Applications should not use this method. |
void |
setFormBinding(JUFormBinding formBnd)
*** For internal framework use only *** |
void |
setIteratorBindingDef(DCIteratorBindingDef iterDef)
Internal: Applications should not use this method. Used in LovButtonBinding to set the def for the Lov Panel's iteratorBinding. |
protected void |
setSelectionAttribute(int rowIndex,
AttributeDef ad,
java.lang.Object value)
Internal: Applications should not use this method. |
protected void |
updateValuesFromRow(Row row)
Calls updateValueFromRow() on each instance of JUCtrlValueBinding objects associated with this iterator binding object. |
protected void |
updateValuesFromRows(Row[] rows,
Row row,
boolean clear)
Calls updateValuesFromRows() on each instance of JUCtrlRangeBinding object associated with this iterator binding object. |
Methods inherited from class oracle.adf.model.binding.DCExecutableBinding |
---|
addDependentExecutable, get, getBindingContainer, getDependents, getName, getRefreshExpression, getRefreshOption, isRefreshable, isRefreshed, refreshIfNeeded, removeDependentExecutable, resetDependentsRefresh, setExecutableDef, setName, setRefreshExpression, setRefreshOption, updateName |
Methods inherited from class oracle.jbo.common.JboAbstractMap |
---|
entrySet, equals, hashCode, internalPut, put, setThrowIfPropertyNotFoundOnGet |
Methods inherited from class java.util.AbstractMap |
---|
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected JUIteratorBinding()
protected JUIteratorBinding(JUIteratorBinding iterBinding)
public JUIteratorBinding(BindingContext ctx, java.lang.String dcName, java.lang.String sourceName, java.lang.String rsiName, int rangeSize)
public JUIteratorBinding(ApplicationModule am, java.lang.String voName, java.lang.String rsiName, int rangeSize)
public JUIteratorBinding(ApplicationModule am, java.lang.String voName, java.lang.String rsiName)
public JUIteratorBinding(RowSetIterator rsi)
public JUIteratorBinding(DCDataControl dataControl, RowSetIterator rsi)
Method Detail |
---|
public DCDataControl getApplication()
public void setFormBinding(JUFormBinding formBnd)
public JUFormBinding getFormBinding()
public void addValueBinding(DCControlBinding bnd)
DCIteratorBinding
addValueBinding
in class DCIteratorBinding
public void rangeScrolled(ScrollEvent event)
This method invokes updateRangeScrolled method on all instances of JUCtrlRangeBinding objects associated with this iterator binding, to notify them of the change in current range of rows.
rangeScrolled
in interface RowSetListener
rangeScrolled
in class DCIteratorBinding
event
- a description of the new range.public void rowInserted(InsertEvent event)
If range size of this iterator binding is not 1, this method invokes updateRowInserted method on all instances of JUCtrlValueBinding objects associated with this iterator binding, to notify them of the newly inserted row.
rowInserted
in interface RowSetListener
rowInserted
in class DCIteratorBinding
event
- a description of the new Row object.public void rowDeleted(DeleteEvent event)
If range size of this iterator binding is not 1, this method invokes updateRowDeleted method on all instances of JUCtrlValueBinding objects associated with this iterator binding, to notify them of the newly inserted row.
This method also sets the currency on the RowIterator to the next row (if available) or previous row (if available) or simply a NO row by calling navigated() with no current row.
rowDeleted
in interface RowSetListener
rowDeleted
in class DCIteratorBinding
event
- a description of the deleted Row object.public void navigated(NavigationEvent event)
Calls updateNavigated() for all JUCtrlRangeBinding instances associated with this iterator binding object, or calls updateValuesFromRow() on all other control binding instances, passing in the current row instance from the RowIterator.
navigated
in interface RowNavigationListener
navigated
in interface RowSetListener
navigated
in class DCIteratorBinding
event
- a description of the new and previous current rows.protected void updateValuesFromRows(Row[] rows, Row row, boolean clear)
updateValuesFromRows
in class DCIteratorBinding
protected void notifyUpdateEvent(UpdateEvent event)
DCIteratorBinding
notifyUpdateEvent
in class DCIteratorBinding
protected void updateValuesFromRow(Row row)
updateValuesFromRow
in class DCIteratorBinding
public ApplicationModule getApplicationModule()
getApplicationModule
in class DCIteratorBinding
public void setIteratorBindingDef(DCIteratorBindingDef iterDef)
protected void cacheCreatedRow(RowSetIterator rsi, Row row)
cacheCreatedRow
in class DCIteratorBinding
protected void releaseDataInternal()
releaseDataInternal
in class DCIteratorBinding
protected void refreshControl()
refreshControl
in class DCIteratorBinding
protected void reserveRowWithKey(Key key)
reserveRowWithKey
in class DCIteratorBinding
protected boolean matchRowKeyWithAttrException(AttrValException ave)
matchRowKeyWithAttrException
in class DCIteratorBinding
protected Row internalGetCurrentRowInBinding()
internalGetCurrentRowInBinding
in class DCIteratorBinding
protected Row getCurrentRowInternal()
getCurrentRowInternal
in class DCIteratorBinding
protected void internalSetDataControl(DCDataControl dc)
internalSetDataControl
in class DCIteratorBinding
protected void setDef(DCIteratorBindingDef def)
setDef
in class DCIteratorBinding
protected void disableTokenValidation()
disableTokenValidation
in class DCIteratorBinding
protected AttributeDef findOrCreateSelectionAttributeDef(DCControlBinding binding, java.lang.String baseName, java.lang.String type)
findOrCreateSelectionAttributeDef
in class DCIteratorBinding
protected void setSelectionAttribute(int rowIndex, AttributeDef ad, java.lang.Object value)
setSelectionAttribute
in class DCIteratorBinding
public void handleDataException(DataExceptionEvent event)
public void dataChanged(DataChangeEvent event)
dataChanged
in interface DataChangeListener
dataChanged
in class DCIteratorBinding
protected boolean mergeFKsToDCEKeys()
mergeFKsToDCEKeys
in class DCIteratorBinding
protected void addDataChangeListener(JUCtrlValueBinding binding)
addDataChangeListener
in class DCIteratorBinding
protected void removeDataChangeListener(JUCtrlValueBinding binding)
removeDataChangeListener
in class DCIteratorBinding
protected boolean matchReservedRowWithUpdateEvent(Row row)
matchReservedRowWithUpdateEvent
in class DCIteratorBinding
|
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 |