Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

oracle.jbo.uicli.binding
Class JUCtrlListDef

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.adf.model.binding.DCDefBase
                  extended by oracle.adf.model.binding.DCControlBindingDef
                      extended by oracle.jbo.uicli.binding.JUControlDef
                          extended by oracle.jbo.uicli.binding.JUCtrlValueDef
                              extended by oracle.jbo.uicli.binding.JUCtrlAttrsDef
                                  extended by oracle.jbo.uicli.binding.JUCtrlListDef
All Implemented Interfaces:
DefPersistable, PersistentDefinition, ValidationManager
Direct Known Subclasses:
JUComboBoxDef, JUCtrlBoolDef, JUListSingleSelDef, JULovButtonDef, JUSpinnerDef

public class JUCtrlListDef
extends JUCtrlAttrsDef


Field Summary
static java.lang.String DEF_MRU_SEP
           
protected  int mNullValueFlag
           
static java.lang.String PNAME_AttrExpressions
           
static java.lang.String PNAME_DerivedAttrNames
           
static java.lang.String PNAME_LabelList
           
static java.lang.String PNAME_ListAttrNames
           
static java.lang.String PNAME_ListDisplayAttrNames
           
static java.lang.String PNAME_ListIterName
           
static java.lang.String PNAME_ListNullValueFlag
           
static java.lang.String PNAME_ListOperMode
           
static java.lang.String PNAME_ListRangeSize
           
static java.lang.String PNAME_ListRSIName
           
static java.lang.String PNAME_ListServerBindingName
           
static java.lang.String PNAME_ListVOName
           
static java.lang.String PNAME_MRUCount
           
static java.lang.String PNAME_MRUId
           
static java.lang.String PNAME_SearchCriteria
           
static java.lang.String PNAME_StaticList
           
static java.lang.String PNAME_ValueList
           
static java.lang.String STR_LIST_ADD_NULL_AT_END
           
static java.lang.String STR_LIST_ADD_NULL_AT_START
           
static java.lang.String STR_LIST_ADD_NULL_NOWHERE
           
static java.lang.String STR_LIST_OPER_MULTI_SELECT
           
static java.lang.String STR_LIST_OPER_NAVIGATE
           
static java.lang.String STR_LIST_OPER_SET_ATTRIBUTE
           
 
Fields inherited from class oracle.jbo.uicli.binding.JUCtrlValueDef
DEFAULT_HANDLER, PNAME_ApplyValidation, PNAME_AttrNames, PNAME_AttrViewExprs, PNAME_CtrlPermission, PNAME_IncludeSelectionAttr, PNAME_InputHandler, PNAME_ListNullValueId, PNAME_Permissions, PNAME_SelectionAttr, PNAME_SelectionValue, PNAME_UnSelectionValue, PNAME_UseRowHints
 
Fields inherited from class oracle.adf.model.binding.DCControlBindingDef
PNAME_ControlBindingClass, PNAME_ControlClass, PNAME_CustomInputHandler, PNAME_InitialValue, PNAME_IterBinding, PNAME_TYPE, PNAME_Viewable
 
Fields inherited from class oracle.adf.model.binding.DCDefBase
DEF_XMLNS, DEF_XMLNS_BASE, EMPTY_STR, PNAME_AccessorIterator, PNAME_Action, PNAME_Boolean, PNAME_Button, PNAME_ButtonGroup, PNAME_Calendar, PNAME_ComboBox, PNAME_DataControlAction, PNAME_DefaultControl, PNAME_DynamicTable, PNAME_EnumList, PNAME_EventBinding, PNAME_EventEnabled, PNAME_EventEnabled_NONE, PNAME_EventEnabled_PPR, PNAME_EventEnabled_PUSH, PNAME_FormattedTextField, PNAME_Graph, PNAME_HGrid, PNAME_Iterator, PNAME_Label, PNAME_ListSingleSel, PNAME_LovButton, PNAME_LOVList, PNAME_MethodAction, PNAME_MethodIterator, PNAME_NavigationBar, PNAME_NavigationList, PNAME_Panel, PNAME_Parameter, PNAME_Permission, PNAME_ProgressBar, PNAME_ProgressBarAttr, PNAME_Range, PNAME_ScrollBar, PNAME_ScrollBarAttr, PNAME_Shuttle, PNAME_Slider, PNAME_SliderAttr, PNAME_Spinner, PNAME_Table, PNAME_TextField, PNAME_ToplinkIterator, PNAME_Tree, PNAME_TreeTable
 
Fields inherited from class oracle.jbo.mom.DefinitionObject
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY
 
Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX
 
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT
 
Constructor Summary
JUCtrlListDef()
           
JUCtrlListDef(java.lang.String name, java.lang.String controlClassName, java.lang.String controlBindingClassName, java.lang.String iterBindingName, java.lang.String[] attrNames, boolean staticList, java.lang.String listVOName, java.lang.String listRSIName, java.lang.String[] listAttrNames, java.lang.Object[] valueList)
           
 
Method Summary
static int convertListNullValueFlag(java.lang.String str)
          For internal use only
static int convertListOperModeStr(java.lang.String str)
          for internal use only.
protected  DCControlBinding createControlBindingInstance(java.lang.Object control, DCBindingContainer formBnd)
           
protected  JUCtrlListBinding createListBindingInstance(java.lang.Object control, DCIteratorBinding iterBinding, java.lang.String[] attrNames, DCIteratorBinding listIterBinding, java.lang.String[] listAttrNames, java.lang.String[] listDisplayAttrNames)
           
protected  JUCtrlListBinding createListBindingInstance(java.lang.Object control, DCIteratorBinding iterBinding, java.lang.String[] attrNames, int listOperMode)
           
protected  JUCtrlListBinding createListBindingInstance(java.lang.Object control, DCIteratorBinding iterBinding, java.lang.String[] attrNames, java.lang.Object[] valueList)
           
protected  JUCtrlListBinding createListBindingInstance(java.lang.Object control, DCIteratorBinding iterBinding, java.lang.String[] attrNames, java.lang.String serverBindingName)
           
protected  DCIteratorBinding findListIteratorBinding(DCBindingContainer formBinding)
           
 java.lang.String[] getDerivedAttrNames()
           
protected  java.lang.String getDisplayCriteriaName()
          If server based binding, then return criteria name for the criteria to display from the server binding.
 java.lang.String[] getLabelList()
           
 java.lang.String[] getListAttrNames()
           
protected  AbstractListBinding getListBindingService(StructureDef component, RowSetIterator listIter)
           
 java.lang.String[] getListDisplayAttrNames()
           
 java.lang.String getListIteratorBindingName()
           
 int getListOperMode()
           
 int getListRangeSize()
          *** For internal framework use only ***
 java.lang.String getListRSIName()
          *** For internal framework use only ***
 java.lang.String getListVOName()
          *** For internal framework use only ***
 int getMRUCount()
           
 int getNullValueFlag()
           
protected  java.lang.String getNullValueText(java.util.Locale locale)
           
 boolean getRowLevelBinds()
           
 java.lang.Object[] getValueList()
           
 void init(java.util.HashMap initValues)
           
protected  void initializeControlBinding(DCBindingContainer formBnd, DCControlBinding controlBnd)
           
protected  void initSubType()
           
protected  boolean isAutoExecuteCriteria()
          If server based binding, then return if the criteria needs to be auto-executed.
protected  boolean isCriteriaShown()
          If server based binding, then return if the list UI should display any criteria.
 boolean isStaticList()
           
 void loadChildrenFromXML(DefElement xmlElement)
           
protected  void retrieveFromXML(DefElement xmlElement, java.util.HashMap valueTab)
           
 void setListOperMode(int listOperMode)
           
 void setListRangeSize(int listRangeSize)
           
 void setStaticList(boolean staticList)
          *** For internal framework use only ***
protected  boolean usesServerBinding()
           
 
Methods inherited from class oracle.jbo.uicli.binding.JUCtrlValueDef
addValidator, getAttrNames, getAttrViewExpressions, getChangeEventPolicy, getCustomInputHandler, getEventDefList, getFirstAttrName, getIterBinding, getMessageBundleClass, getNullValueId, getNullValueObject, getResourceBundleDef, getSelectionDef, getValidators, hasCustomInputHandler, initSelectionDef, isApplyValidation, isPushDataChangeEvents, isUseRowHints, loadCustomDef, loadEventDefinitions, loadFromXML, setApplyValidation, setAttributeNames, setCustomInputHandler, setEventDefList, setNullValueObject, setSelectionDef, setUseRowHints
 
Methods inherited from class oracle.adf.model.binding.DCControlBindingDef
createControl, createControlBinding, createControlBinding, findControlBinding, getBindingContainerDef, getControlBindingClassName, getControlClassName, getDefTypeId, getDesignTimeClass, getInitialValue, getIterBinding, getIterBindingName, getLayoutCons, getViewableExpr, getXMLElementTag, setBindingContainerDef, setControlBindingClassName, setControlClassName, setInitialValue, setIterBindingName
 
Methods inherited from class oracle.adf.model.binding.DCDefBase
convertToBoolean, convertToDataChangePolicy, convertToInt, convertToIntArray, convertToLong, createAndLoadFromXML, getDefClassName, getDefXMLNameSpace, getPermissionDef, getPersonalizer, getPersonalizerClass, getSubType, isDirty, isNew, loadPermissionDef, loadXMLContents, readXMLBoolean, readXMLInt, readXMLLong, readXMLString, readXMLStringArray, readXMLStringArrayList, readXMLStringArrayList, setDefClassName, setDirty, setNew, setPermissionDef, setSubType
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
close, createFromXML, deregisterSessionObject, getBaseDir, getBasePackage, getDefManager, getDefWriter, getDefXMLElementTag, getFileName, getFullDirName, getFullFileName, getSubstitutedNames, guaranteePath, isEditable, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, saveXMLContents, setDefaultBaseDir, setEditable, verifyVersion, writeChildren, writeContents, writeObject, writeVersion, writeXMLContents
 
Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, addPropertySetName, finishedLoading, getBaseDefObject, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, removeExtendedDefObject, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setParent, setPropertySetName
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyMap, getResourcesFromBundle, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolvePropertyRaw, setFullName, setPropertiesMap, setPropertiesMap2, setProperty, setProperty, setPropertyMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.rules.ValidationManager
getFullName, getName
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Field Detail

mNullValueFlag

protected int mNullValueFlag

STR_LIST_OPER_SET_ATTRIBUTE

public static final java.lang.String STR_LIST_OPER_SET_ATTRIBUTE
See Also:
Constant Field Values

STR_LIST_OPER_NAVIGATE

public static final java.lang.String STR_LIST_OPER_NAVIGATE
See Also:
Constant Field Values

STR_LIST_OPER_MULTI_SELECT

public static final java.lang.String STR_LIST_OPER_MULTI_SELECT
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_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_StaticList

public static final java.lang.String PNAME_StaticList
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_SearchCriteria

public static final java.lang.String PNAME_SearchCriteria
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_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_ListServerBindingName

public static final java.lang.String PNAME_ListServerBindingName
See Also:
Constant Field Values

PNAME_ListIterName

public static final java.lang.String PNAME_ListIterName
See Also:
Constant Field Values

PNAME_ListNullValueFlag

public static final java.lang.String PNAME_ListNullValueFlag
See Also:
Constant Field Values

DEF_MRU_SEP

public static final java.lang.String DEF_MRU_SEP
See Also:
Constant Field Values
Constructor Detail

JUCtrlListDef

public JUCtrlListDef()

JUCtrlListDef

public JUCtrlListDef(java.lang.String name,
                     java.lang.String controlClassName,
                     java.lang.String controlBindingClassName,
                     java.lang.String iterBindingName,
                     java.lang.String[] attrNames,
                     boolean staticList,
                     java.lang.String listVOName,
                     java.lang.String listRSIName,
                     java.lang.String[] listAttrNames,
                     java.lang.Object[] valueList)
Method Detail

initSubType

protected void initSubType()
Overrides:
initSubType in class JUCtrlAttrsDef

init

public void init(java.util.HashMap initValues)
Overrides:
init in class JUCtrlValueDef

usesServerBinding

protected boolean usesServerBinding()

getDisplayCriteriaName

protected java.lang.String getDisplayCriteriaName()
If server based binding, then return criteria name for the criteria to display from the server binding.


isAutoExecuteCriteria

protected boolean isAutoExecuteCriteria()
If server based binding, then return if the criteria needs to be auto-executed.


isCriteriaShown

protected boolean isCriteriaShown()
If server based binding, then return if the list UI should display any criteria.


getDerivedAttrNames

public java.lang.String[] getDerivedAttrNames()

getListOperMode

public int getListOperMode()

getMRUCount

public int getMRUCount()

getRowLevelBinds

public boolean getRowLevelBinds()

setListOperMode

public void setListOperMode(int listOperMode)

isStaticList

public boolean isStaticList()

getNullValueFlag

public int getNullValueFlag()

getNullValueText

protected java.lang.String getNullValueText(java.util.Locale locale)

setStaticList

public void setStaticList(boolean staticList)
*** For internal framework use only ***


getListIteratorBindingName

public java.lang.String getListIteratorBindingName()

getListVOName

public java.lang.String getListVOName()
*** For internal framework use only ***


getListRSIName

public java.lang.String getListRSIName()
*** For internal framework use only ***


getListAttrNames

public java.lang.String[] getListAttrNames()

getListDisplayAttrNames

public java.lang.String[] getListDisplayAttrNames()

getListRangeSize

public int getListRangeSize()
*** For internal framework use only ***


setListRangeSize

public void setListRangeSize(int listRangeSize)

getValueList

public java.lang.Object[] getValueList()

getLabelList

public java.lang.String[] getLabelList()

findListIteratorBinding

protected DCIteratorBinding findListIteratorBinding(DCBindingContainer formBinding)

retrieveFromXML

protected void retrieveFromXML(DefElement xmlElement,
                               java.util.HashMap valueTab)
Overrides:
retrieveFromXML in class DCControlBindingDef

loadChildrenFromXML

public void loadChildrenFromXML(DefElement xmlElement)
Overrides:
loadChildrenFromXML in class JUCtrlValueDef

createListBindingInstance

protected JUCtrlListBinding createListBindingInstance(java.lang.Object control,
                                                      DCIteratorBinding iterBinding,
                                                      java.lang.String[] attrNames,
                                                      int listOperMode)

createListBindingInstance

protected JUCtrlListBinding createListBindingInstance(java.lang.Object control,
                                                      DCIteratorBinding iterBinding,
                                                      java.lang.String[] attrNames,
                                                      java.lang.Object[] valueList)

createListBindingInstance

protected JUCtrlListBinding createListBindingInstance(java.lang.Object control,
                                                      DCIteratorBinding iterBinding,
                                                      java.lang.String[] attrNames,
                                                      java.lang.String serverBindingName)

createListBindingInstance

protected JUCtrlListBinding createListBindingInstance(java.lang.Object control,
                                                      DCIteratorBinding iterBinding,
                                                      java.lang.String[] attrNames,
                                                      DCIteratorBinding listIterBinding,
                                                      java.lang.String[] listAttrNames,
                                                      java.lang.String[] listDisplayAttrNames)

createControlBindingInstance

protected DCControlBinding createControlBindingInstance(java.lang.Object control,
                                                        DCBindingContainer formBnd)
Overrides:
createControlBindingInstance in class JUCtrlAttrsDef

initializeControlBinding

protected void initializeControlBinding(DCBindingContainer formBnd,
                                        DCControlBinding controlBnd)
Overrides:
initializeControlBinding in class JUCtrlAttrsDef

getListBindingService

protected AbstractListBinding getListBindingService(StructureDef component,
                                                    RowSetIterator listIter)

convertListOperModeStr

public static int convertListOperModeStr(java.lang.String str)
for internal use only.


convertListNullValueFlag

public static int convertListNullValueFlag(java.lang.String str)
For internal use only


Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

Copyright © 1997, 2008, Oracle. All rights reserved.