public abstract class PDefComponentObjectBase extends PersDefBase implements VariableManagerOwner, ResourceBundleOwner
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType
APPLY_PERS_DEFAULT, APPLY_PERS_PROPS, APPLY_PERS_QUERY, APPLY_PERS_STRUCT
mEditedProperties, mEditedPropertyExprs
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
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIX
XML_STATEMENT
Constructor and Description |
---|
PDefComponentObjectBase() |
PDefComponentObjectBase(DefinitionObject staticDef) |
Modifier and Type | Method and Description |
---|---|
void |
addOperation(OperationDefinitionImpl opDef)
Deprecated.
|
OperationDefinitionImpl |
addScriptOperation(java.lang.String id,
java.lang.String name,
java.lang.String returnType,
java.util.LinkedHashMap<java.lang.String,java.lang.String> params,
java.lang.String body)
Deprecated.
|
void |
applyDiffChildren(DifferDetails dif,
DiffResolver resolver) |
void |
applyDiffContents(DifferDetails dif,
DiffResolver resolver) |
DifferDetails |
diffChildren(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails) |
DifferDetails |
diffContents(DiffMergeable docDef,
DiffMergeable orgDef,
DifferDetails difDetails) |
VariableValueManager |
ensureVariableManager()
Returns this object's Variable Value Manager.
|
OperationDefinitionImpl |
findOperationDefinition(java.lang.String id)
Deprecated.
|
java.lang.String |
getDefXMLNameSpace() |
java.lang.String |
getEditVersionsAsString() |
oracle.jbo.server.InheritPersonalization |
getInheritPersonalizationValue() |
protected int |
getLoadSubclassLevel() |
int |
getMajorVersion() |
java.lang.Class |
getMessageBundleClass() |
int |
getMinorVersion() |
OperationDefinitionsImpl |
getOperationDefinitions()
Deprecated.
|
java.util.ArrayList |
getPersonalizedVariables() |
ResourceBundleDef |
getResourceBundleDef() |
java.lang.String |
getResourcePrefix() |
VariableValueManager |
getVariableManager()
Returns this object's current Variable Value Manager.
|
boolean |
hasPersonalizedComponentOperations()
Deprecated.
|
boolean |
hasVariables()
Returns a flag indicating whether this object has
Variables or not.
|
protected void |
loadDefVersions(DefElement xmlElement) |
void |
loadXMLContents(DefElement xmlElement,
java.lang.String fullName) |
OperationDefinitionImpl |
lookupOperationDefinition(java.lang.String id)
Deprecated.
|
PDefVariable |
lookupPersonalizedVariable(java.lang.String varName) |
void |
personalizeOperations(ComponentOperations operDef) |
PDefVariable |
personalizeVariable(java.lang.String varName) |
void |
removeOperation(java.lang.String opId)
Deprecated.
|
void |
removePersonalizedVariable(java.lang.String varName) |
void |
setEditable(boolean b) |
void |
setInheritPersonalizationStrValue(java.lang.String s) |
protected void |
setVariableManager(VariableValueManager mgr) |
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
|
applyPersonalization, applyPersonalization, applyPropertiesPersonalization, deregisterDefObject, findStaticDefinitionObject, getBasePackage, getFileName, getStaticDef, getStaticDefWithCheck, getTrimmedFullName, isAuditEnabled, isAuditEnabled, isDeprecated, loadSubclassXMLContents, mergePropertyMap, raiseCustomAuditEvent, registerDefObject, registerSessionDefObject, removeProperty, resolveDefObject, saveXMLContents, setDefinitionState, setFullName, setFullName, setProperty, setPropertyExpression, setPropertyMap, setStaticDef
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, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, 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, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeObject, writeVersion, writeXMLContents
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getBaseDefObject, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, getRootBaseDefObject, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setParent, setPropertySetName, staticLoadCustomProperties, staticLoadSchemaProperties, suppressUpdateCheck
getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setPropertiesMap, setPropertiesMap2, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
getFullName
getFullName, getName
public PDefComponentObjectBase()
public PDefComponentObjectBase(DefinitionObject staticDef)
public void setEditable(boolean b)
setEditable
in class PersistableDefObject
public boolean hasVariables()
VariableManagerOwnerBase
hasVariables
in interface VariableManagerOwnerBase
public VariableValueManager getVariableManager()
VariableManagerOwnerBase
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.
in contrast, ensures
that the Variable Value Manager is initialized (created).VariableManagerOwnerBase.ensureVariableManager()
getVariableManager
in interface VariableManagerOwnerBase
null
if one was not yet initialized.protected void setVariableManager(VariableValueManager mgr)
public VariableValueManager ensureVariableManager()
VariableManagerOwnerBase
ensureVariableManager
in interface VariableManagerOwnerBase
public java.lang.Class getMessageBundleClass()
getMessageBundleClass
in interface VariableManagerOwnerBase
public ResourceBundleDef getResourceBundleDef()
getResourceBundleDef
in interface ResourceBundleOwner
getResourceBundleDef
in interface VariableManagerOwnerBase
public java.lang.String getResourcePrefix()
getResourcePrefix
in interface ResourceBundleOwner
public java.util.ArrayList getPersonalizedVariables()
public PDefVariable lookupPersonalizedVariable(java.lang.String varName)
public void personalizeOperations(ComponentOperations operDef)
public PDefVariable personalizeVariable(java.lang.String varName)
public void removePersonalizedVariable(java.lang.String varName)
public OperationDefinitionImpl lookupOperationDefinition(java.lang.String id)
public OperationDefinitionImpl findOperationDefinition(java.lang.String id)
public boolean hasPersonalizedComponentOperations()
public OperationDefinitionsImpl getOperationDefinitions()
public void addOperation(OperationDefinitionImpl opDef)
public OperationDefinitionImpl addScriptOperation(java.lang.String id, java.lang.String name, java.lang.String returnType, java.util.LinkedHashMap<java.lang.String,java.lang.String> params, java.lang.String body)
public void removeOperation(java.lang.String opId)
public void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren
in interface PersistentDefinition
writeChildren
in class PersistableDefObject
jos
- the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
jos
- the Output storage for persistencepublic DifferDetails diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffChildren
in interface DiffMergeable
diffChildren
in class PersistableDefObject
public void applyDiffChildren(DifferDetails dif, DiffResolver resolver)
applyDiffChildren
in interface DiffMergeable
applyDiffChildren
in class PersistableDefObject
public oracle.jbo.server.InheritPersonalization getInheritPersonalizationValue()
public void setInheritPersonalizationStrValue(java.lang.String s)
protected int getLoadSubclassLevel()
public java.lang.String getEditVersionsAsString()
getEditVersionsAsString
in class PersistableDefObject
public int getMajorVersion()
getMajorVersion
in class PersistableDefObject
public int getMinorVersion()
getMinorVersion
in class PersistableDefObject
protected void loadDefVersions(DefElement xmlElement)
public void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
loadXMLContents
in class PersDefBase
public java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace
in interface PersistentDefinition
getDefXMLNameSpace
in class PersistableDefObject
public DifferDetails diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffContents
in interface DiffMergeable
diffContents
in class PersistableDefObject
public void applyDiffContents(DifferDetails dif, DiffResolver resolver)
applyDiffContents
in interface DiffMergeable
applyDiffContents
in class PersistableDefObject