|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
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 oracle.jbo.mom.PersDefBase oracle.jbo.server.PDefComponentObjectBase oracle.jbo.server.PDefRow oracle.jbo.server.PDefEntityObject
public class PDefEntityObject
Note that there could dependency from PDefViewObject to PDefEntityObject. Suppose the PDefViewObject defines an attribute definition based on an attr coming from PDefEntityObject. When the PDefViewObject is loaded from XML, we create a ViewAttributeDefImpl on the PDefViewObject and copy the attr def values from PDefEntityObject.
If this PDefEntityObject's attribute is changed later, and nothing cuased the PDefViewObject to be reloaded from XML, the PDefViewObject may end up with stale definition. To fix this problem, Jedi code will invoke DefinitionManager::removeAllSessionDefinitions() to 'dump' all session definitions and pers definitions.
Any ADFbc client who performs similar DTRT operations, should make the same call. However, one must take care when calling removeAllSessionDefinitions() as it will remove all session defs and clear out the MDS cache.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject |
---|
PersistableDefObject.CustomizationType, 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 | |
---|---|
PDefEntityObject()
|
|
PDefEntityObject(EntityDefImpl entityDef)
|
Method Summary | |
---|---|
AssociationDefImpl |
addAssocAccessor(java.lang.String accName,
java.lang.String assocName,
java.lang.Class javaType)
|
AttributeDefImpl |
addAttribute(java.lang.String attrName,
java.lang.String columnName,
java.lang.Class javaType,
boolean isPersistent)
|
void |
addEventDef(EventDef eventDef)
|
void |
addEventMapping(EventMapping eventMapping)
|
void |
addTrigger(TriggerType trig,
JboValidatorHints validator)
Internal: Applications should not use this method. * |
void |
addValidator(JboValidatorHints validator)
|
void |
applyPersonalization(java.lang.Object instance)
|
static PDefEntityObject |
findDefObject(java.lang.String persDefName)
|
static PDefEntityObject |
findDefObjectNoSub(java.lang.String persDefName)
|
DefinitionObject |
findStaticDefinitionObject(java.lang.String fullName)
|
StructureDef |
findStructureDefByName(java.lang.String structDefFullName)
|
JboValidatorHints |
findValidator(java.lang.String name)
|
static java.lang.String[] |
getAllDefNames()
|
java.lang.String |
getDefXMLNameSpace()
|
java.util.ArrayList |
getEventDefs()
|
java.util.ArrayList |
getEventMappings()
|
java.util.ArrayList |
getPersTriggers(TriggerType trig)
Internal: Applications should not use this method. * |
java.util.ArrayList |
getPersValidators()
|
java.util.ArrayList |
getTriggers(TriggerType trig)
Internal: Applications should not use this method. * |
java.util.ArrayList |
getValidators()
|
void |
loadXMLAttrDefContents(DefElement elem,
int index)
|
void |
loadXMLContents(DefElement xmlElement,
java.lang.String fullName)
|
JboValidatorHints |
lookupTrigger(TriggerType trig,
java.lang.String valName)
Internal: Applications should not use this method. * |
JboValidatorHints |
lookupValidator(java.lang.String valName)
|
EventDef |
personalizeEventDef(java.lang.String name)
|
EventMapping |
personalizeEventMapping(java.lang.String eventName,
EventMapping.EventPointType type)
|
JboValidatorHints |
personalizeTrigger(TriggerType trig,
java.lang.String name,
java.lang.String validatorType,
java.lang.String validatorSubType)
Internal: Applications should not use this method. * |
JboValidatorHints |
personalizeValidator(java.lang.String name,
java.lang.String validatorType,
java.lang.String validatorSubType)
|
protected void |
processAccessors()
|
void |
removeTrigger(TriggerType trig,
java.lang.String valName)
Internal: Applications should not use this method. * |
void |
removeValidator(java.lang.String valName)
|
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.mom.PersDefBase |
---|
applyPropertiesPersonalization, deregisterDefObject, getBasePackage, getFileName, getStaticDef, getStaticDefWithCheck, getTrimmedFullName, mergePropertyMap, registerDefObject, registerSessionDefObject, removeProperty, resolveDefObject, saveXMLContents, setFullName, setFullName, setProperty, setPropertyExpression, setPropertyMap, setStaticDef |
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 |
Constructor Detail |
---|
public PDefEntityObject()
public PDefEntityObject(EntityDefImpl entityDef)
Method Detail |
---|
public static java.lang.String[] getAllDefNames()
public static PDefEntityObject findDefObjectNoSub(java.lang.String persDefName)
public static PDefEntityObject findDefObject(java.lang.String persDefName)
public DefinitionObject findStaticDefinitionObject(java.lang.String fullName)
findStaticDefinitionObject
in interface PersonalizableDef
findStaticDefinitionObject
in class PersDefBase
public java.util.ArrayList getValidators()
public JboValidatorHints findValidator(java.lang.String name)
public JboValidatorHints lookupValidator(java.lang.String valName)
public void addValidator(JboValidatorHints validator)
public void removeValidator(java.lang.String valName)
public java.util.ArrayList getPersValidators()
public JboValidatorHints personalizeValidator(java.lang.String name, java.lang.String validatorType, java.lang.String validatorSubType)
public java.util.ArrayList getTriggers(TriggerType trig)
public JboValidatorHints lookupTrigger(TriggerType trig, java.lang.String valName)
public void addTrigger(TriggerType trig, JboValidatorHints validator)
public void removeTrigger(TriggerType trig, java.lang.String valName)
public java.util.ArrayList getPersTriggers(TriggerType trig)
public JboValidatorHints personalizeTrigger(TriggerType trig, java.lang.String name, java.lang.String validatorType, java.lang.String validatorSubType)
public java.util.ArrayList getEventDefs()
public java.util.ArrayList getEventMappings()
public void addEventDef(EventDef eventDef)
public EventDef personalizeEventDef(java.lang.String name)
public void addEventMapping(EventMapping eventMapping)
public EventMapping personalizeEventMapping(java.lang.String eventName, EventMapping.EventPointType type)
public AssociationDefImpl addAssocAccessor(java.lang.String accName, java.lang.String assocName, java.lang.Class javaType)
public AttributeDefImpl addAttribute(java.lang.String attrName, java.lang.String columnName, java.lang.Class javaType, boolean isPersistent)
public StructureDef findStructureDefByName(java.lang.String structDefFullName)
protected void processAccessors()
processAccessors
in class PDefRow
public void applyPersonalization(java.lang.Object instance)
applyPersonalization
in interface PersonalizableDef
applyPersonalization
in class PersDefBase
public void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren
in interface PersistentDefinition
writeChildren
in class PDefRow
jos
- the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
writeContents
in class PersDefBase
jos
- the Output storage for persistencepublic void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
loadXMLContents
in class PersDefBase
public void loadXMLAttrDefContents(DefElement elem, int index)
public java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace
in interface PersistentDefinition
getDefXMLNameSpace
in class PersistableDefObject
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |