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

E10653-04

oracle.jbo.server
Class ApplicationModuleDefImpl

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.jbo.server.MetaObject
                  extended by oracle.jbo.server.ApplicationModuleDefImpl
All Implemented Interfaces:
ResourceBundleOwner, DefPersistable, PersistentDefinition, OperationDefinitionContainer, VariableManagerOwner, VariableManagerOwnerBase
Direct Known Subclasses:
LOVAppModuleDefImpl

public class ApplicationModuleDefImpl
extends MetaObject

The base class for all generated ApplicationModule classes.

An Application Module is a container for View Objects, View Links and other Application Modules. This class stores the runtime metadata for Application Modules. Like other Def objects, ApplicationModuleDef objects are stored, by name, in the XML file. This class is needed to load an Application Module and the components it contains from XML metadata. Calling loadXML() on an object instantiated from this class causes its components to be installed.


Nested Class Summary
 class ApplicationModuleDefImpl.ServiceInterfaceMethod
           
 class ApplicationModuleDefImpl.TypeInfo
           
 
Field Summary
protected  boolean mClearCacheOnCommit
          Value determines whether cache should be cleared on a database commit operation.
protected  boolean mClearCacheOnRollback
          Value determines whether cache should be cleared on a database rollback operation.
protected  java.util.ArrayList mCompUsageList
          List of ComponentObject names
protected  java.util.HashMap mCompUsages
          Hash table to keep a list of name value pairs for ComponentUsages
protected  java.util.HashMap mRemoteServers
          Hash table to keep name value pairs for Platform, RemoteServer pairs.
protected  boolean mRequeryOnCommit
          Value determines whether the database should be requeried after a commit operation.
protected  java.util.HashMap mValidatorTypes
           
protected  java.util.ArrayList mViewLinkUsageList
          List of ViewLinkUsages.
protected  java.util.HashMap mViewLinkUsages
          Hash table to keep a list of name value pairs for ViewLinkUsages.
protected  java.util.ArrayList mViewUsageList
          List of View Object names.
protected  java.util.HashMap mViewUsages
          Hash table to keep a list of name value pairs for ViewUsages.
 
Fields inherited from class oracle.jbo.server.MetaObject
mComponentClass
 
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
ApplicationModuleDefImpl()
          Default Constructor.
ApplicationModuleDefImpl(int defScope, java.lang.String name)
           
ApplicationModuleDefImpl(java.lang.String name)
           
 
Method Summary
 void addViewImport(java.lang.String viewDefName)
           
 void createApplicationModule(java.lang.String amName, java.lang.String defName, int sharedScope)
           
static ApplicationModuleDefImpl createApplicationModuleDef(int defScope, java.lang.String defClassName)
           
 void createViewLink(java.lang.String vlName, java.lang.String defName, java.lang.String srcVOName, java.lang.String destVOName)
           
 void createViewLinkBetweenViewObjects(java.lang.String vlName, java.lang.String accessorName, java.lang.String srcVOName, java.lang.String[] srcAttrNames, java.lang.String destVOName, java.lang.String[] destAttrNames, java.lang.String assocClause)
           
 void createViewLinkFromEntityAssocName(java.lang.String vlName, java.lang.String entityAssocName, java.lang.String srcVOName, java.lang.String destVOName)
           
 AMViewUsage createViewObject(java.lang.String voName, java.lang.String defName)
           
 AMViewUsage createViewObjectFromQueryClauses(java.lang.String voName, java.lang.String eoName, java.lang.String selectClause, java.lang.String fromClause, java.lang.String whereClause, java.lang.String orderByClause)
           
 AMViewUsage createViewObjectFromQueryStmt(java.lang.String voName, java.lang.String queryStatement)
           
 AMViewUsage createViewObjectFromQueryStmt(java.lang.String voName, java.lang.String queryStatement, java.lang.String voImplClassName)
           
 VariableValueManager ensureVariableManager()
          Returns this object's Variable Value Manager.
static ApplicationModuleDefImpl findDefObject(java.lang.String name)
          Finds an ApplicationModuleDefImpl instance, by name, from the statically maintained list of metaobjects.
static ApplicationModuleDefImpl findDefObjectNoSub(java.lang.String name)
          Finds the named Application Module definition.
 AMViewUsage findViewObject(java.lang.String name)
           
protected  void finishedLoading()
           
static java.lang.String[] getAllDefNames()
           
 java.util.HashMap getAllProperties(java.util.HashMap map, LocaleContext locale)
           
 AppModuleUsage[] getAMAppModuleUsages()
           
 ViewLinkUsage[] getAMViewLinkUsages()
           
 AMViewUsage[] getAMViewUsages()
           
 java.lang.String[] getApplicationModuleNames()
           
 java.lang.Class getBaseComponentClass()
          Internal: Applications should not use this method.
 DefinitionObject getBaseDefObject()
           
 java.lang.String getClientProxyClassName()
           
 java.lang.String getClientProxyClassName(java.lang.String platform)
          Deprecated. Platform specific proxies are deprecated. Use getClientProxyClassName() instead.
 java.lang.Class getComponentClass()
           
 java.lang.String getComponentInterfaceName()
           
 java.lang.String[] getComponentObjectNames()
           
 int getDefTypeId()
           
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
protected  java.lang.String getEffectiveClientProxyClassName()
           
protected  java.lang.String getEffectiveComponentInterfaceName()
           
 OperationDefinitions getOperationDefinitions()
           
protected  PackageDefImpl[] getPackageDefs()
           
 java.lang.String getParameterTypeForServiceMethod(java.lang.String methodName, java.lang.Class[] paramTypes, int paramIndex)
           
 java.lang.String getReturnTypeForServiceMethod(java.lang.String methodName, java.lang.Class[] paramTypes)
          Returns return type for custom service method or null if method does not exist
 java.lang.String getServerClassName(java.lang.String platform)
          Internal: Applications should not use this method.
 ApplicationModuleDefImpl.ServiceInterfaceMethod getServiceMethod(java.lang.String methodName, java.lang.Class[] paramTypes)
          Returns custom service method or null if method does not exist.
 boolean getSvuCanCreate(java.lang.String svuName)
           
 boolean getSvuCanDelete(java.lang.String svuName)
           
 boolean getSvuCanMerge(java.lang.String svuName)
           
 boolean getSvuCanUpdate(java.lang.String svuName)
           
 java.lang.String[] getSvuNames()
           
 VariableValueManager getVariableManager()
          Returns this object's current Variable Value Manager.
protected  VariableValueManager[] getVarMgrParents()
           
 java.util.ArrayList getViewImports()
           
 java.lang.String[] getViewLinkNames()
           
 java.lang.String[] getViewObjectNames()
           
protected  boolean hasApplicationModule(java.lang.String amName)
           
protected  boolean hasComponentObject(java.lang.String compName)
           
 boolean hasVariables()
          Returns a flag indicating whether this object has Variables or not.
protected  boolean hasViewLink(java.lang.String vlName)
           
protected  boolean hasViewObject(java.lang.String voName)
           
 boolean isClearCacheOnCommit()
          Returns the flag indicating whether all Entity Object caches will be cleared after the transaction is committed.
 boolean isClearCacheOnRollback()
          Returns the flag indicating whether all Entity Object caches will be cleared after the transaction is rolled back.
 boolean isLoadComponentsLazily()
           
 boolean isRequeryOnCommit()
          Indicates whether View Objects associated with this Application Module should be marked as needing to be executed after a database commit.
protected  ApplicationModule loadApplicationModule(ApplicationModule am, java.lang.String amName)
           
protected  ComponentObject loadComponentObject(ApplicationModule am, java.lang.String compName)
           
protected  void loadComponents(ApplicationModuleImpl am)
          This function loops through the list of ViewObjects, ViewLinks, and child ApplicationModules found in the ApplicationModule definition and create them in the ApplicationModule instance, identified by am.
 void loadContainees()
          Internal: Applications should not use this method.
protected static ApplicationModuleDefImpl loadFromXML(DefElement xmlElement)
          Deprecated. 
protected static void loadFromXML(DefElement xmlElement, oracle.jbo.server.RemotableCompDef defObj)
           
protected static ApplicationModuleDefImpl loadFromXML(DefElement xmlElement, java.lang.String fullName, ApplicationModuleDefImpl aInfo)
          Internal: Applications should not use this method.
protected  void loadOperationDefinitions(DefElement xmlElement)
           
protected  void loadOperationDefinitions(DefElement xmlElement, java.lang.String tag)
           
protected  void loadProperties(DefElement xmlElement)
           
protected  void loadVariables(DefElement xmlElement)
           
protected  ViewLink loadViewLink(ApplicationModule am, java.lang.String vluName)
           
protected  ViewObject loadViewObject(ApplicationModule am, java.lang.String voName)
           
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
           
 void removeViewImport(java.lang.String viewDefName)
           
 void resolveDefObject()
           
protected  java.lang.Object resolvePropertyRaw(java.lang.String property, LocaleContext locale)
           
protected  void resolveReferences()
           
 void setBaseDefObject(DefinitionObject baseDefObject)
           
 void setBaseDefObject(DefinitionObject baseDefObject, boolean addToBaseDef)
           
 void setClearCacheOnCommit(boolean b)
           
 void setClearCacheOnRollback(boolean b)
           
 void setClientProxyClassName(java.lang.String name)
           
 void setComponentClass(java.lang.Class refClass)
           
 void setComponentInterfaceName(java.lang.String interfaceName)
           
protected  void setDefForComponent(ComponentObjectImpl comp)
           
 void setLoadComponentsLazily(boolean isLoadComponentsLazily)
           
 void setName(java.lang.String name)
          Name this object.
protected  void setParent(NamedObjectImpl parent)
          Sets this object's parent.
 void setRequeryOnCommit(boolean b)
           
protected  void unsetDefForComponent(ComponentObjectImpl comp)
           
 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.server.MetaObject
deregisterSessionObject, getMessageBundleClass, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getResourceBundleDef, getResourcePrefix, isDynamic, loadResourceBundle, registerDefObject, registerSessionDefObject, setMessageBundleClass, setResourceBundleDef
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isDirty, isEditable, isNew, loadDefImports, objectRemoved, registerClass, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setProperty, setPropertyMap, updateChildrenList, verifyVersion, writeObject, writeVersion, writeXMLContents
 
Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, addPropertySetName, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, removeExtendedDefObject, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, 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.VariableManagerOwner
getName
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Field Detail

mClearCacheOnCommit

protected boolean mClearCacheOnCommit
Value determines whether cache should be cleared on a database commit operation.


mClearCacheOnRollback

protected boolean mClearCacheOnRollback
Value determines whether cache should be cleared on a database rollback operation.


mRequeryOnCommit

protected boolean mRequeryOnCommit
Value determines whether the database should be requeried after a commit operation.


mValidatorTypes

protected java.util.HashMap mValidatorTypes

mViewUsages

protected java.util.HashMap mViewUsages
Hash table to keep a list of name value pairs for ViewUsages.


mViewUsageList

protected java.util.ArrayList mViewUsageList
List of View Object names.


mViewLinkUsages

protected java.util.HashMap mViewLinkUsages
Hash table to keep a list of name value pairs for ViewLinkUsages.


mViewLinkUsageList

protected java.util.ArrayList mViewLinkUsageList
List of ViewLinkUsages.


mRemoteServers

protected java.util.HashMap mRemoteServers
Hash table to keep name value pairs for Platform, RemoteServer pairs.


mCompUsages

protected java.util.HashMap mCompUsages
Hash table to keep a list of name value pairs for ComponentUsages


mCompUsageList

protected java.util.ArrayList mCompUsageList
List of ComponentObject names

Constructor Detail

ApplicationModuleDefImpl

public ApplicationModuleDefImpl()
Default Constructor.


ApplicationModuleDefImpl

public ApplicationModuleDefImpl(int defScope,
                                java.lang.String name)

ApplicationModuleDefImpl

public ApplicationModuleDefImpl(java.lang.String name)
Method Detail

getAllDefNames

public static java.lang.String[] getAllDefNames()

findDefObjectNoSub

public static ApplicationModuleDefImpl findDefObjectNoSub(java.lang.String name)
Finds the named Application Module definition. Performs essentially the same operation as findDefObject, except that it does not observe meta-object substitution.

Parameters:
name - The fully qualified name of the ApplicationModuleDefImpl.
Returns:
the Application Module definition corresponding to the specified name.
See Also:
MetaObjectManager

findDefObject

public static ApplicationModuleDefImpl findDefObject(java.lang.String name)
Finds an ApplicationModuleDefImpl instance, by name, from the statically maintained list of metaobjects. Def objects are stored by name in the XML file.

Parameters:
name - The fully qualified name of the ApplicationModuleDefImpl.
Returns:
the Application Module definition corresponding to the specified name.
See Also:
MetaObjectManager

getBaseComponentClass

public java.lang.Class getBaseComponentClass()
Internal: Applications should not use this method.

Gets this instance's class.

Returns:
the class.

getServerClassName

public java.lang.String getServerClassName(java.lang.String platform)
Internal: Applications should not use this method.

Returns the server class name of the remote server.

Parameters:
platform - the platform to which the Application Module was deployed.
Returns:
the server class of a RemoteServer instance, or null.

getClientProxyClassName

public java.lang.String getClientProxyClassName(java.lang.String platform)
Deprecated. Platform specific proxies are deprecated. Use getClientProxyClassName() instead.

Internal: Applications should not use this method.

Returns the class name of the client side proxy object for the platform.

Parameters:
platform - the platform to which the Application Module was deployed.
Returns:
the class name of a client side proxy for the specified platform. null if platform is null.

isClearCacheOnCommit

public boolean isClearCacheOnCommit()
Returns the flag indicating whether all Entity Object caches will be cleared after the transaction is committed.

After the transaction is committed, the value of this flag is used to determine whether the Entity Object caches are cleared or not. If this flag value is false, the cache contents are kept. In this case, the cache may contain data that is stale in that it does not match the newest data (changes made by another user and committed).

If this flag is true, the caches are cleared after the transaction is committed. When the user brings in data by traversing row collection, the latest data from the database will be brought into Entity caches.

Returns:
the current value of clear-cache-on-commit flag.
See Also:
RowSet.executeQuery(), Transaction.isClearCacheOnCommit(), Transaction.setClearCacheOnCommit(boolean)

setClearCacheOnCommit

public void setClearCacheOnCommit(boolean b)

isClearCacheOnRollback

public boolean isClearCacheOnRollback()
Returns the flag indicating whether all Entity Object caches will be cleared after the transaction is rolled back.

After the transaction is rolled back, the value of this flag is used to determine whether the Entity Object caches are cleared or not. If this flag value is false, the cache contents are kept. In this case, the cache may contain data that is not in sync with database in that uncommitted changes made this by user (before the transaction was rolled back) will be kept.

If this flag is true, the caches are cleared after the transaction is rolled back. When the user brings in data by traversing row collection, the latest data from the database will be brought into Entity caches.

Returns:
the current value of clear-cache-on-roll-back flag.
See Also:
RowSet.executeQuery(), Transaction.setClearCacheOnRollback(boolean), Transaction.isClearCacheOnRollback()

setClearCacheOnRollback

public void setClearCacheOnRollback(boolean b)

isRequeryOnCommit

public boolean isRequeryOnCommit()
Indicates whether View Objects associated with this Application Module should be marked as needing to be executed after a database commit.

If this method returns true, then after a database commit, all View Objects contained by this Application Module will be marked as needing to be executed. Any attempt to retrieve rows from these View Objects or their row sets/row set iterators will cause the query to be re-executed.

Returns:
true indicates that all View Ojbects will be marked as needing to be executed after a database commit.

setRequeryOnCommit

public void setRequeryOnCommit(boolean b)

isLoadComponentsLazily

public boolean isLoadComponentsLazily()

setLoadComponentsLazily

public void setLoadComponentsLazily(boolean isLoadComponentsLazily)

getAMViewUsages

public AMViewUsage[] getAMViewUsages()

getAMViewLinkUsages

public ViewLinkUsage[] getAMViewLinkUsages()

getAMAppModuleUsages

public AppModuleUsage[] getAMAppModuleUsages()

findViewObject

public AMViewUsage findViewObject(java.lang.String name)

getViewObjectNames

public java.lang.String[] getViewObjectNames()

getViewLinkNames

public java.lang.String[] getViewLinkNames()

getApplicationModuleNames

public java.lang.String[] getApplicationModuleNames()

getComponentObjectNames

public java.lang.String[] getComponentObjectNames()

hasViewObject

protected boolean hasViewObject(java.lang.String voName)

hasViewLink

protected boolean hasViewLink(java.lang.String vlName)

hasApplicationModule

protected boolean hasApplicationModule(java.lang.String amName)

hasComponentObject

protected boolean hasComponentObject(java.lang.String compName)

loadViewObject

protected ViewObject loadViewObject(ApplicationModule am,
                                    java.lang.String voName)

loadViewLink

protected ViewLink loadViewLink(ApplicationModule am,
                                java.lang.String vluName)

loadApplicationModule

protected ApplicationModule loadApplicationModule(ApplicationModule am,
                                                  java.lang.String amName)

loadComponentObject

protected ComponentObject loadComponentObject(ApplicationModule am,
                                              java.lang.String compName)

loadComponents

protected void loadComponents(ApplicationModuleImpl am)
This function loops through the list of ViewObjects, ViewLinks, and child ApplicationModules found in the ApplicationModule definition and create them in the ApplicationModule instance, identified by am.

For ViewObjects that are remotable, remote proxy class names are set in here as well.

Parameters:
am - the ApplicationModule in which these components are created.

resolveDefObject

public void resolveDefObject()
Specified by:
resolveDefObject in class MetaObject

createApplicationModuleDef

public static ApplicationModuleDefImpl createApplicationModuleDef(int defScope,
                                                                  java.lang.String defClassName)

loadFromXML

@Deprecated
protected static ApplicationModuleDefImpl loadFromXML(DefElement xmlElement)
Deprecated. 

Internal: Applications should not use this method.

Loads the XML for the top-level Application Module and creates an instance of ApplicatioModuleDef for it. This function then recursively traverses all of the containee objects in the top-level Applicaton Module and creates Def objects for them.

This function is almost pivotal from runtime's functional point of view.

Parameters:
xmlElement - the XMLStream for Business Components for Java Framework.
Returns:
ApplicationModuleDefImpl - the instance of the class Def.

loadFromXML

protected static ApplicationModuleDefImpl loadFromXML(DefElement xmlElement,
                                                      java.lang.String fullName,
                                                      ApplicationModuleDefImpl aInfo)
Internal: Applications should not use this method.

Loads the data from the XML stream. The method calls the MetaObjectManager to create an instance of the specific type of object and adds it to the hashtables that cache all the containees of the Application Module. The containees can be View Objects, View Links and Application Modules. The XMLStream is thus traversed to get the corresponding information about each of the possible children for an ApplicationModule, create these objects and add them to the cache.

Parameters:
xmlElement - represents XMLStream that providesthe JboElement.
aInfo - instance of the ApplicationModuleDef.
Returns:
an instance of the ApplicationModuleDef.

loadXMLContents

public void loadXMLContents(DefElement xmlElement,
                            java.lang.String fullName)

loadContainees

public void loadContainees()
Internal: Applications should not use this method.

Loads all components (View Objects, View Links, and Application Modules) into this Application Module.

The function loops through the list of View Object, View Link and Application Module names and loads the corresponding objects from a static list of metaobjects maintained by the MetaObjectManager. Since these objects are already created and stored for use in the cache, the retrieval is fast and efficient.


getViewImports

public java.util.ArrayList getViewImports()

addViewImport

public void addViewImport(java.lang.String viewDefName)

removeViewImport

public void removeViewImport(java.lang.String viewDefName)

getDefXMLElementTag

public java.lang.String getDefXMLElementTag()
Specified by:
getDefXMLElementTag in interface PersistentDefinition
Overrides:
getDefXMLElementTag in class PersistableDefObject

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
Parameters:
jos - the Output storage for persistence

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 MetaObject
Parameters:
jos - the Output storage for persistence

getDefTypeId

public int getDefTypeId()

setDefForComponent

protected void setDefForComponent(ComponentObjectImpl comp)

unsetDefForComponent

protected void unsetDefForComponent(ComponentObjectImpl comp)

getPackageDefs

protected PackageDefImpl[] getPackageDefs()

createApplicationModule

public void createApplicationModule(java.lang.String amName,
                                    java.lang.String defName,
                                    int sharedScope)

createViewObject

public AMViewUsage createViewObject(java.lang.String voName,
                                    java.lang.String defName)

createViewObjectFromQueryClauses

public AMViewUsage createViewObjectFromQueryClauses(java.lang.String voName,
                                                    java.lang.String eoName,
                                                    java.lang.String selectClause,
                                                    java.lang.String fromClause,
                                                    java.lang.String whereClause,
                                                    java.lang.String orderByClause)

createViewObjectFromQueryStmt

public AMViewUsage createViewObjectFromQueryStmt(java.lang.String voName,
                                                 java.lang.String queryStatement)

createViewObjectFromQueryStmt

public AMViewUsage createViewObjectFromQueryStmt(java.lang.String voName,
                                                 java.lang.String queryStatement,
                                                 java.lang.String voImplClassName)

createViewLink

public void createViewLink(java.lang.String vlName,
                           java.lang.String defName,
                           java.lang.String srcVOName,
                           java.lang.String destVOName)

createViewLinkFromEntityAssocName

public void createViewLinkFromEntityAssocName(java.lang.String vlName,
                                              java.lang.String entityAssocName,
                                              java.lang.String srcVOName,
                                              java.lang.String destVOName)

createViewLinkBetweenViewObjects

public void createViewLinkBetweenViewObjects(java.lang.String vlName,
                                             java.lang.String accessorName,
                                             java.lang.String srcVOName,
                                             java.lang.String[] srcAttrNames,
                                             java.lang.String destVOName,
                                             java.lang.String[] destAttrNames,
                                             java.lang.String assocClause)

getServiceMethod

public ApplicationModuleDefImpl.ServiceInterfaceMethod getServiceMethod(java.lang.String methodName,
                                                                        java.lang.Class[] paramTypes)
Returns custom service method or null if method does not exist.

Parameters:
methodName - method name
paramTypes - array of parameter types
Returns:
Method.

getReturnTypeForServiceMethod

public java.lang.String getReturnTypeForServiceMethod(java.lang.String methodName,
                                                      java.lang.Class[] paramTypes)
Returns return type for custom service method or null if method does not exist

Parameters:
methodName - - method name
paramTypes - - array of parameter types
Returns:
Method return type

getParameterTypeForServiceMethod

public java.lang.String getParameterTypeForServiceMethod(java.lang.String methodName,
                                                         java.lang.Class[] paramTypes,
                                                         int paramIndex)

getSvuNames

public java.lang.String[] getSvuNames()

getSvuCanCreate

public boolean getSvuCanCreate(java.lang.String svuName)

getSvuCanUpdate

public boolean getSvuCanUpdate(java.lang.String svuName)

getSvuCanDelete

public boolean getSvuCanDelete(java.lang.String svuName)

getSvuCanMerge

public boolean getSvuCanMerge(java.lang.String svuName)

getComponentClass

public java.lang.Class getComponentClass()

setComponentClass

public void setComponentClass(java.lang.Class refClass)

setComponentInterfaceName

public void setComponentInterfaceName(java.lang.String interfaceName)

getComponentInterfaceName

public java.lang.String getComponentInterfaceName()

getClientProxyClassName

public java.lang.String getClientProxyClassName()

setClientProxyClassName

public void setClientProxyClassName(java.lang.String name)

getEffectiveClientProxyClassName

protected java.lang.String getEffectiveClientProxyClassName()

getEffectiveComponentInterfaceName

protected java.lang.String getEffectiveComponentInterfaceName()

loadFromXML

protected static void loadFromXML(DefElement xmlElement,
                                  oracle.jbo.server.RemotableCompDef defObj)

getOperationDefinitions

public OperationDefinitions getOperationDefinitions()
Specified by:
getOperationDefinitions in interface OperationDefinitionContainer

loadOperationDefinitions

protected void loadOperationDefinitions(DefElement xmlElement)

loadOperationDefinitions

protected final void loadOperationDefinitions(DefElement xmlElement,
                                              java.lang.String tag)

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.
For internal use only. Application developers should not use this

getBaseDefObject

public DefinitionObject getBaseDefObject()
Overrides:
getBaseDefObject in class DefinitionObject

setBaseDefObject

public void setBaseDefObject(DefinitionObject baseDefObject)
Overrides:
setBaseDefObject in class DefinitionObject

setBaseDefObject

public void setBaseDefObject(DefinitionObject baseDefObject,
                             boolean addToBaseDef)
Overrides:
setBaseDefObject in class DefinitionObject

resolveReferences

protected void resolveReferences()
Overrides:
resolveReferences in class DefinitionObject

finishedLoading

protected void finishedLoading()
Overrides:
finishedLoading in class PersistableDefObject

setParent

protected void setParent(NamedObjectImpl parent)
Sets this object's parent.

Overrides:
setParent in class DefinitionObject
Parameters:
parent - the named object that is to be the parent of this object.

loadProperties

protected void loadProperties(DefElement xmlElement)
Overrides:
loadProperties in class DefinitionObject
Parameters:
xmlElement - The XML element to load from.

loadVariables

protected void loadVariables(DefElement xmlElement)

getVariableManager

public VariableValueManager getVariableManager()
Description copied from interface: VariableManagerOwnerBase
Returns this object's current Variable Value Manager. It will return null if Variable Value Manager has been initialized.

When a framework object is first created, its Variable Value Manager may be null. This method does not initialize (create) the Variable Value Manager.

VariableManagerOwnerBase.ensureVariableManager() in contrast, ensures that the Variable Value Manager is initialized (created).

Specified by:
getVariableManager in interface VariableManagerOwnerBase
Returns:
this object's current Variable Value Manager. May return null if one was not yet initialized.

getVarMgrParents

protected VariableValueManager[] getVarMgrParents()

hasVariables

public boolean hasVariables()
Description copied from interface: VariableManagerOwnerBase
Returns a flag indicating whether this object has Variables or not.

Specified by:
hasVariables in interface VariableManagerOwnerBase
Returns:
the flag indicating whether this object has Variables.

ensureVariableManager

public VariableValueManager ensureVariableManager()
Description copied from interface: VariableManagerOwnerBase
Returns this object's Variable Value Manager. If this object current has no Variable Value Manager, it will initialize (create) one.

Specified by:
ensureVariableManager in interface VariableManagerOwnerBase
Returns:
this object's Variable Value Manager. Will create a Variable Value Manager if this object had no Variable Value Manager.

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Specified by:
getDefXMLNameSpace in interface PersistentDefinition
Overrides:
getDefXMLNameSpace in class PersistableDefObject

resolvePropertyRaw

protected java.lang.Object resolvePropertyRaw(java.lang.String property,
                                              LocaleContext locale)
Overrides:
resolvePropertyRaw in class NamedObjectImpl

getAllProperties

public java.util.HashMap getAllProperties(java.util.HashMap map,
                                          LocaleContext locale)
Overrides:
getAllProperties in class NamedObjectImpl

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

E10653-04

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