public abstract class PersDefBase extends PersistableDefObject implements PersonalizableDef
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationTypeDEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAPmFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIXXML_STATEMENT| Constructor and Description |
|---|
PersDefBase(DefinitionManager defMgr) |
PersDefBase(DefinitionManager defMgr, DefinitionObject staticDef) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
applyPersonalization(java.lang.Object instance) |
void |
applyPropertiesPersonalization(NamedObjectImpl obj) |
void |
deregisterDefObject() |
abstract DefinitionObject |
findStaticDefinitionObject(java.lang.String fullName) |
java.lang.String |
getBasePackage() |
java.lang.String |
getFileName() |
DefinitionObject |
getStaticDef() |
DefinitionObject |
getStaticDefWithCheck() |
static java.lang.String |
getTrimmedFullName(java.lang.String fullName) |
protected boolean |
isAuditEnabled() |
protected boolean |
isAuditEnabled(java.lang.String auditEvent) |
void |
loadSubclassXMLContents(DefElement xmlElement, java.lang.String fullName) |
void |
loadXMLContents(DefElement xmlElement, java.lang.String fullName) |
void |
mergePropertyMap(java.util.Map m) |
protected void |
raiseCustomAuditEvent(java.lang.String eventType, java.lang.String operation, java.lang.String descOfOperation) |
void |
registerDefObject() |
void |
registerSessionDefObject() |
void |
removeProperty(java.lang.String hintName, LocaleContext locale) |
void |
resolveDefObject() |
void |
saveXMLContents() |
void |
setFullName(java.lang.String fullName)
Give this object a fully-qualified name.
|
void |
setFullName(java.lang.String fullName, boolean setStaticDef) |
void |
setProperty(java.lang.String hintName, java.lang.Object hintValue, LocaleContext locale) |
void |
setPropertyExpression(java.lang.String hintName, java.lang.String expr) |
void |
setPropertyMap(java.util.Map m)
Replaces all properties.
|
protected void |
setStaticDef(DefinitionObject staticDefObj) |
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method
|
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, applyDiffChildren, applyDiffContents, checkEditable, close, createFromXML, deregisterSessionObject, diffChildren, diffContents, diffObjects, ensureDifferDetails, findDefImport, finishedLoading, getBaseDir, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getDefXMLNameSpace, getEditObject, getExtendedDefObjectsInternal, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, objectRemoved, reapplyChanges, registerClass, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, staticUpdateChildrenList, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeChildren, writeObject, writeVersion, writeXMLContentsaddPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getBaseDefObject, getContainerDef, getContainerName, 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, suppressUpdateCheckgetAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setPropertiesMap, setPropertiesMap2, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullNamegetFullName, getNamepublic PersDefBase(DefinitionManager defMgr)
public PersDefBase(DefinitionManager defMgr, DefinitionObject staticDef)
public abstract DefinitionObject findStaticDefinitionObject(java.lang.String fullName)
findStaticDefinitionObject in interface PersonalizableDefpublic abstract void applyPersonalization(java.lang.Object instance)
applyPersonalization in interface PersonalizableDefpublic java.lang.String getBasePackage()
getBasePackage in class PersistableDefObjectpublic static java.lang.String getTrimmedFullName(java.lang.String fullName)
public void setFullName(java.lang.String fullName)
NamedObjectImplsetFullName in class PersistableDefObjectfullName - this object's fully-qualified name; the package name concatenated with the class name.
public void setFullName(java.lang.String fullName,
boolean setStaticDef)
public java.lang.String getFileName()
getFileName in class PersistableDefObjectpublic DefinitionObject getStaticDef()
getStaticDef in interface PersonalizableDefpublic DefinitionObject getStaticDefWithCheck()
protected void setStaticDef(DefinitionObject staticDefObj)
public void resolveDefObject()
resolveDefObject in interface PersonalizableDefpublic void registerDefObject()
registerDefObject in interface PersonalizableDefregisterDefObject in class PersistableDefObjectpublic void registerSessionDefObject()
registerSessionDefObject in class PersistableDefObjectpublic void deregisterDefObject()
deregisterDefObject in interface PersonalizableDefpublic void writeContents(DefWriter jos)
PersistentDefinitionwriteContents in interface PersistentDefinitionwriteContents in class PersistableDefObjectjos - the Output storage for persistencepublic void saveXMLContents()
saveXMLContents in class PersistableDefObjectpublic void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
loadXMLContents in class PersistableDefObjectpublic void loadSubclassXMLContents(DefElement xmlElement, java.lang.String fullName)
public void applyPropertiesPersonalization(NamedObjectImpl obj)
public void removeProperty(java.lang.String hintName,
LocaleContext locale)
removeProperty in class PersistableDefObject
public void setProperty(java.lang.String hintName,
java.lang.Object hintValue,
LocaleContext locale)
setProperty in class PersistableDefObject
public void setPropertyExpression(java.lang.String hintName,
java.lang.String expr)
setPropertyExpression in class PersistableDefObjectpublic void setPropertyMap(java.util.Map m)
NamedObjectImplAll existing properties are lost.
setPropertyMap in class PersistableDefObjectpublic void mergePropertyMap(java.util.Map m)
mergePropertyMap in class PersistableDefObject
protected void raiseCustomAuditEvent(java.lang.String eventType,
java.lang.String operation,
java.lang.String descOfOperation)
protected boolean isAuditEnabled(java.lang.String auditEvent)
protected boolean isAuditEnabled()