|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
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
public abstract class DCIteratorBinding
DCIteratorBinding is the binding class that interacts with RowIterator objects to iterate over rows and provide the current row(s) for use in a client application or to view via various control bindings. DCIteratorBinding objects are uniquely identified by name in a DCBindingContainer which acts as a container of iterator bindings. This class handles the events generated from the associated 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 iterator and ViewObject(incase of BC4J).
At runtime, an application can bind an instance of oracle.jbo.NavigatableRowIterator
to a DCIteratorBinding object using the bindRowSetIterator
method.
Nested Class Summary | |
---|---|
static class |
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 | |
---|---|
protected ApplicationModule |
mAM
Internal: Applications should not use this member. |
protected Row |
mCreatedRowRef
Internal: Applications should not use this member. |
protected DCDataControl |
mDC
Internal: Applications should not use this member. |
protected boolean |
mDoNavigation
Internal: Applications should not use this member. |
protected int |
mRangeSize
|
protected Row |
mReservedRow
|
static int |
RANGESIZE_DO_NOT_OVERRIDE
|
static int |
RANGESIZE_UNLIMITED
|
static java.lang.String |
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 |
DCIteratorBinding()
|
protected |
DCIteratorBinding(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. |
protected |
DCIteratorBinding(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. |
protected |
DCIteratorBinding(BindingContext ctx,
java.lang.String dcName,
java.lang.String sourceName,
java.lang.String rsiName,
int rangeSize)
Use this constructor if a usage needs a specific range size on the associated iterator. |
protected |
DCIteratorBinding(DCDataControl dc,
RowSetIterator rsi)
When an application has a RowSet it should use this constructor. |
protected |
DCIteratorBinding(DCIteratorBinding iterBinding)
|
Method Summary | |
---|---|
void |
addActionBinding(DCControlBinding bnd)
Adds the given action control binding object to its list. |
protected void |
addDataChangeListener(JUCtrlValueBinding binding)
|
protected void |
addDependentListeners()
|
void |
addStateVariableForBinding(DCControlBinding binding,
java.lang.String varName,
java.lang.Object value)
|
void |
addValueBinding(DCControlBinding bnd)
Adds the given control binding object to its list. |
boolean |
allowsRefreshControl()
|
void |
applySortCriteria(SortCriteria[] sortby)
Sets the sort critiera that will be applied next time when the source for this iteratorBinding is executed. |
void |
bindRowSetIterator(NavigatableRowIterator iter,
boolean initRangeSize)
Use this method to bind a new instance of RowIterator from a Business Service to this binding. |
protected void |
cacheCreatedRow(RowSetIterator rsi,
Row row)
|
protected void |
cacheRefOnOperation(DCInvokeMethod info)
|
protected RowSetIterator |
callInitSourceRSI()
|
void |
clearForRecreate()
|
Key |
createKey(java.lang.String stringKey)
Given the key string, convert it to a Key using the associated RowSetIterator's StructureDef. |
abstract void |
dataChanged(DataChangeEvent event)
raised when datachanges are detected in the datacontrol implementation and is to be notified via the bindings to the UI layers. |
protected void |
disableTokenValidation()
|
protected void |
doExecuteQuery()
Calls datacontrol.executeIteratorBinding. |
void |
executeQuery()
Executes the query or the RowSet behind this iterator binding object. |
void |
executeQueryIfNeeded()
Executes the query or the RowSet behind this iterator binding object if not already executed. |
protected void |
fetchAttributeProperties()
|
protected AttributeDef |
findOrCreateSelectionAttributeDef(DCControlBinding binding,
java.lang.String baseName,
java.lang.String type)
|
Row |
findRowByKeyString(java.lang.String s)
|
RowIterator |
findRowsByAttributeValue(java.lang.String attrName,
boolean equals,
java.lang.Object value)
|
RowIterator |
findRowsByAttributeValue(java.lang.String attrName,
boolean equals,
java.lang.Object value,
int count)
|
RowIterator |
findRowsByAttributeValues(java.lang.String[] attrNames,
java.lang.Object[] values)
|
RowIterator |
findRowsByAttributeValues(java.lang.String[] attrNames,
java.lang.Object[] values,
int count)
|
RowIterator |
findRowsByKeyValues(Key[] keys)
calls findRowsByKeyValues(keys, -1) to get all rows matching the given keys. |
RowIterator |
findRowsByKeyValues(Key[] keys,
int count)
only for use with DCJboDataControl and subclass DC types (Not to be used by DC implementations from 9.x that were based on DCGenericDataControl) |
java.util.ArrayList |
getActionBindingList()
Returns a list of DCCtrlActionBinding objects that are associated with this iterator binding. |
Row[] |
getAllRowsInRange()
Returns an array of rows in the current range of the current RowIterator. |
protected ApplicationModule |
getApplicationModule()
|
AttributeDef[] |
getAttributeDefs()
get all attribute defs for the RSI that this iterator binding is bound to. |
AttributeDef[] |
getAttributeDefs(boolean bRefresh)
|
AttributeDef[] |
getAttributeDefs(java.lang.String[] attrNames)
return attribute defs for attributes that are named in the given array. |
int |
getChangeEventRate()
|
Row |
getCurrentRow()
Returns the current row of the iterator with which this binding object is associated. |
int |
getCurrentRowIndexInRange()
Returns current row index in the current Range in the Rowsetiterator |
protected Row |
getCurrentRowInternal()
|
java.lang.String |
getCurrentRowKeyString()
Returns String version of the row key for the current row in the associated iterator. |
java.lang.String |
getCurrentRowWithKeyValue()
Returns String version of the row key for the current row in the associated iterator. |
DCDataControl |
getDataControl()
Helper method to return the DCDataControl from this binding's BindingContainer. |
DCIteratorBindingDef |
getDef()
|
long |
getDeferredEstimatedRowCount()
|
java.lang.String |
getDisplayName()
Returns the name of this IteratorBinding. |
JboException |
getError()
|
long |
getEstimatedRowCount()
|
oracle.adf.model.binding.DCIExecutableDef |
getExecutableDef()
*** For internal framework use only *** |
int |
getExecutableType()
|
java.util.Map |
getHints()
|
java.lang.String |
getIteratorDefName()
|
java.lang.String[] |
getIteratorSubstitutedDefNames()
|
RowSetIterator |
getLovRowSetIterator()
|
protected RowSetListener |
getMasterListener()
|
NavigatableRowIterator |
getNavigatableRowIterator()
Returns the current RowIterator, which can be a data RowSetIterator or a find mode ViewCriteria based on the find mode. |
java.lang.Object |
getParallelizationContext()
Retuns a context for parallelization of this IteratorBinding's execution with other IteratorBindings. |
PermissionInfo |
getPermissionInfo()
|
java.lang.String |
getPermissionTargetName()
|
int |
getRangeSize()
Returns current rowsetiterator's range size |
int |
getRangeStart()
Returns current rowsetiterator's range start |
DCIteratorBinding.RenderHintTypes |
getRenderHint()
If RenderHint is inMainRequest, render data associated with this binding in the same request as main render, other wise, the bindings-data may be rendered lazily in a separate request thread. |
Row |
getRowAtRangeIndex(int rangeIndex)
Returns the row of given range index. |
java.lang.String |
getRowKeyString(Row r)
|
RowSetIterator |
getRowSetIterator()
Returns the current data RowSetIterator that holds rows with which this iterator binding object and its associated control-bindings are working. |
SortCriteria[] |
getSortCriteria()
Returns an ordered array of SortCriteria that will be applied when the source for this iteratorBinding is executed. |
java.lang.String |
getSourceName()
Returns the name of the collection instance to which this iterator binding is bound to. |
java.lang.Object |
getStateVariableForBinding(DCControlBinding binding,
java.lang.String varName)
|
java.lang.Object |
getSyncLock()
|
java.util.ArrayList |
getValueBindingList()
Returns a list of DCCtrlValueBinding objects that are associated with this iterator binding. |
ViewCriteria |
getViewCriteria()
|
java.lang.String |
getViewDefName()
|
ViewObject |
getViewObject()
Returns the ViewObject to which this iterator binding is associated with (via the binding definition). |
ViewObject |
getViewObject(boolean bCreate)
|
java.lang.String |
getVOName()
|
void |
handleAttributeNotFoundForBinding(JUCtrlValueBinding binding,
int index)
|
boolean |
hasBindingsWithPushChangeEvents()
Return true if this IteratorBinding or any of it's dependent iterator bindings has a value binding that may have DataChangeEventPolicy = PUSH. |
boolean |
hasKeyAttributes()
|
boolean |
hasRefreshParametersChanged()
*** For internal framework use only *** |
boolean |
hasRSI()
returns true if a RowSetIterator has been bound to this iterator. |
protected DCDataControl |
initDataControl()
|
void |
initializeForPushDataChangeEvents()
|
protected RowSetIterator |
initSourceRSI()
|
protected java.lang.String[][] |
internalCollectAttributes()
|
protected java.lang.Object |
internalGet(java.lang.String key)
|
protected Row |
internalGetCurrentRowInBinding()
|
void |
internalGetNextRangeSet()
|
void |
internalGetPreviousRangeSet()
|
protected NavigatableRowIterator |
internalGetRowIteratorNoCheck()
|
protected RowSetIterator |
internalGetRowSetIterator()
|
protected java.util.List |
internalGetValueBindingList()
Deprecated. Reserved for framework use only. |
protected ViewObject |
internalGetViewObject()
|
protected void |
internalInitRangeSize(int val)
|
void |
internalReserveCurrentRow()
|
protected void |
internalSetDataControl(DCDataControl dc)
|
void |
invalidateCache()
|
boolean |
isAccessorIterator()
Is this bound to a collection returned from a bean accessor? |
boolean |
isAlive()
|
boolean |
isAttributeSortable(AttributeDef ad)
View layer bindings may consult this to find out if an attribute in this iteratorBinding is sortable or not. |
boolean |
isBound()
|
boolean |
isBoundRowIteratorEvent(JboEvent ev)
|
boolean |
isFindMode()
Returns true if this iterator binding is in find mode. |
boolean |
isFindModeAllowed()
|
boolean |
isIteratorMadeVisible()
|
boolean |
isOperationSupported(byte oper)
|
protected boolean |
isReservedRowNotForNode()
|
boolean |
isRowSetEventsEnabled()
Returns true if this IteratorBinding should notify the containing BindingContainer's RowSetListeners of RowSet events. |
boolean |
isSortable()
|
boolean |
isSuspendRowSetEventsHandling()
Returns true if this IteratorBinding is not reacting to any RowSetIterator events. |
void |
iteratorClosed(RowSetManagementEvent event)
Invoked when the row set is closed. |
void |
iteratorReset(RowSetManagementEvent event)
Invoked when the row set is reset. |
protected boolean |
matchReservedRowWithUpdateEvent(Row row)
|
protected boolean |
matchRowKeyWithAttrException(AttrValException ave)
|
protected boolean |
mergeFKsToDCEKeys()
|
void |
navigated(NavigationEvent event)
Invoked when the current-row designation changes. |
boolean |
needsEstimatedRowCount()
|
protected abstract void |
notifyUpdateEvent(UpdateEvent event)
called when rowUpdated event is received from the model. |
protected Row |
prepareCurrentRow()
|
void |
prepareForInput()
|
void |
processInputException()
Deprecated. use processInputException(JboException); |
void |
processInputException(JboException errExc)
|
void |
rangeRefreshed(RangeRefreshEvent event)
Invoked when the range changes. |
void |
rangeScrolled(ScrollEvent event)
Invoked when the range is scrolled. |
void |
refresh(int id)
|
protected void |
refreshControl()
|
void |
release()
|
void |
release(int flags)
*** For internal framework use only *** |
void |
releaseData()
|
protected void |
releaseDataInternal()
|
boolean |
removeActionBinding(DCControlBinding bnd)
Removes the given action control binding object from its list. |
void |
removeCurrentRow()
|
protected void |
removeDataChangeListener(JUCtrlValueBinding binding)
|
protected void |
removeDependentListeners()
|
void |
removeRowWithKey(java.lang.String stringKey)
Find a row with the given key in the current row iterator and if one found, remove it. |
void |
removeStateVariableForBinding(DCControlBinding binding,
java.lang.String varName)
|
boolean |
removeValueBinding(DCControlBinding bnd)
Removes the given control binding object from its list. |
void |
reportException(boolean markDead,
java.lang.Exception ex)
Utility method to report exceptions via the containing binding container. |
protected void |
reserveRowWithKey(Key key)
Internal: Applications should not use this method. |
protected void |
resetFindMode()
|
void |
resolveRangeSize(int rangeSize)
Sets this iterator binding and it's associated RowIterator's range size to the greater of this either the iterator's range size and the given range size. |
void |
rowDeleted(DeleteEvent event)
Invoked when a row has been deleted. |
void |
rowInserted(InsertEvent event)
Invoked when a row has been inserted. |
void |
rowUpdated(UpdateEvent event)
Invoked when an attribute of the row has been changed. |
protected void |
setAlive(boolean flag)
|
void |
setAllowFindMode(boolean flag)
|
void |
setBindingContainer(DCBindingContainer formBnd)
|
void |
setCurrentRowIndexInRange(int val)
|
void |
setCurrentRowWithKey(java.lang.String stringKey)
Find the row in the associated row iterator based on the Key object and if found set that as the current row. |
void |
setCurrentRowWithKeyValue(java.lang.String stringKeyValue)
Find the row in the associated row iterator based on the value for a key attribute and if found set that as the current row. |
protected void |
setDataControl(DCDataControl dataControl)
|
protected void |
setDef(DCIteratorBindingDef def)
|
void |
setFindMode(boolean mode)
Calls setFindMode(boolean mode, boolean applyCriteria) with applyCriteria = true; |
void |
setFindMode(boolean mode,
boolean applyVC)
Sets this iterator to findMode or not. |
protected void |
setIteratorMadeVisible(boolean flag)
|
void |
setRangeSize(int val)
Set current rowsetiterator's range size |
void |
setRangeStart(int val)
Set current rowsetiterator's range start |
void |
setRefreshed(boolean flag)
*** For internal framework use only *** |
void |
setRowSetEventsEnabled(boolean flag)
Set this flag if this IteratorBinding should pass on the rowset events to containing BindingContainer's RowSetListeners. |
protected void |
setSelectionAttribute(int rowIndex,
AttributeDef ad,
java.lang.Object value)
|
void |
suspendRowSetEventsHandling(boolean flag)
Set this flag to turn off reacting to RowSetIterator events. |
protected abstract void |
updateValuesFromRow(Row row)
Calls updateValueFromRow() on each instance of DCCtrlValueBinding objects associated with this iterator binding object. |
protected abstract void |
updateValuesFromRows(Row[] rows,
Row row,
boolean clear)
Calls updateValuesFromRows() on each instance of DCCtrlRangeBinding 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 |
Methods inherited from interface oracle.binding.DataChangeListener |
---|
handleDataException |
Field Detail |
---|
protected int mRangeSize
protected Row mReservedRow
protected ApplicationModule mAM
protected DCDataControl mDC
protected boolean mDoNavigation
protected Row mCreatedRowRef
public static final int RANGESIZE_DO_NOT_OVERRIDE
public static final int RANGESIZE_UNLIMITED
public static final java.lang.String TREE_NODE_PINNED_ITER
Constructor Detail |
---|
protected DCIteratorBinding()
protected DCIteratorBinding(DCIteratorBinding iterBinding)
protected DCIteratorBinding(BindingContext ctx, java.lang.String dcName, java.lang.String sourceName, java.lang.String rsiName, int rangeSize)
protected DCIteratorBinding(ApplicationModule am, java.lang.String voName, java.lang.String rsiName, int rangeSize)
protected DCIteratorBinding(ApplicationModule am, java.lang.String voName, java.lang.String rsiName)
protected DCIteratorBinding(DCDataControl dc, RowSetIterator rsi)
Method Detail |
---|
protected void setDef(DCIteratorBindingDef def)
public DCIteratorBindingDef getDef()
public void prepareForInput()
public boolean isAccessorIterator()
public final java.lang.String getDisplayName()
public java.lang.String getVOName()
public java.lang.String getSourceName()
public final java.lang.String getViewDefName()
public void reportException(boolean markDead, java.lang.Exception ex)
markDead
- if this iterator binding should be marked as not alive for
any further usage.ex
- Exception object to be reported via the BindingContainer.public void bindRowSetIterator(NavigatableRowIterator iter, boolean initRangeSize)
This method will not directly update the control-bindings for non-ADFJClient apps.
The caller can optionally call navigated(null)
method, with null for
the Event parameter to notify each control bound to this iterator binding to update
it's displayed value with the new iterator's current row.
iter
- RowIterator instance from which to display data in bound controls.initRangeSize
- determines whether this iterator's range size should be
adjusted to this binding's range size. This should be used to extend the range size
from the default in the RowIterator to whatever is required by this iterator
binding. For example, if a RowIterator whose range size is 1 is passed to this
method and a grid control is bound to this iterator binding, then the grid
may need more than one row to display from the current range. So, this
flag should be true in that case to allow the grid to get the full range
of rows to display, rather than updating its display one row at a time.protected NavigatableRowIterator internalGetRowIteratorNoCheck()
public final boolean isBoundRowIteratorEvent(JboEvent ev)
public final boolean isIteratorMadeVisible()
protected void setIteratorMadeVisible(boolean flag)
public final boolean isRowSetEventsEnabled()
public final void setRowSetEventsEnabled(boolean flag)
public void suspendRowSetEventsHandling(boolean flag)
public boolean isSuspendRowSetEventsHandling()
public boolean allowsRefreshControl()
protected Row prepareCurrentRow()
protected void refreshControl()
public void rangeRefreshed(RangeRefreshEvent event)
RowSetListener
rangeRefreshed
in interface RowSetListener
event
- a description of the new ranges.public void rangeScrolled(ScrollEvent event)
RowSetListener
rangeScrolled
in interface RowSetListener
event
- a description of the new range.public void rowInserted(InsertEvent event)
RowSetListener
rowInserted
in interface RowSetListener
event
- a description of the new Row object.public void internalGetNextRangeSet()
public void internalGetPreviousRangeSet()
public void rowDeleted(DeleteEvent event)
RowSetListener
rowDeleted
in interface RowSetListener
event
- a description of the deleted Row object.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.
public void rowUpdated(UpdateEvent event)
RowSetListener
rowUpdated
in interface RowSetListener
event
- a description of the modified Row object.public void navigated(NavigationEvent event)
RowSetListener
navigated
in interface RowNavigationListener
navigated
in interface RowSetListener
event
- a description of the new and previous current rows.protected abstract void notifyUpdateEvent(UpdateEvent event)
protected abstract void updateValuesFromRows(Row[] rows, Row row, boolean clear)
protected abstract void updateValuesFromRow(Row row)
public final java.lang.Object getSyncLock()
public void iteratorReset(RowSetManagementEvent event)
RowSetManagementListener
iteratorReset
in interface RowSetManagementListener
event
- a description of the event.public void iteratorClosed(RowSetManagementEvent event)
RowSetManagementListener
iteratorClosed
in interface RowSetManagementListener
event
- a description of the event.public ViewCriteria getViewCriteria()
public ViewObject getViewObject()
Returns null for non-bc4j collection bound IteratorBindings.
public ViewObject getViewObject(boolean bCreate)
public void resolveRangeSize(int rangeSize)
public boolean hasRSI()
public RowSetIterator getRowSetIterator()
protected RowSetIterator internalGetRowSetIterator()
protected RowSetIterator callInitSourceRSI()
protected RowSetIterator initSourceRSI()
protected ViewObject internalGetViewObject()
public NavigatableRowIterator getNavigatableRowIterator()
protected void removeDependentListeners()
protected void addDependentListeners()
protected RowSetListener getMasterListener()
public final void setAllowFindMode(boolean flag)
public final boolean isFindModeAllowed()
public final void setFindMode(boolean mode)
public final void setFindMode(boolean mode, boolean applyVC)
public final boolean isFindMode()
public final boolean needsEstimatedRowCount()
public void executeQuery()
public void executeQueryIfNeeded()
protected void doExecuteQuery()
public Row getCurrentRow()
protected Row internalGetCurrentRowInBinding()
protected Row getCurrentRowInternal()
public Row getRowAtRangeIndex(int rangeIndex)
rangeIndex
- The range index of the row.public Row[] getAllRowsInRange()
public void setBindingContainer(DCBindingContainer formBnd)
setBindingContainer
in interface DCIExecutable
setBindingContainer
in class DCExecutableBinding
protected void setDataControl(DCDataControl dataControl)
dataControl
- public final DCDataControl getDataControl()
protected DCDataControl initDataControl()
protected void internalSetDataControl(DCDataControl dc)
public final void handleAttributeNotFoundForBinding(JUCtrlValueBinding binding, int index)
protected java.lang.String[][] internalCollectAttributes()
protected void fetchAttributeProperties()
public java.util.ArrayList getValueBindingList()
protected java.util.List internalGetValueBindingList()
public void addValueBinding(DCControlBinding bnd)
public boolean removeValueBinding(DCControlBinding bnd)
public java.util.ArrayList getActionBindingList()
public void addActionBinding(DCControlBinding bnd)
public void removeCurrentRow()
public boolean removeActionBinding(DCControlBinding bnd)
public RowSetIterator getLovRowSetIterator()
public void release()
public void releaseData()
protected void releaseDataInternal()
protected void resetFindMode()
public void invalidateCache()
public void release(int flags)
DCExecutableBinding
release
in interface DCIExecutable
release
in class DCExecutableBinding
public void processInputException()
public void processInputException(JboException errExc)
public JboException getError()
public AttributeDef[] getAttributeDefs()
public AttributeDef[] getAttributeDefs(boolean bRefresh)
public java.lang.String getIteratorDefName()
public boolean hasKeyAttributes()
public java.lang.String[] getIteratorSubstitutedDefNames()
public AttributeDef[] getAttributeDefs(java.lang.String[] attrNames)
public int getRangeSize()
public int getChangeEventRate()
protected void internalInitRangeSize(int val)
public void setRangeSize(int val)
public int getRangeStart()
public void setRangeStart(int val)
public int getCurrentRowIndexInRange()
public void setCurrentRowIndexInRange(int val)
public void setCurrentRowWithKeyValue(java.lang.String stringKeyValue)
stringKeyValue
- String form of the Key object created using Key.toStringFormat(true/false)public java.lang.String getCurrentRowWithKeyValue()
public java.lang.String getRowKeyString(Row r)
public Row findRowByKeyString(java.lang.String s)
public java.lang.String getCurrentRowKeyString()
public Key createKey(java.lang.String stringKey)
public void setCurrentRowWithKey(java.lang.String stringKey)
stringKey
- String form of the Key object created using Key.toStringFormat(true/false)public void removeRowWithKey(java.lang.String stringKey)
protected void setAlive(boolean flag)
public boolean isAlive()
public final boolean isBound()
public long getEstimatedRowCount()
public long getDeferredEstimatedRowCount()
public void applySortCriteria(SortCriteria[] sortby)
public SortCriteria[] getSortCriteria()
public boolean isSortable()
public boolean isAttributeSortable(AttributeDef ad)
public boolean isOperationSupported(byte oper)
protected ApplicationModule getApplicationModule()
public void internalReserveCurrentRow()
protected boolean matchReservedRowWithUpdateEvent(Row row)
protected void reserveRowWithKey(Key key)
protected boolean matchRowKeyWithAttrException(AttrValException ave)
protected void cacheCreatedRow(RowSetIterator rsi, Row row)
public int getExecutableType()
getExecutableType
in interface DCIExecutable
getExecutableType
in class DCExecutableBinding
public void refresh(int id)
refresh
in interface DCIExecutable
public boolean hasRefreshParametersChanged()
DCExecutableBinding
hasRefreshParametersChanged
in interface DCIExecutable
hasRefreshParametersChanged
in class DCExecutableBinding
public oracle.adf.model.binding.DCIExecutableDef getExecutableDef()
DCExecutableBinding
getExecutableDef
in interface DCIExecutable
getExecutableDef
in class DCExecutableBinding
protected java.lang.Object internalGet(java.lang.String key)
internalGet
in class DCExecutableBinding
public java.util.Map getHints()
public java.lang.String getPermissionTargetName()
getPermissionTargetName
in class DCExecutableBinding
public PermissionInfo getPermissionInfo()
getPermissionInfo
in class DCExecutableBinding
protected void disableTokenValidation()
public void setRefreshed(boolean flag)
DCExecutableBinding
setRefreshed
in interface DCIExecutable
setRefreshed
in class DCExecutableBinding
public java.lang.Object getStateVariableForBinding(DCControlBinding binding, java.lang.String varName)
public void removeStateVariableForBinding(DCControlBinding binding, java.lang.String varName)
public void addStateVariableForBinding(DCControlBinding binding, java.lang.String varName, java.lang.Object value)
public RowIterator findRowsByAttributeValues(java.lang.String[] attrNames, java.lang.Object[] values)
public RowIterator findRowsByAttributeValues(java.lang.String[] attrNames, java.lang.Object[] values, int count)
public RowIterator findRowsByKeyValues(Key[] keys)
public RowIterator findRowsByKeyValues(Key[] keys, int count)
public RowIterator findRowsByAttributeValue(java.lang.String attrName, boolean equals, java.lang.Object value)
public RowIterator findRowsByAttributeValue(java.lang.String attrName, boolean equals, java.lang.Object value, int count)
protected void setSelectionAttribute(int rowIndex, AttributeDef ad, java.lang.Object value)
protected AttributeDef findOrCreateSelectionAttributeDef(DCControlBinding binding, java.lang.String baseName, java.lang.String type)
binding
- protected boolean isReservedRowNotForNode()
public void clearForRecreate()
protected boolean mergeFKsToDCEKeys()
public abstract void dataChanged(DataChangeEvent event)
DataChangeListener
dataChanged
in interface DataChangeListener
protected void addDataChangeListener(JUCtrlValueBinding binding)
protected void removeDataChangeListener(JUCtrlValueBinding binding)
public final DCIteratorBinding.RenderHintTypes getRenderHint()
public void initializeForPushDataChangeEvents()
public boolean hasBindingsWithPushChangeEvents()
protected void cacheRefOnOperation(DCInvokeMethod info)
public final java.lang.Object getParallelizationContext()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |