|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
public class PersistableDefObject
Nested Class Summary | |
---|---|
static class |
PersistableDefObject.CustomizationType |
static class |
PersistableDefObject.PersonalizationType |
Field Summary |
---|
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 |
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
XML_STATEMENT |
Constructor Summary | |
---|---|
protected |
PersistableDefObject() |
|
PersistableDefObject(DefinitionManager defMgr, int defScope) |
Method Summary | |
---|---|
java.lang.Object |
addDefImport(java.lang.String defName, boolean doFind) |
protected void |
addExtendedDefObject(DefinitionObject extendedDefObject) |
protected java.util.Map |
allocatePropertyMap() |
void |
checkEditable() |
void |
close() |
static PersistableDefObject |
createFromXML(int defScope, DefinitionManager defMgr, java.lang.String fullName, java.lang.String metaObjectName, DefElement elem) |
void |
deregisterSessionObject() |
protected java.lang.Object |
findDefImport(java.lang.String defName) |
protected void |
finishedLoading() |
java.lang.String |
getBaseDir() |
java.lang.String |
getBasePackage() |
java.util.List |
getDefImports() |
DefinitionManager |
getDefManager() |
DefWriter |
getDefWriter() |
java.lang.String |
getDefXMLElementTag() |
java.lang.String |
getDefXMLNameSpace() |
PersistableDefObject |
getEditObject() |
java.util.List<DefinitionObject> |
getExtendedDefObjectsInternal() |
java.lang.String |
getFileName() |
java.lang.String |
getFullDirName() |
java.lang.String |
getFullFileName() |
DefPersistable |
getOrigObject() |
java.util.Map |
getPropertyMap() Internal: Applications should not use this method. |
java.lang.String[] |
getSubstitutedNames(boolean recurse) |
java.lang.String |
getXMLElementTag() Returns a piece of static info for the type of object this is invoked upon. |
void |
guaranteePath() |
boolean |
hasExtendedDefObjects() |
boolean |
isCustomizationEnabled() For internal use only. |
boolean |
isCustomizationEnabled(PersistableDefObject.CustomizationType type) For internal use only. |
boolean |
isDirty() This method returns if an Object is modified from last save/load |
boolean |
isEditable() |
boolean |
isNew() This method returns if this object is previously persisted. |
boolean |
isPersonalizationEnabled() For internal use only. |
boolean |
isPersonalizationEnabled(PersistableDefObject.PersonalizationType type) For internal use only. |
protected void |
loadDefImports(DefElement xmlElement) |
void |
loadXMLContents(DefElement xmlElement, java.lang.String fullName) |
void |
mergePropertyMap(java.util.Map m) |
protected void |
objectRemoved() |
static void |
registerClass(java.lang.String tagName, java.lang.Class cls) |
void |
registerDefObject() |
void |
registerSessionDefObject() |
void |
remove() |
boolean |
removeAndDelete() |
void |
removeDefImport(java.lang.String defName) |
protected boolean |
removeExtendedDefObject(DefinitionObject extendedDefObject) |
void |
removeProperty(java.lang.String hintName, LocaleContext locale) |
void |
saveXMLContents() |
void |
setCustomizationEnabled(java.util.EnumSet<PersistableDefObject.CustomizationType> types, boolean flag) For internal use only. |
void |
setCustomizationEnabled(PersistableDefObject.CustomizationType type, boolean flag) For internal use only. |
void |
setDefaultBaseDir(java.lang.String defaultBaseDir) |
void |
setDefMgr(DefinitionManager mgr) |
void |
setDirty(boolean b) This method marks the Object dirty |
void |
setEditable(boolean b) |
void |
setNew(boolean b) This method marks the as previously persisted. |
void |
setOrigObject(DefPersistable origObject) |
void |
setPersonalizationEnabled(java.util.EnumSet<PersistableDefObject.PersonalizationType> types, boolean flag) For internal use only. |
void |
setPersonalizationEnabled(PersistableDefObject.PersonalizationType type, boolean flag) For internal use only. |
void |
setProperty(java.lang.String hintName, java.lang.Object hintValue, LocaleContext locale) |
void |
setPropertyExpression(java.lang.String hintName, java.lang.String hintExpression) |
void |
setPropertyMap(java.util.Map m) Replaces all properties. |
void |
updateChildrenList(DefWriter jos, java.util.List lst, java.util.List orgLst, boolean useFullName, boolean writeDelta, boolean forceReplace) |
static void |
verifyVersion(DefElement xmlElement, java.lang.String name) |
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 |
void |
writeObject(DefWriter jos) Objects should write their persistence output in this method |
static void |
writeVersion(DefWriter jos) |
void |
writeXMLContents() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
getFullName |
Constructor Detail |
---|
protected PersistableDefObject()
public PersistableDefObject(DefinitionManager defMgr, int defScope)
Method Detail |
---|
public static void registerClass(java.lang.String tagName, java.lang.Class cls)
public static PersistableDefObject createFromXML(int defScope, DefinitionManager defMgr, java.lang.String fullName, java.lang.String metaObjectName, DefElement elem)
public DefPersistable getOrigObject()
getOrigObject
in interface DefPersistable
public void setOrigObject(DefPersistable origObject)
setOrigObject
in interface DefPersistable
public java.lang.String[] getSubstitutedNames(boolean recurse)
public void registerDefObject()
public void registerSessionDefObject()
public void deregisterSessionObject()
public DefinitionManager getDefManager()
public boolean hasExtendedDefObjects()
hasExtendedDefObjects
in class DefinitionObject
public java.util.List<DefinitionObject> getExtendedDefObjectsInternal()
getExtendedDefObjectsInternal
in class DefinitionObject
protected void addExtendedDefObject(DefinitionObject extendedDefObject)
addExtendedDefObject
in class DefinitionObject
protected boolean removeExtendedDefObject(DefinitionObject extendedDefObject)
removeExtendedDefObject
in class DefinitionObject
public boolean isDirty()
DefPersistable
isDirty
in interface DefPersistable
public void setDirty(boolean b)
DefPersistable
setDirty
in interface DefPersistable
b
- If true the Object is marked Dirty.public boolean isNew()
DefPersistable
isNew
in interface DefPersistable
public void setNew(boolean b)
DefPersistable
setNew
in interface DefPersistable
b
- If true the Object is marked as new object.public void checkEditable()
public boolean isEditable()
public void setEditable(boolean b)
public PersistableDefObject getEditObject()
public java.lang.String getBaseDir()
public java.lang.String getBasePackage()
public void setDefaultBaseDir(java.lang.String defaultBaseDir)
public void setDefMgr(DefinitionManager mgr)
public java.lang.String getDefXMLElementTag()
getDefXMLElementTag
in interface PersistentDefinition
public java.lang.String getXMLElementTag()
PersistentDefinition
getXMLElementTag
in interface PersistentDefinition
public java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace
in interface PersistentDefinition
public DefWriter getDefWriter()
public void writeObject(DefWriter jos)
PersistentDefinition
writeObject
in interface PersistentDefinition
jos
- the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
jos
- the Output storage for persistencepublic void updateChildrenList(DefWriter jos, java.util.List lst, java.util.List orgLst, boolean useFullName, boolean writeDelta, boolean forceReplace)
public java.util.List getDefImports()
protected java.lang.Object findDefImport(java.lang.String defName)
public java.lang.Object addDefImport(java.lang.String defName, boolean doFind)
public void removeDefImport(java.lang.String defName)
protected void loadDefImports(DefElement xmlElement)
public void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren
in interface PersistentDefinition
jos
- the Output storage for persistencepublic void writeXMLContents()
public java.lang.String getFileName()
public void saveXMLContents()
protected void finishedLoading()
finishedLoading
in class DefinitionObject
public void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
public void close()
protected void objectRemoved()
objectRemoved
in class DefinitionObject
public void remove()
public boolean removeAndDelete()
public java.lang.String getFullFileName()
public java.lang.String getFullDirName()
public void guaranteePath()
public static void verifyVersion(DefElement xmlElement, java.lang.String name)
public static void writeVersion(DefWriter jos)
public java.util.Map getPropertyMap()
NamedObjectImpl
getPropertyMap
in class NamedObjectImpl
protected java.util.Map allocatePropertyMap()
allocatePropertyMap
in class NamedObjectImpl
public void removeProperty(java.lang.String hintName, LocaleContext locale)
removeProperty
in class NamedObjectImpl
public void setProperty(java.lang.String hintName, java.lang.Object hintValue, LocaleContext locale)
setProperty
in class NamedObjectImpl
public void setPropertyExpression(java.lang.String hintName, java.lang.String hintExpression)
setPropertyExpression
in class NamedObjectImpl
public void setPropertyMap(java.util.Map m)
NamedObjectImpl
All existing properties are lost.
setPropertyMap
in class NamedObjectImpl
public void mergePropertyMap(java.util.Map m)
mergePropertyMap
in class NamedObjectImpl
public boolean isCustomizationEnabled()
public boolean isCustomizationEnabled(PersistableDefObject.CustomizationType type)
public void setCustomizationEnabled(PersistableDefObject.CustomizationType type, boolean flag)
public void setCustomizationEnabled(java.util.EnumSet<PersistableDefObject.CustomizationType> types, boolean flag)
public boolean isPersonalizationEnabled()
public boolean isPersonalizationEnabled(PersistableDefObject.PersonalizationType type)
public void setPersonalizationEnabled(PersistableDefObject.PersonalizationType type, boolean flag)
public void setPersonalizationEnabled(java.util.EnumSet<PersistableDefObject.PersonalizationType> types, boolean flag)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |