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

E10653-05

oracle.jbo.uicli.mom
Class JUApplicationDefImpl

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.ContainerDefImpl
              extended by oracle.jbo.uicli.mom.JUApplicationDefImpl

public class JUApplicationDefImpl
extends ContainerDefImpl


Field Summary
static java.lang.String APP_EXTENSION
           
protected  java.util.Map<java.lang.String,JUApplicationReference> mApplicationUsages
           
static java.lang.String PNAME_ApplicationType
           
static java.lang.String PNAME_BasePageDefPackageName
           
static java.lang.String PNAME_BindingClass
           
static java.lang.String PNAME_CliApplication
           
static java.lang.String PNAME_CustomEventDispatcher
           
static java.lang.String PNAME_CustomPageMap
           
static java.lang.String PNAME_ErrHandler
           
static java.lang.String PNAME_RootAMDefName
           
static java.lang.String PNAME_SeparateXMLFiles
           
static java.lang.String PNAME_TYPE_APPLICATION
           
static java.lang.String PNAME_TYPE_GENERIC
           
static java.lang.String PNAME_TYPE_JCLIENT
           
static java.lang.String PNAME_TYPE_PROJ
           
 
Fields inherited from class oracle.jbo.mom.ContainerDefImpl
mChildPackage, mContainees, mDefMgr, mHasJava, mHasSubstitutes, mIsProject, mJavaPackageName, mLazyLoading, mXMLFileName, mXMLLoaded, mXMLSectionName
 
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
 
Constructor Summary
JUApplicationDefImpl()
           
JUApplicationDefImpl(java.lang.String name)
           
 
Method Summary
protected static java.lang.Class _findPersonalizerClass()
           
static JUApplicationDefImpl createAndLoadFromXML(DefElement xmlElement)
           
protected  ContainerDefImpl createContainerType(java.lang.String typeName)
           
 DCDataControl createRootApplication(java.util.Hashtable context, java.lang.String name, java.lang.Object userData, java.lang.String dbConnectionURL, java.util.Properties dbConnectionProps)
           
 void ensureAppIsLoaded(java.lang.String appDefName, BindingContext ctx)
           
 java.lang.String findAppDefNameByBindingContainerDefName(java.lang.String fullDefName, BindingContext ctx)
           
 java.lang.String findBindingContainerIdByPath(java.lang.String path, BindingContext ctx)
           
 DefinitionObject findDataControlIdByKey(java.lang.String key, BindingContext ctx)
           
static JUApplicationDefImpl findDefObject(java.lang.String name)
           
static JUApplicationDefImpl findDefObjectNoSub(java.lang.String name)
           
 DCDataControlDef findSession(java.lang.String name)
           
 java.util.ArrayList get_bindingContainerReferenceNames()
           
 java.lang.String getApplicationClassName()
           
 boolean getAsProject()
           
 java.lang.String getBasePageDefPackageName()
           
 java.util.ArrayList<DCBindingContainerReference> getBindingContainerReferences()
           
 java.lang.String getClientType()
           
protected  java.util.ArrayList getContainerDefNames(boolean recursive)
          Gets the Names of all Sub-PackageDefs in this Package and all sub-packages recursively (optionally)
 java.lang.String getCustomEventDispatcher()
           
 java.util.ArrayList<DCDataControlReference> getDataControlReferences()
           
 java.util.ArrayList<java.lang.String> getDTFactoryClassNames()
           
 java.lang.String getErrorHandlerClassName()
           
 java.util.Map getFactoriesMap()
           
 java.lang.String getIanaEncoding()
           
 java.lang.String getJdkEncoding()
           
 java.lang.String getMapValueByPath(java.lang.String path)
           
 java.lang.String getPackageName()
           
 java.util.Map getPageMap()
           
 Personalizer getPersonalizer()
           
protected  java.lang.Class getPersonalizerClass()
           
 java.lang.String getRootAMDefName()
           
 java.util.ArrayList getSessionDefNames()
           
 java.util.ArrayList getSessionDefs()
           
 java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 void initalizeApplicationUsages(JUApplicationDefImpl appdef)
           
 void initializeBindingContext(BindingContext ctx, java.util.Map userParams)
          For intenal use only
 boolean isDirty()
          This method returns if an Object is modified from last save/load
 boolean isIsBeingPersonalized()
           
 boolean isNew()
          This method returns if this object is previously persisted.
protected  void loadContainee(DefElement xmlElement)
           
protected  void loadContainees(DefElement xmlElement, boolean sepXMLFiles)
           
protected  void loadDataControls(DefElement xmlElement)
           
protected  void loadDefinitionFactories(DefElement xmlElement)
           
 void loadFromXMLFile(DefElement xmlElement)
           
 void loadPackages()
           
protected  void loadPageDefinitionUsage(DefElement xmlElement)
           
protected  void loadPageDefinitionUsages(DefElement xmlElement)
           
protected  void loadPageMap(DefElement xmlElement)
           
 void populateContext(BindingContext ctx, java.util.Map userParams)
          For intenal use only
 void removeSession(java.lang.String name)
           
 void setApplicationClassName(java.lang.String applicationClassName)
           
 void setApplicationUsages(java.util.LinkedHashMap<java.lang.String,JUApplicationReference> updatedApplicationUsages)
          For internal use only
 void setAsProject(boolean asProject)
           
 void setDirty(boolean isDirty)
          This method marks the Object dirty
 void setIanaEncoding(java.lang.String iana)
           
 void setIsBeingPersonalized(boolean isBeingPersonalized)
           
 void setJdkEncoding(java.lang.String jdkEnc)
           
 void setName(java.lang.String name)
          Name this object.
 void setNew(boolean isNew)
          This method marks the as previously persisted.
 void setPackageName(java.lang.String sPackage)
           
 void setRootAMDefName(java.lang.String rootAMDefName)
           
 void syncPageMapEntry(java.lang.String path, java.lang.String pageDefId, java.lang.String pageDefFullName, BindingContext ctx)
          Internal: Applications should not use this class.
 java.util.LinkedHashMap<java.lang.String,JUApplicationReference> updateApplicationDefinitions(BindingContext ctx)
          Updates the application definitions with any changes that where made since they where loaded.
 
Methods inherited from class oracle.jbo.mom.ContainerDefImpl
addChild, addChild, findChildObject, generateUniqueChildName, getChildObjectNames, getChildObjects, hasJava, hasSubstitutes, isDynamicDefinitionObject, isLazyLoading, isProject, isXMLLoaded, loadContainees, loadFromXML, removeChild, resolveAllReferences, setHasSubstitutes, setIsProject, setSynchronized, setXMLName
 
Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, addPropertySetName, finishedLoading, getBaseDefObject, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, hasExtendedDefObjects, isBaseDefFor, isObjectResolved, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, objectRemoved, removeExtendedDefObject, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setParent, setPropertySetName
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
allocatePropertyMap, getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getPropertyMap, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, mergePropertyMap, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setFullName, setPropertiesMap, setPropertiesMap2, setProperty, setProperty, setPropertyExpression, setPropertyMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mApplicationUsages

protected java.util.Map<java.lang.String,JUApplicationReference> mApplicationUsages

PNAME_TYPE_GENERIC

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

PNAME_TYPE_JCLIENT

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

PNAME_TYPE_PROJ

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

PNAME_TYPE_APPLICATION

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

PNAME_BindingClass

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

PNAME_RootAMDefName

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

PNAME_ApplicationType

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

PNAME_CliApplication

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

PNAME_SeparateXMLFiles

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

PNAME_ErrHandler

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

PNAME_CustomEventDispatcher

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

PNAME_CustomPageMap

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

PNAME_BasePageDefPackageName

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

APP_EXTENSION

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

JUApplicationDefImpl

public JUApplicationDefImpl(java.lang.String name)

JUApplicationDefImpl

public JUApplicationDefImpl()
Method Detail

initalizeApplicationUsages

public void initalizeApplicationUsages(JUApplicationDefImpl appdef)

findDefObjectNoSub

public static JUApplicationDefImpl findDefObjectNoSub(java.lang.String name)
For internal use only. Application developers should not use this
*** For internal framework use only ***

findDefObject

public static JUApplicationDefImpl findDefObject(java.lang.String name)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getContainerDefNames

protected java.util.ArrayList getContainerDefNames(boolean recursive)
Description copied from class: ContainerDefImpl
Gets the Names of all Sub-PackageDefs in this Package and all sub-packages recursively (optionally)

Specified by:
getContainerDefNames in class ContainerDefImpl
Parameters:
recursive - Whether to get the names recursively
Returns:
Returns the Names of PackageDefs
For internal use only. Application developers should not use this
*** For internal framework use only ***

getPageMap

public java.util.Map getPageMap()
For internal use only. Application developers should not use this
*** For internal framework use only ***

getFactoriesMap

public java.util.Map getFactoriesMap()
For internal use only. Application developers should not use this
*** For internal framework use only ***

getDTFactoryClassNames

public java.util.ArrayList<java.lang.String> getDTFactoryClassNames()
For internal use only. Application developers should not use this
*** For internal framework use only ***

getMapValueByPath

public java.lang.String getMapValueByPath(java.lang.String path)
For internal use only. Application developers should not use this
*** For internal framework use only ***

findDataControlIdByKey

public DefinitionObject findDataControlIdByKey(java.lang.String key,
                                               BindingContext ctx)
For internal use only. Application developers should not use this
*** For internal framework use only ***

findAppDefNameByBindingContainerDefName

public java.lang.String findAppDefNameByBindingContainerDefName(java.lang.String fullDefName,
                                                                BindingContext ctx)
For internal use only. Application developers should not use this
*** For internal framework use only ***

findBindingContainerIdByPath

public java.lang.String findBindingContainerIdByPath(java.lang.String path,
                                                     BindingContext ctx)

ensureAppIsLoaded

public void ensureAppIsLoaded(java.lang.String appDefName,
                              BindingContext ctx)
For internal use only. Application developers should not use this
*** For internal framework use only *** Created for use by BindingContext.findDataControl

getRootAMDefName

public java.lang.String getRootAMDefName()
For internal use only. Application developers should not use this
*** For internal framework use only ***

setRootAMDefName

public void setRootAMDefName(java.lang.String rootAMDefName)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getApplicationClassName

public java.lang.String getApplicationClassName()
For internal use only. Application developers should not use this
*** For internal framework use only ***

setApplicationClassName

public void setApplicationClassName(java.lang.String applicationClassName)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getPackageName

public java.lang.String getPackageName()
For internal use only. Application developers should not use this
*** For internal framework use only ***

setPackageName

public void setPackageName(java.lang.String sPackage)
For internal use only. Application developers should not use this
*** For internal framework use only ***

setName

public void setName(java.lang.String name)
Name this object.

Overrides:
setName in class DefinitionObject
Parameters:
name - the name to be given to this object.

getAsProject

public boolean getAsProject()
For internal use only. Application developers should not use this
*** For internal framework use only ***

setAsProject

public void setAsProject(boolean asProject)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getSessionDefNames

public java.util.ArrayList getSessionDefNames()
For internal use only. Application developers should not use this
*** For internal framework use only ***

loadPackages

public void loadPackages()
For internal use only. Application developers should not use this
*** For internal framework use only ***

get_bindingContainerReferenceNames

public java.util.ArrayList get_bindingContainerReferenceNames()
For internal use only. Application developers should not use this
*** For internal framework use only ***

getBindingContainerReferences

public java.util.ArrayList<DCBindingContainerReference> getBindingContainerReferences()
For internal use only. Application developers should not use this
*** For internal framework use only ***

createContainerType

protected ContainerDefImpl createContainerType(java.lang.String typeName)
Specified by:
createContainerType in class ContainerDefImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

createRootApplication

public DCDataControl createRootApplication(java.util.Hashtable context,
                                           java.lang.String name,
                                           java.lang.Object userData,
                                           java.lang.String dbConnectionURL,
                                           java.util.Properties dbConnectionProps)
For internal use only. Application developers should not use this
*** For internal framework use only ***

loadFromXMLFile

public void loadFromXMLFile(DefElement xmlElement)
Overrides:
loadFromXMLFile in class ContainerDefImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

getClientType

public java.lang.String getClientType()
For internal use only. Application developers should not use this
*** For internal framework use only ***

getBasePageDefPackageName

public java.lang.String getBasePageDefPackageName()
For internal use only. Application developers should not use this
*** For internal framework use only ***

getSessionDefs

public java.util.ArrayList getSessionDefs()
For internal use only. Application developers should not use this
*** For internal framework use only ***

findSession

public DCDataControlDef findSession(java.lang.String name)
For internal use only. Application developers should not use this
*** For internal framework use only ***

removeSession

public void removeSession(java.lang.String name)
For internal use only. Application developers should not use this
*** For internal framework use only ***

isDirty

public boolean isDirty()
This method returns if an Object is modified from last save/load

Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

public void setDirty(boolean isDirty)
This method marks the Object dirty

Parameters:
isDirty - If true the Object is marked Dirty.

isNew

public boolean isNew()
This method returns if this object is previously persisted.

Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

public void setNew(boolean isNew)
This method marks the as previously persisted. By default all objects are new objects. When the object is persisted first time, that object is marked as 'not new' object

Parameters:
isNew - If true the Object is marked as new object.

getXMLElementTag

public java.lang.String getXMLElementTag()
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

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.

getIanaEncoding

public java.lang.String getIanaEncoding()
For internal use only. Application developers should not use this
*** For internal framework use only ***

setIanaEncoding

public void setIanaEncoding(java.lang.String iana)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getJdkEncoding

public java.lang.String getJdkEncoding()
For internal use only. Application developers should not use this
*** For internal framework use only ***

setJdkEncoding

public void setJdkEncoding(java.lang.String jdkEnc)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getErrorHandlerClassName

public java.lang.String getErrorHandlerClassName()

getCustomEventDispatcher

public java.lang.String getCustomEventDispatcher()

loadContainee

protected void loadContainee(DefElement xmlElement)
Overrides:
loadContainee in class ContainerDefImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

loadPageDefinitionUsage

protected void loadPageDefinitionUsage(DefElement xmlElement)
For internal use only. Application developers should not use this
*** For internal framework use only ***

createAndLoadFromXML

public static JUApplicationDefImpl createAndLoadFromXML(DefElement xmlElement)
For internal use only. Application developers should not use this
*** For internal framework use only ***

loadDefinitionFactories

protected void loadDefinitionFactories(DefElement xmlElement)
For internal use only. Application developers should not use this
*** For internal framework use only ***

loadPageMap

protected void loadPageMap(DefElement xmlElement)
For internal use only. Application developers should not use this
*** For internal framework use only ***

loadContainees

protected void loadContainees(DefElement xmlElement,
                              boolean sepXMLFiles)
Specified by:
loadContainees in class ContainerDefImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

loadDataControls

protected void loadDataControls(DefElement xmlElement)
For internal use only. Application developers should not use this
*** For internal framework use only ***

loadPageDefinitionUsages

protected void loadPageDefinitionUsages(DefElement xmlElement)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getDataControlReferences

public java.util.ArrayList<DCDataControlReference> getDataControlReferences()
For internal use only. Application developers should not use this
*** For internal framework use only ***

populateContext

public void populateContext(BindingContext ctx,
                            java.util.Map userParams)
For intenal use only

Parameters:
ctx -
userParams -
For internal use only. Application developers should not use this

initializeBindingContext

public void initializeBindingContext(BindingContext ctx,
                                     java.util.Map userParams)
For intenal use only

Parameters:
ctx -
userParams -
For internal use only. Application developers should not use this

_findPersonalizerClass

protected static java.lang.Class _findPersonalizerClass()

getPersonalizerClass

protected java.lang.Class getPersonalizerClass()

getPersonalizer

public Personalizer getPersonalizer()

setIsBeingPersonalized

public final void setIsBeingPersonalized(boolean isBeingPersonalized)

isIsBeingPersonalized

public final boolean isIsBeingPersonalized()

syncPageMapEntry

public void syncPageMapEntry(java.lang.String path,
                             java.lang.String pageDefId,
                             java.lang.String pageDefFullName,
                             BindingContext ctx)
Internal: Applications should not use this class.


updateApplicationDefinitions

public java.util.LinkedHashMap<java.lang.String,JUApplicationReference> updateApplicationDefinitions(BindingContext ctx)
Updates the application definitions with any changes that where made since they where loaded.

Parameters:
ctx -
Returns:
the updated list

setApplicationUsages

public void setApplicationUsages(java.util.LinkedHashMap<java.lang.String,JUApplicationReference> updatedApplicationUsages)
For internal use only

Parameters:
updatedApplicationUsages -

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.