|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.AbstractListBinding
public abstract class AbstractListBinding
Field Summary | |
---|---|
static java.lang.String |
INTERNAL_LOV_VCR_QUERY_CHANGED
|
static java.lang.String |
INTERNAL_LOV_VCR_SUFFIX
|
static int |
LIST_ADD_NULL_AT_END
|
static int |
LIST_ADD_NULL_AT_START
|
static int |
LIST_ADD_NULL_NOWHERE
|
static int |
LIST_ADD_NULL_UNINIT
|
static int |
LIST_OPER_NAVIGATE
Indicates that list binding will be used to navigate Rows in a RowIterator. |
static int |
LIST_OPER_SET_ATTRIBUTE
Indicates this list binding will be used to update attributes in a target ViewObject. |
protected AttributeDef |
mFirstDisplayAttr
|
protected int |
mNullValueFlag
|
protected boolean |
mSingleAttrList
|
protected java.lang.Object[] |
mValueList
|
Constructor Summary | |
---|---|
protected |
AbstractListBinding(ListBindingDef def,
StructureDef component)
|
|
AbstractListBinding(ListBindingDef def,
StructureDef component,
RowSetIterator listIter)
|
Method Summary | |
---|---|
void |
autoClear(Row curRow)
|
RowSetIterator |
filterList(java.util.Map valuesMap,
Row curRow,
ViewCriteria vc)
Advanced internal method. |
RowSetIterator |
filterList(java.util.Map valuesMap,
Row curRow,
ViewCriteria vc,
java.util.ArrayList varvals)
Deprecated. use filterList(Map, Row, ViewCriteria, ArrayList, boolean) |
RowSetIterator |
filterList(java.util.Map valuesMap,
Row curRow,
ViewCriteria vc,
java.util.ArrayList varvals,
boolean exactMatch)
Advanced internal method. |
RowSetIterator |
filterList(java.util.Map valuesMap,
Row curRow,
ViewCriteria vc,
java.util.ArrayList varvals,
java.util.Map attrNameValues,
boolean exactMatch)
* Advanced internal method. |
protected RowSetIterator |
filterListWithCaseSensitiveCheck(java.util.Map valuesMap,
Row curRow,
ViewCriteria vc,
java.util.ArrayList varvals,
java.util.Map attrNameValues,
boolean exactMatch,
boolean checkForCase)
* Advanced internal method. |
protected boolean |
forceFilterListExecute(java.util.Map valuesMap)
For subclasses to consult appropriate row class on whether the list binding rowset needs to be re-executed on every value change. |
ListBindingDef |
getDef()
|
protected java.lang.Object[] |
getDrivingValues(Row row)
|
protected java.lang.Object[] |
getDrivingValues(Row row,
java.util.Map attrNameValues)
|
RowSetIterator |
getListRSI()
|
protected Row |
getRowForVariableEvaluation(Row curRow)
|
protected abstract void |
handleListBindingMismatch(Row row,
java.util.Map valuesMap,
RowIterator listRSI)
|
boolean |
isApplyNecessary(java.util.Map map)
|
protected boolean |
isInited()
|
void |
resetCriteria()
|
void |
setListRSI(RowSetIterator listIter)
|
protected void |
setTargetAttrsFromLovRow(Row targetRow,
Row lovRow)
|
protected boolean |
skipFilterListOnKeyAttributes(java.util.Map valuesMap)
For subclasses to consult appropriate row class on whether the entries in valuesMap are key attributes and if their values are null, should filterList perform any filtering or just return the existing list rowsetiterator as is. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int LIST_OPER_SET_ATTRIBUTE
public static int LIST_OPER_NAVIGATE
protected boolean mSingleAttrList
public static final int LIST_ADD_NULL_UNINIT
public static final int LIST_ADD_NULL_NOWHERE
public static final int LIST_ADD_NULL_AT_START
public static final int LIST_ADD_NULL_AT_END
protected int mNullValueFlag
protected java.lang.Object[] mValueList
public static final java.lang.String INTERNAL_LOV_VCR_SUFFIX
public static final java.lang.String INTERNAL_LOV_VCR_QUERY_CHANGED
protected AttributeDef mFirstDisplayAttr
Constructor Detail |
---|
public AbstractListBinding(ListBindingDef def, StructureDef component, RowSetIterator listIter)
protected AbstractListBinding(ListBindingDef def, StructureDef component)
Method Detail |
---|
public boolean isApplyNecessary(java.util.Map map)
public void resetCriteria()
public RowSetIterator getListRSI()
protected boolean isInited()
public void setListRSI(RowSetIterator listIter)
public ListBindingDef getDef()
protected java.lang.Object[] getDrivingValues(Row row)
protected java.lang.Object[] getDrivingValues(Row row, java.util.Map attrNameValues)
protected void setTargetAttrsFromLovRow(Row targetRow, Row lovRow)
public RowSetIterator filterList(java.util.Map valuesMap, Row curRow, ViewCriteria vc)
Given a map of attribute names and values that they map to, shorten the data that this list is exposing.
This method establishes a new ViewCriteria on the collection that the list source iterator binding is bound to. Looks up values from the given map based on the Attribute names in the associated list source collection and sets the corresponding values on a new ViewCriteria row that is added to the ViewCriteria and then applied on the collection to filter the collection.
If the filtered list has only one row then that row is assumed as the selected row and list selection index is set to that row.
public RowSetIterator filterList(java.util.Map valuesMap, Row curRow, ViewCriteria vc, java.util.ArrayList varvals)
public RowSetIterator filterList(java.util.Map valuesMap, Row curRow, ViewCriteria vc, java.util.ArrayList varvals, boolean exactMatch)
Given a map of attribute names and values that they map to, shorten the data that this list is exposing.
This method establishes a new ViewCriteria on the collection that the list source iterator binding is bound to. Looks up values from the given map based on the Attribute names in the associated list source collection and sets the corresponding values on a new ViewCriteria row that is added to the ViewCriteria based on exactMatch flag and then applied on the collection to filter the collection.
If the filtered list has only one row then that row is assumed as the selected row and list selection index is set to that row.
If exactMatch flag is not on, then each value is appended with a wildChar for LIKE kind of queries to get all possible choices.
public RowSetIterator filterList(java.util.Map valuesMap, Row curRow, ViewCriteria vc, java.util.ArrayList varvals, java.util.Map attrNameValues, boolean exactMatch)
protected RowSetIterator filterListWithCaseSensitiveCheck(java.util.Map valuesMap, Row curRow, ViewCriteria vc, java.util.ArrayList varvals, java.util.Map attrNameValues, boolean exactMatch, boolean checkForCase)
protected Row getRowForVariableEvaluation(Row curRow)
protected boolean skipFilterListOnKeyAttributes(java.util.Map valuesMap)
valuesMap
- given a map of attribute names and values that they map to,
shorten the data that this list is exposing.
true
if the list rowset needs to skip executing
the list rowset for change the valuesprotected boolean forceFilterListExecute(java.util.Map valuesMap)
valuesMap
- given a map of attribute names and values that they map to,
shorten the data that this list is exposing.
true
if the list rowset needs to be re-executed
even when there is no change in filter values.public void autoClear(Row curRow)
protected abstract void handleListBindingMismatch(Row row, java.util.Map valuesMap, RowIterator listRSI)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |