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

E10653-05

oracle.adf.model.binding
Class DCExecutableBindingDef

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.DCExecutableBindingDef
All Implemented Interfaces:
DefPersistable, PersistentDefinition
Direct Known Subclasses:
DCBindingContainerDef, DCBindingContainerReference, DCInvokeActionDef, DCIteratorBindingDef

public abstract class DCExecutableBindingDef
extends DCDefBase


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType
 
Field Summary
static int EXECUTABLE_ACTION
           
static int EXECUTABLE_ITERATORBINDING
           
static int EXECUTABLE_REGION
           
static java.lang.String PNAME_option
           
static java.lang.String PNAME_option_ALWAYS
           
static java.lang.String PNAME_option_DEFAULT
           
static java.lang.String PNAME_option_DEFER
           
static java.lang.String PNAME_option_IF_NEEDED
           
static java.lang.String PNAME_option_NEVER
           
static java.lang.String PNAME_option_PREPARE
           
static java.lang.String PNAME_option_PREPARE_OPT
           
static java.lang.String PNAME_option_REFRESH
           
static java.lang.String PNAME_option_REFRESH_OPT
           
static java.lang.String PNAME_option_RENDER
           
static java.lang.String PNAME_option_RENDER_OPT
           
static java.lang.String PNAME_optionExpr
           
static java.lang.String PNAME_refreshAfter
           
static int RC_ALWAYS
           
static int RC_DEFAULT
           
static int RC_DEFER
           
static int RC_NEVER
           
static int RC_PREPARE
           
static int RC_PREPARE_OPT
           
static int RC_REFRESH
           
static int RC_REFRESH_OPT
           
static int RC_RENDER
           
static int RC_RENDER_OPT
           
static int RC_UNINIT
           
 
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_ComboBoxLovEdit, 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, PROPERTY_EXPRMAP
 
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
DCExecutableBindingDef()
           
DCExecutableBindingDef(java.lang.String name)
          Internal: Applications should not use this method.
 
Method Summary
abstract  java.lang.Object createExecutableBinding(BindingContext ctx, DCBindingContainer ctr)
          Create an executable binding instance based on this definition in the given BindingContainer.
protected  java.lang.String[] getDependencyNames()
           
abstract  int getExecutableType()
          Return EXECUTABLE_REGION, EXECUTABLE_ITERATORBINDING or EXECUTABLE_ACTION based on what kind of binding this definition creates.
 java.lang.String getName()
           
protected  java.lang.String getPermissionClassName()
          Internal: Applications should not use this method.
protected  java.lang.String getPermissionTargetName()
          Internal: Applications should not use this method.
 java.lang.String getRefreshExpression()
           
 int getRefreshOption()
           
protected  int getRefreshOptionValue()
          Internal: Applications should not use this method.
 java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 void init(java.util.HashMap initValues)
          Internal: Applications should not use this method.
 void initializeExecutableBinding(BindingContext ctx, DCBindingContainer bindingContainer, java.lang.Object binding)
          Internal: Applications should not use this method.
static int internalGetRefreshOptionFromString(java.lang.String str)
          *** For internal framework use only ***
protected  boolean internalHasPermission(DCBindingContainer ctr)
          Internal: Applications should not use this method.
 boolean isRefreshable(DCBindingContainer ctr, DCIExecutable exec, int refreshFlag)
          Internal: Applications should not use this method.
protected  boolean isRefreshable(DCBindingContainer ctr, DCIExecutable exec, int refreshFlag, boolean refreshDeferredOnCondition)
           
protected  void retrieveFromXML(DefElement xmlElement, java.util.HashMap valueTab)
          Internal: Applications should not use this method.
 
Methods inherited from class oracle.adf.model.binding.DCDefBase
convertToBoolean, convertToDataChangePolicy, convertToInt, convertToIntArray, convertToLong, createAndLoadFromXML, getDefClassName, getDefTypeId, getDefXMLNameSpace, getOrigObject, getPermissionDef, getPersonalizer, getPersonalizerClass, getSubType, initSubType, isDirty, isNew, loadChildrenFromXML, loadFromXML, loadPermissionDef, loadXMLContents, readXMLBoolean, readXMLInt, readXMLLong, readXMLString, readXMLStringArray, readXMLStringArrayList, readXMLStringArrayList, setDefClassName, setDirty, setNew, setOrigObject, setPermissionDef, setSubType
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, finishedLoading, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditObject, getFileName, getFullDirName, getFullFileName, getPropertyMap, getSubstitutedNames, guaranteePath, isCustomizationEnabled, isCustomizationEnabled, isEditable, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, mergePropertyMap, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setEditable, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, updateChildrenList, verifyVersion, writeChildren, writeContents, writeObject, writeVersion, writeXMLContents
 
Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, addPropertySetName, 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, getPropertyExpressionsMap, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setFullName, setPropertiesMap, setPropertiesMap2, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Field Detail

PNAME_option

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

PNAME_optionExpr

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

PNAME_option_DEFAULT

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

PNAME_option_IF_NEEDED

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

PNAME_option_PREPARE

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

PNAME_option_RENDER

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

PNAME_option_PREPARE_OPT

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

PNAME_option_RENDER_OPT

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

PNAME_option_ALWAYS

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

PNAME_option_DEFER

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

PNAME_option_NEVER

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

PNAME_refreshAfter

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

PNAME_option_REFRESH_OPT

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

PNAME_option_REFRESH

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

RC_UNINIT

public static final int RC_UNINIT
See Also:
Constant Field Values

RC_DEFAULT

public static final int RC_DEFAULT
See Also:
Constant Field Values

RC_PREPARE

public static final int RC_PREPARE
See Also:
Constant Field Values

RC_PREPARE_OPT

public static final int RC_PREPARE_OPT
See Also:
Constant Field Values

RC_RENDER

public static final int RC_RENDER
See Also:
Constant Field Values

RC_RENDER_OPT

public static final int RC_RENDER_OPT
See Also:
Constant Field Values

RC_ALWAYS

public static final int RC_ALWAYS
See Also:
Constant Field Values

RC_NEVER

public static final int RC_NEVER
See Also:
Constant Field Values

RC_DEFER

public static final int RC_DEFER
See Also:
Constant Field Values

RC_REFRESH

public static final int RC_REFRESH
See Also:
Constant Field Values

RC_REFRESH_OPT

public static final int RC_REFRESH_OPT
See Also:
Constant Field Values

EXECUTABLE_REGION

public static final int EXECUTABLE_REGION
See Also:
Constant Field Values

EXECUTABLE_ITERATORBINDING

public static final int EXECUTABLE_ITERATORBINDING
See Also:
Constant Field Values

EXECUTABLE_ACTION

public static final int EXECUTABLE_ACTION
See Also:
Constant Field Values
Constructor Detail

DCExecutableBindingDef

public DCExecutableBindingDef()

DCExecutableBindingDef

public DCExecutableBindingDef(java.lang.String name)
Internal: Applications should not use this method.

Method Detail

init

public void init(java.util.HashMap initValues)
Internal: Applications should not use this method.

Overrides:
init in class DCDefBase

getRefreshOptionValue

protected int getRefreshOptionValue()
Internal: Applications should not use this method.


getRefreshOption

public final int getRefreshOption()

getRefreshExpression

public final java.lang.String getRefreshExpression()

internalGetRefreshOptionFromString

public static int internalGetRefreshOptionFromString(java.lang.String str)
*** For internal framework use only ***


getXMLElementTag

public java.lang.String getXMLElementTag()
Description copied from interface: PersistentDefinition
Returns a piece of static info for the type of object this is invoked upon. Examples are PreparedStatements for insert, update, delete, and String containing a base the select statement for retrieving instances of this type through the SQLInputStream

Specified by:
getXMLElementTag in interface PersistentDefinition
Specified by:
getXMLElementTag in class DCDefBase
Returns:
returns the Statement required to store in Persitent Storage. Incase of XML, it just returns the String. In the case of SQL a JDBC PreparedStatement is returned.

retrieveFromXML

protected void retrieveFromXML(DefElement xmlElement,
                               java.util.HashMap valueTab)
Internal: Applications should not use this method.

Overrides:
retrieveFromXML in class DCDefBase

getDependencyNames

protected java.lang.String[] getDependencyNames()

getExecutableType

public abstract int getExecutableType()
Return EXECUTABLE_REGION, EXECUTABLE_ITERATORBINDING or EXECUTABLE_ACTION based on what kind of binding this definition creates.


createExecutableBinding

public abstract java.lang.Object createExecutableBinding(BindingContext ctx,
                                                         DCBindingContainer ctr)
Create an executable binding instance based on this definition in the given BindingContainer.


initializeExecutableBinding

public void initializeExecutableBinding(BindingContext ctx,
                                        DCBindingContainer bindingContainer,
                                        java.lang.Object binding)
Internal: Applications should not use this method.


isRefreshable

public boolean isRefreshable(DCBindingContainer ctr,
                             DCIExecutable exec,
                             int refreshFlag)
Internal: Applications should not use this method.


isRefreshable

protected boolean isRefreshable(DCBindingContainer ctr,
                                DCIExecutable exec,
                                int refreshFlag,
                                boolean refreshDeferredOnCondition)

internalHasPermission

protected boolean internalHasPermission(DCBindingContainer ctr)
Internal: Applications should not use this method.


getPermissionTargetName

protected java.lang.String getPermissionTargetName()
Internal: Applications should not use this method.


getPermissionClassName

protected java.lang.String getPermissionClassName()
Internal: Applications should not use this method.


getName

public java.lang.String getName()

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

E10653-05

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