Skip navigation links 
 
oracle.jbo.server
Class PDefApplicationModule
java.lang.Object
  
oracle.jbo.common.NamedObjectImpl
      
oracle.jbo.mom.DefinitionObject
          
oracle.jbo.mom.PersistableDefObject
              
oracle.jbo.mom.PersDefBase
                  
oracle.jbo.server.PDefComponentObjectBase
                      
oracle.jbo.server.PDefApplicationModule
- All Implemented Interfaces:
 
- ResourceBundleOwner, DiffMergeable, PersonalizableDef, DefPersistable, PersistentDefinition, VariableManagerOwner, VariableManagerOwnerBase
 
- 
public class PDefApplicationModule
 
- extends PDefComponentObjectBase
 
 
 
  
 
 
 
 
| Fields inherited from class oracle.jbo.mom.DefinitionObject | 
DEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP | 
 
 
  
 
  
 
| Method Summary | 
 void | 
addServiceViewUsage(java.lang.String vuName) 
            | 
 void | 
addServiceViewUsage(java.lang.String vuName, boolean canCreate, boolean canUpdate, boolean canDelete, boolean canMerge) 
            | 
 void | 
applyDiffChildren(DifferDetails dif, DiffResolver resolver) 
            | 
 void | 
applyDiffContents(DifferDetails dif, DiffResolver resolver) 
            | 
 void | 
applyPersonalization(int mode, java.lang.Object instance) 
            | 
 void | 
createApplicationModule(java.lang.String amName, java.lang.String defName, int sharedScope) 
            | 
 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) 
            | 
 DifferDetails | 
diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails) 
            | 
 DifferDetails | 
diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails) 
            | 
static PDefApplicationModule | 
findDefObject(java.lang.String persDefName) 
            | 
static PDefApplicationModule | 
findDefObjectNoSub(java.lang.String persDefName) 
            | 
 DefinitionObject | 
findStaticDefinitionObject(java.lang.String fullName) 
            | 
static java.lang.String[] | 
getAllDefNames() 
            | 
 AppModuleUsage[] | 
getAMAppModuleUsages() 
            | 
 ViewLinkUsage[] | 
getAMViewLinkUsages() 
            | 
 AMViewUsage[] | 
getAMViewUsages() 
            | 
 java.lang.String | 
getDefXMLNameSpace() 
            | 
 java.lang.String | 
getEditVersionsAsString() 
            | 
 oracle.jbo.server.InheritPersonalization | 
getInheritPersonalizationValue() 
            | 
protected  int | 
getLoadSubclassLevel() 
            | 
 int | 
getMajorVersion() 
            | 
 int | 
getMinorVersion() 
            | 
 java.util.Map<java.lang.String,java.lang.String> | 
getViewSchemaLocationMap() 
          For internal use only. | 
protected  void | 
loadDefVersions(DefElement xmlElement) 
            | 
 void | 
loadXMLContents(DefElement xmlElement, java.lang.String fullName) 
            | 
 boolean | 
removeApplicationModule(java.lang.String amName) 
            | 
 boolean | 
removeServiceViewUsage(java.lang.String svuName) 
            | 
 boolean | 
removeViewLink(java.lang.String vlName) 
            | 
 boolean | 
removeViewObject(java.lang.String voName) 
          Removes the view instance identified by the given name. | 
 void | 
saveXMLContents() 
            | 
 void | 
setInheritPersonalizationStrValue(java.lang.String s) 
            | 
 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.PDefComponentObjectBase | 
addOperation, addScriptOperation, ensureVariableManager, findOperationDefinition, getMessageBundleClass, getOperationDefinitions, getPersonalizedVariables, getResourceBundleDef, getResourcePrefix, getVariableManager, hasPersonalizedComponentOperations, hasVariables, lookupOperationDefinition, lookupPersonalizedVariable, personalizeOperations, personalizeVariable, removeOperation, removePersonalizedVariable, setEditable, setVariableManager | 
 
| Methods inherited from class oracle.jbo.mom.PersDefBase | 
applyPersonalization, applyPropertiesPersonalization, deregisterDefObject, getBasePackage, getFileName, getStaticDef, getStaticDefWithCheck, getTrimmedFullName, hasStaticDefElem, isAuditEnabled, isAuditEnabled, isDeprecated, loadSubclassXMLContents, mergePropertyMap, raiseCustomAuditEvent, registerDefObject, registerSessionDefObject, removeProperty, resolveDefObject, setDefinitionState, setFullName, setFullName, setProperty, setPropertyExpression, setPropertyMap, setStaticDef | 
 
| Methods inherited from class oracle.jbo.mom.PersistableDefObject | 
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, checkEditable, checkStructWithOld, close, createFromXML, deregisterSessionObject, diffObjects, ensureDifferDetails, findDefImport, finishedLoading, getBaseDir, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getExtendedDefObjectsInternal, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSessionSyncLock, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, lockDefinitionContext, mergeChanges, objectRemoved, reapplyChanges, registerClass, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditableFlag, setEditableObject, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setupDefWriterFromMO, staticUpdateChildrenList, unlockDefinitionContext, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeObject, writeVersion, writeXMLContents | 
 
| Methods inherited from class oracle.jbo.mom.DefinitionObject | 
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getBaseDefObject, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, isSuppressUpdateCheck, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setParent, setPropertySetName, suppressUpdateCheck | 
 
| Methods inherited from class oracle.jbo.common.NamedObjectImpl | 
getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setPropertiesMap, setPropertiesMap2, setProperty | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
 
 
PDefApplicationModule
public PDefApplicationModule()
PDefApplicationModule
public PDefApplicationModule(ApplicationModuleDefImpl amDef)
getAllDefNames
public static java.lang.String[] getAllDefNames()
findDefObjectNoSub
public static PDefApplicationModule findDefObjectNoSub(java.lang.String persDefName)
findDefObject
public static PDefApplicationModule findDefObject(java.lang.String persDefName)
findStaticDefinitionObject
public DefinitionObject findStaticDefinitionObject(java.lang.String fullName)
- 
- Specified by:
 
findStaticDefinitionObject in interface PersonalizableDef 
- Specified by:
 
findStaticDefinitionObject in class PersDefBase 
 
createApplicationModule
public void createApplicationModule(java.lang.String amName,
                                    java.lang.String defName,
                                    int sharedScope)
removeApplicationModule
public boolean removeApplicationModule(java.lang.String amName)
getAMViewUsages
public AMViewUsage[] getAMViewUsages()
getAMViewLinkUsages
public ViewLinkUsage[] getAMViewLinkUsages()
getAMAppModuleUsages
public AppModuleUsage[] getAMAppModuleUsages()
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)
removeViewObject
public boolean removeViewObject(java.lang.String voName)
- Removes the view instance identified by the given name. If a service view instance exists for the view instance, it will be removed also.
 
- 
- Parameters:
 
voName - name of the view instance to remove 
- Returns:
 
true if the view instance is found and removed. 
 
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)
removeViewLink
public boolean removeViewLink(java.lang.String vlName)
addServiceViewUsage
public void addServiceViewUsage(java.lang.String vuName)
addServiceViewUsage
public void addServiceViewUsage(java.lang.String vuName,
                                boolean canCreate,
                                boolean canUpdate,
                                boolean canDelete,
                                boolean canMerge)
removeServiceViewUsage
public boolean removeServiceViewUsage(java.lang.String svuName)
applyPersonalization
public void applyPersonalization(int mode,
                                 java.lang.Object instance)
- 
- Specified by:
 
applyPersonalization in interface PersonalizableDef 
- Specified by:
 
applyPersonalization in class PersDefBase 
 
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 PDefComponentObjectBase 
 
- 
- Parameters:
 
jos - the Output storage for persistence 
 
writeContents
public void writeContents(DefWriter jos)
- Description copied from interface: 
PersistentDefinition 
- Objects should write their persistence output in this method
 
- 
- Specified by:
 
writeContents in interface PersistentDefinition 
- Overrides:
 
writeContents in class PDefComponentObjectBase 
 
- 
- Parameters:
 
jos - the Output storage for persistence 
 
saveXMLContents
public void saveXMLContents()
- 
- Overrides:
 
saveXMLContents in class PersDefBase 
 
getViewSchemaLocationMap
public java.util.Map<java.lang.String,java.lang.String> getViewSchemaLocationMap()
- For internal use only. Application developers should not use this.
 
- 
- For internal use only. Application developers should not use this
 
- used by RuntimeMXBeanImpl to migrate Service.xsd (bug 16006230)
 
 
loadXMLContents
public void loadXMLContents(DefElement xmlElement,
                            java.lang.String fullName)
diffChildren
public DifferDetails diffChildren(DiffMergeable docDef,
                                  DiffMergeable orgDef,
                                  DifferDetails difDetails)
- 
- Specified by:
 
diffChildren in interface DiffMergeable 
- Overrides:
 
diffChildren in class PDefComponentObjectBase 
 
applyDiffChildren
public void applyDiffChildren(DifferDetails dif,
                              DiffResolver resolver)
- 
- Specified by:
 
applyDiffChildren in interface DiffMergeable 
- Overrides:
 
applyDiffChildren in class PDefComponentObjectBase 
 
getInheritPersonalizationValue
public oracle.jbo.server.InheritPersonalization getInheritPersonalizationValue()
setInheritPersonalizationStrValue
public void setInheritPersonalizationStrValue(java.lang.String s)
getLoadSubclassLevel
protected int getLoadSubclassLevel()
getEditVersionsAsString
public java.lang.String getEditVersionsAsString()
- 
- Overrides:
 
getEditVersionsAsString in class PersistableDefObject 
 
getMajorVersion
public int getMajorVersion()
- 
- Overrides:
 
getMajorVersion in class PersistableDefObject 
 
getMinorVersion
public int getMinorVersion()
- 
- Overrides:
 
getMinorVersion in class PersistableDefObject 
 
loadDefVersions
protected void loadDefVersions(DefElement xmlElement)
getDefXMLNameSpace
public java.lang.String getDefXMLNameSpace()
- 
- Specified by:
 
getDefXMLNameSpace in interface PersistentDefinition 
- Overrides:
 
getDefXMLNameSpace in class PersistableDefObject 
 
diffContents
public DifferDetails diffContents(DiffMergeable docDef,
                                  DiffMergeable orgDef,
                                  DifferDetails difDetails)
- 
- Specified by:
 
diffContents in interface DiffMergeable 
- Overrides:
 
diffContents in class PersistableDefObject 
 
applyDiffContents
public void applyDiffContents(DifferDetails dif,
                              DiffResolver resolver)
- 
- Specified by:
 
applyDiffContents in interface DiffMergeable 
- Overrides:
 
applyDiffContents in class PersistableDefObject 
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.