Skip navigation links
oracle.jbo.common
Class ListBindingDef
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.jbo.common.ListBindingDef
- All Implemented Interfaces:
- ResourceBundleOwner, DiffMergeable, DefPersistable, PersistentDefinition
- Direct Known Subclasses:
- ListBindingDefImpl
-
public class ListBindingDef
- extends PersistableDefObject
- implements ResourceBundleOwner
Fields inherited from class oracle.jbo.mom.DefinitionObject |
DEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP |
Method Summary |
static java.lang.String |
convertListNullValueFlag(int nullValueFlag)
For internal use only |
static int |
convertListNullValueFlag(java.lang.String str)
For internal use only |
static boolean |
convertToBoolean(java.lang.Object val)
|
static int |
convertToInt(java.lang.Object val)
|
static int[] |
convertToIntArray(java.lang.Object[] arr)
|
void |
copyFrom(ListBindingDef def)
Internal: Applications should not use this method. |
DifferDetails |
diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
|
DifferDetails |
diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
|
RowSetIterator |
filterAndApplyListWithCaseCheck(RowSetIterator listRSI, java.util.Map valuesMap, Row targetRow, ViewCriteria criteria, boolean exact, boolean checkForCase, boolean ignoreOper, boolean apply)
Deprecated. |
RowSetIterator |
filterList(RowSetIterator listRSI, java.util.Map valuesMap, Row targetRow, ViewCriteria criteria, boolean exact, boolean checkForCase)
Deprecated. |
java.lang.String[] |
getAttrExpressions()
|
java.lang.String[] |
getAttrNames()
|
int |
getComboDisplayAttributeCount()
Returns the count of attributes that should be displayed in a combo dropdown. |
int |
getComboDisplayRowCountHint()
Returns the count of attributes that should be displayed in a combo dropdown. |
java.lang.String |
getDefXMLElementTag()
|
java.lang.String |
getDelimiter()
|
java.lang.String[] |
getDerivedAttrNames()
|
java.lang.String |
getDisplayCriteriaName()
|
java.lang.String[] |
getLabelList()
|
java.lang.String[] |
getListAttrNames()
|
java.lang.String[] |
getListDisplayAttrNames()
|
int |
getListRangeSize()
|
java.lang.String |
getListRSIName()
|
java.lang.String |
getListVOName()
|
int |
getMRUCount()
|
int |
getNullValueFlag()
|
java.lang.String |
getNullValueId()
|
java.lang.String |
getNullValueText(java.util.Locale locale)
|
java.lang.String |
getPreferredCriteriaName()
|
ResourceBundleDef |
getResourceBundleDef()
|
java.lang.String |
getResourcePrefix()
|
boolean |
getRowLevelBinds()
|
java.util.List<java.lang.String> |
getSelectedDisplayValues(RowSetIterator rsi, Row currentRow)
Deprecated. |
java.lang.Object[] |
getValueList()
|
void |
init(java.util.HashMap initValues)
|
boolean |
isAutoExecuteCriteria()
|
boolean |
isCriteriaShown()
|
boolean |
isMRUCountDefined()
For internal use only. |
boolean |
isStaticList()
|
void |
loadFromXML(DefElement xmlElement)
|
static void |
readXMLBoolean(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
|
static void |
readXMLInt(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
|
static void |
readXMLString(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
|
static void |
readXMLStringArray(DefElement xmlElement, java.lang.String name, java.util.HashMap valueTab)
|
void |
setAttrExpressions(java.lang.String[] attrExprs)
|
void |
setAttrNames(java.lang.String[] attrNames)
|
void |
setAutoExecuteCriteria(boolean val)
|
void |
setComboDisplayAttributeCount(int listRangeSize)
|
void |
setComboDisplayRowCountHint(int listRangeSize)
|
void |
setCriteriaShown(boolean val)
|
void |
setDelimiter(java.lang.String de)
|
void |
setDerivedAttrNames(java.lang.String[] derivedAttrNames)
|
void |
setDisplayCriteriaName(java.lang.String name)
|
void |
setLabelList(java.lang.String[] list)
|
void |
setListAttrNames(java.lang.String[] listAttrNames)
|
void |
setListDisplayAttrNames(java.lang.String[] str)
|
void |
setListRangeSize(int listRangeSize)
|
void |
setListRSIName(java.lang.String listRSIName)
|
void |
setListVOName(java.lang.String voName)
|
void |
setMRUCount(int count)
|
void |
setNullValueFlag(int flag)
|
void |
setNullValueId(java.lang.String s)
|
void |
setNullValueText(java.lang.String text)
|
void |
setParent(NamedObjectImpl parent)
Sets this object's parent. |
void |
setPreferredCriteriaName(java.lang.String criteriaName)
|
void |
setResourceBundleDef(ResourceBundleDef def)
|
void |
setRowLevelBinds(boolean bRowLevelBinds)
|
void |
setStaticList(boolean staticList)
|
void |
setValueList(java.lang.Object[] valList)
|
void |
writeChildren(DefWriter jos)
Writes the Object's children to the Persistent storage |
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, applyDiffChildren, applyDiffContents, checkEditable, checkStructWithOld, close, createFromXML, deregisterSessionObject, diffObjects, ensureDifferDetails, findDefImport, finishedLoading, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLNameSpace, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getEditVersionsAsString, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getMajorVersion, getMinorVersion, getOrigObject, getPropertyMap, getSessionSyncLock, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, loadXMLContents, lockDefinitionContext, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerDefObject, registerSessionDefObject, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setEditableFlag, setEditableObject, setFullName, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setupDefWriterFromMO, staticUpdateChildrenList, unlockDefinitionContext, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeObject, writeVersion, writeXMLContents |
Methods inherited from class oracle.jbo.mom.DefinitionObject |
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getBaseDefObject, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDeprecated, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, isSuppressUpdateCheck, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setPropertySetName, suppressUpdateCheck |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIST_CRITERIA_NAME
public static final java.lang.String LIST_CRITERIA_NAME
-
- See Also:
- Constant Field Values
LIST_CRITERIA_DISPLAY_HINT
public static final java.lang.String LIST_CRITERIA_DISPLAY_HINT
-
- See Also:
- Constant Field Values
LIST_CRITERIA_DISPLAY_HINT_EXECUTE
public static final java.lang.String LIST_CRITERIA_DISPLAY_HINT_EXECUTE
-
- See Also:
- Constant Field Values
LIST_CRITERIA_DISPLAY_HINT_HIDE
public static final java.lang.String LIST_CRITERIA_DISPLAY_HINT_HIDE
-
- See Also:
- Constant Field Values
PNAME_StaticList
public static final java.lang.String PNAME_StaticList
-
- See Also:
- Constant Field Values
PNAME_StaticListDT
public static final java.lang.String PNAME_StaticListDT
-
- See Also:
- Constant Field Values
PNAME_AttrNames
public static final java.lang.String PNAME_AttrNames
-
- See Also:
- Constant Field Values
PNAME_AttrExpressions
public static final java.lang.String PNAME_AttrExpressions
-
- See Also:
- Constant Field Values
PNAME_DerivedAttrNames
public static final java.lang.String PNAME_DerivedAttrNames
-
- See Also:
- Constant Field Values
PNAME_ListAttrNames
public static final java.lang.String PNAME_ListAttrNames
-
- See Also:
- Constant Field Values
PNAME_ListDisplayAttrNames
public static final java.lang.String PNAME_ListDisplayAttrNames
-
- See Also:
- Constant Field Values
PNAME_ListRangeSize
public static final java.lang.String PNAME_ListRangeSize
-
- See Also:
- Constant Field Values
PNAME_ValueList
public static final java.lang.String PNAME_ValueList
-
- See Also:
- Constant Field Values
PNAME_LabelList
public static final java.lang.String PNAME_LabelList
-
- See Also:
- Constant Field Values
PNAME_ListVOName
public static final java.lang.String PNAME_ListVOName
-
- See Also:
- Constant Field Values
PNAME_ListRSIName
public static final java.lang.String PNAME_ListRSIName
-
- See Also:
- Constant Field Values
PNAME_ListIterName
public static final java.lang.String PNAME_ListIterName
-
- See Also:
- Constant Field Values
STR_LIST_ADD_NULL_NOWHERE
public static final java.lang.String STR_LIST_ADD_NULL_NOWHERE
-
- See Also:
- Constant Field Values
STR_LIST_ADD_NULL_AT_START
public static final java.lang.String STR_LIST_ADD_NULL_AT_START
-
- See Also:
- Constant Field Values
STR_LIST_ADD_NULL_AT_END
public static final java.lang.String STR_LIST_ADD_NULL_AT_END
-
- See Also:
- Constant Field Values
PNAME_ComboAttrCount
public static final java.lang.String PNAME_ComboAttrCount
-
- See Also:
- Constant Field Values
PNAME_ComboRowCount
public static final java.lang.String PNAME_ComboRowCount
-
- See Also:
- Constant Field Values
PNAME_MRUCount
public static final java.lang.String PNAME_MRUCount
-
- See Also:
- Constant Field Values
PNAME_MRUId
public static final java.lang.String PNAME_MRUId
-
- See Also:
- Constant Field Values
PNAME_ListOperMode
public static final java.lang.String PNAME_ListOperMode
-
- See Also:
- Constant Field Values
PNAME_ListDelimiter
public static final java.lang.String PNAME_ListDelimiter
-
- See Also:
- Constant Field Values
PNAME_ListServerBindingName
public static final java.lang.String PNAME_ListServerBindingName
-
- See Also:
- Constant Field Values
PNAME_ListNullValueFlag
public static final java.lang.String PNAME_ListNullValueFlag
-
- See Also:
- Constant Field Values
PNAME_ListNullValueId
public static final java.lang.String PNAME_ListNullValueId
-
- See Also:
- Constant Field Values
PNAME_RowLevelBinds
public static final java.lang.String PNAME_RowLevelBinds
-
- See Also:
- Constant Field Values
ListBindingDef
public ListBindingDef(DefinitionManager defMgr,
int defScope)
ListBindingDef
public ListBindingDef(ListBindingDef other)
init
public void init(java.util.HashMap initValues)
setParent
public void setParent(NamedObjectImpl parent)
- Description copied from class:
DefinitionObject
- Sets this object's parent.
-
- Overrides:
setParent
in class DefinitionObject
-
- Parameters:
parent
- the named object that is to be the parent of this object.
copyFrom
public void copyFrom(ListBindingDef def)
- Internal: Applications should not use this method.
setDisplayCriteriaName
public void setDisplayCriteriaName(java.lang.String name)
setAutoExecuteCriteria
public void setAutoExecuteCriteria(boolean val)
setCriteriaShown
public void setCriteriaShown(boolean val)
getDisplayCriteriaName
public java.lang.String getDisplayCriteriaName()
isAutoExecuteCriteria
public boolean isAutoExecuteCriteria()
isCriteriaShown
public boolean isCriteriaShown()
isStaticList
public boolean isStaticList()
setStaticList
public void setStaticList(boolean staticList)
getListVOName
public java.lang.String getListVOName()
setListVOName
public void setListVOName(java.lang.String voName)
getDelimiter
public java.lang.String getDelimiter()
setDelimiter
public void setDelimiter(java.lang.String de)
getAttrExpressions
public java.lang.String[] getAttrExpressions()
setAttrExpressions
public void setAttrExpressions(java.lang.String[] attrExprs)
getAttrNames
public java.lang.String[] getAttrNames()
setAttrNames
public void setAttrNames(java.lang.String[] attrNames)
getDerivedAttrNames
public java.lang.String[] getDerivedAttrNames()
setDerivedAttrNames
public void setDerivedAttrNames(java.lang.String[] derivedAttrNames)
getListRSIName
public java.lang.String getListRSIName()
setListRSIName
public void setListRSIName(java.lang.String listRSIName)
getListAttrNames
public java.lang.String[] getListAttrNames()
setListAttrNames
public void setListAttrNames(java.lang.String[] listAttrNames)
getListDisplayAttrNames
public java.lang.String[] getListDisplayAttrNames()
setListDisplayAttrNames
public void setListDisplayAttrNames(java.lang.String[] str)
getListRangeSize
public int getListRangeSize()
setListRangeSize
public void setListRangeSize(int listRangeSize)
getComboDisplayAttributeCount
public int getComboDisplayAttributeCount()
- Returns the count of attributes that should be displayed in a combo dropdown.
getComboDisplayRowCountHint
public int getComboDisplayRowCountHint()
- Returns the count of attributes that should be displayed in a combo dropdown.
setComboDisplayAttributeCount
public void setComboDisplayAttributeCount(int listRangeSize)
setComboDisplayRowCountHint
public void setComboDisplayRowCountHint(int listRangeSize)
getValueList
public java.lang.Object[] getValueList()
setValueList
public void setValueList(java.lang.Object[] valList)
getLabelList
public java.lang.String[] getLabelList()
setLabelList
public void setLabelList(java.lang.String[] list)
getPreferredCriteriaName
public java.lang.String getPreferredCriteriaName()
setPreferredCriteriaName
public void setPreferredCriteriaName(java.lang.String criteriaName)
getMRUCount
public int getMRUCount()
setMRUCount
public void setMRUCount(int count)
isMRUCountDefined
public boolean isMRUCountDefined()
- For internal use only.
-
- Returns:
- true if an MRU count was explicitly specified on this definition object.
getRowLevelBinds
public boolean getRowLevelBinds()
setRowLevelBinds
public void setRowLevelBinds(boolean bRowLevelBinds)
getNullValueFlag
public int getNullValueFlag()
setNullValueFlag
public void setNullValueFlag(int flag)
getNullValueId
public java.lang.String getNullValueId()
setNullValueId
public void setNullValueId(java.lang.String s)
setResourceBundleDef
public void setResourceBundleDef(ResourceBundleDef def)
getResourceBundleDef
public ResourceBundleDef getResourceBundleDef()
-
- Specified by:
getResourceBundleDef
in interface ResourceBundleOwner
getResourcePrefix
public java.lang.String getResourcePrefix()
-
- Specified by:
getResourcePrefix
in interface ResourceBundleOwner
getNullValueText
public java.lang.String getNullValueText(java.util.Locale locale)
setNullValueText
public void setNullValueText(java.lang.String text)
loadFromXML
public void loadFromXML(DefElement xmlElement)
writeChildren
public void writeChildren(DefWriter jos)
- Description copied from interface:
PersistentDefinition
- Writes the Object's children to the Persistent storage
-
- Specified by:
writeChildren
in interface PersistentDefinition
- Overrides:
writeChildren
in class PersistableDefObject
-
- Parameters:
jos
- the Output storage for persistence
writeContents
public void writeContents(DefWriter jos)
- Description copied from interface:
PersistentDefinition
- Objects should write their persistence output in this method
-
- Specified by:
writeContents
in interface PersistentDefinition
- Overrides:
writeContents
in class PersistableDefObject
-
- Parameters:
jos
- the Output storage for persistence
diffContents
public DifferDetails diffContents(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
-
- Specified by:
diffContents
in interface DiffMergeable
- Overrides:
diffContents
in class PersistableDefObject
diffChildren
public DifferDetails diffChildren(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails)
-
- Specified by:
diffChildren
in interface DiffMergeable
- Overrides:
diffChildren
in class PersistableDefObject
convertListNullValueFlag
public static int convertListNullValueFlag(java.lang.String str)
- For internal use only
convertListNullValueFlag
public static java.lang.String convertListNullValueFlag(int nullValueFlag)
- For internal use only
convertToInt
public static int convertToInt(java.lang.Object val)
convertToBoolean
public static boolean convertToBoolean(java.lang.Object val)
convertToIntArray
public static int[] convertToIntArray(java.lang.Object[] arr)
readXMLString
public static void readXMLString(DefElement xmlElement,
java.lang.String name,
java.util.HashMap valueTab)
readXMLInt
public static void readXMLInt(DefElement xmlElement,
java.lang.String name,
java.util.HashMap valueTab)
readXMLBoolean
public static void readXMLBoolean(DefElement xmlElement,
java.lang.String name,
java.util.HashMap valueTab)
readXMLStringArray
public static void readXMLStringArray(DefElement xmlElement,
java.lang.String name,
java.util.HashMap valueTab)
getDefXMLElementTag
public java.lang.String getDefXMLElementTag()
-
- Specified by:
getDefXMLElementTag
in interface PersistentDefinition
- Overrides:
getDefXMLElementTag
in class PersistableDefObject
filterList
public RowSetIterator filterList(RowSetIterator listRSI,
java.util.Map valuesMap,
Row targetRow,
ViewCriteria criteria,
boolean exact,
boolean checkForCase)
- Deprecated.
-
- For internal use only. Application developers should not use this
- only for framework use. may be removed without notice.
filterAndApplyListWithCaseCheck
public RowSetIterator filterAndApplyListWithCaseCheck(RowSetIterator listRSI,
java.util.Map valuesMap,
Row targetRow,
ViewCriteria criteria,
boolean exact,
boolean checkForCase,
boolean ignoreOper,
boolean apply)
- Deprecated.
-
- For internal use only. Application developers should not use this
- only for framework use. may be removed without notice.
getSelectedDisplayValues
public java.util.List<java.lang.String> getSelectedDisplayValues(RowSetIterator rsi,
Row currentRow)
- Deprecated.
-
- For internal use only. Application developers should not use this
- only for framework use. may be removed without notice.
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.