Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.jbo.server
Class ViewAccessorDef

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.jbo.server.ViewAccessorDef

All Implemented Interfaces:
DefPersistable, PersistentDefinition, VariableManagerOwner, VariableManagerOwnerBase

public class ViewAccessorDef
extends PersistableDefObject
Since:
release specific (what release of product did this appear in)

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

 

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
ViewAccessorDef()
           
ViewAccessorDef(java.lang.String name, java.lang.String viewDefFullName)
           
ViewAccessorDef(java.lang.String name, java.lang.String amUsageName, java.lang.String viewInstanceName)
           

 

Method Summary
 void addAppliedViewCriteria(PDefViewCriteria pVC)
           
 void addBoundParameter(java.lang.String name, java.lang.String expr)
           
 void applyViewAccessorVCs(ViewObjectImpl vo)
           
 VariableValueManager ensureVariableManager()
          Returns this object's Variable Value Manager.
protected  void finishedLoading()
           
 java.util.HashMap getAllProperties(java.util.HashMap map, LocaleContext locale)
           
 java.lang.String getAMUsageName()
           
 java.util.List<PDefViewCriteria> getAppliedViewCriterias()
           
 DefinitionObject getBaseDefObject()
           
 java.util.ArrayList getBoundParameterList()
           
 BoundParameters getBoundParameters()
           
 RowDef getDef()
           
 int getDefTypeId()
           
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
 java.lang.Class getMessageBundleClass()
           
 java.lang.String getOrderBy()
           
 ResourceBundleDef getResourceBundleDef()
           
 int getResultIndex()
           
 boolean getRowLevelBinds()
           
 VariableValueManager getVariableManager()
          Returns this object's current Variable Value Manager.
protected  VariableValueManager[] getVarMgrParents()
           
 java.lang.String getViewDefFullName()
           
 java.lang.String getViewInstanceName()
           
 boolean hasVariables()
          Returns a flag indicating whether this object has Variables or not.
 boolean isSharedInstance()
           
protected  void loadProperties(DefElement xmlElement)
           
protected  void loadVariables(DefElement xmlElement)
           
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
           
static ViewAccessorDef lookupViewAccessorDef(java.lang.String vaDesc, ViewObjectImpl vo)
           
protected  java.lang.Object resolvePropertyRaw(java.lang.String property, LocaleContext locale)
           
protected  void resolveReferences()
           
 void setAMUsageName(java.lang.String amUsageName)
           
 void setBaseDefObject(DefinitionObject baseDefObject)
           
 void setBaseDefObject(DefinitionObject baseDefObject, boolean addToBaseDef)
           
protected  void setDefForComponent(ComponentObjectImpl comp)
           
 void setName(java.lang.String name)
          Name this object.
 void setOrderBy(java.lang.String orderBy)
           
protected  void setParent(NamedObjectImpl parent)
          Sets this object's parent.
 void setResultIndex(int index)
           
 void setRowLevelBinds(boolean b)
           
 void setSharedInstance(boolean b)
           
 void setViewDefFullName(java.lang.String viewDefName)
           
 void setViewInstanceName(java.lang.String voName)
           
protected  void unsetDefForComponent(ComponentObjectImpl comp)
           
 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.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditObject, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getXMLElementTag, guaranteePath, isDirty, isEditable, isNew, loadDefImports, objectRemoved, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeProperty, saveXMLContents, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setProperty, setPropertyMap, updateChildrenList, verifyVersion, writeObject, writeVersion, writeXMLContents

 

Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, addPropertySetName, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, removeExtendedDefObject, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName

 

Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getResourcesFromBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, setFullName, setPropertiesMap, setPropertiesMap2, setProperty

 

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

ViewAccessorDef

public ViewAccessorDef()

ViewAccessorDef

public ViewAccessorDef(java.lang.String name,
                       java.lang.String viewDefFullName)

ViewAccessorDef

public ViewAccessorDef(java.lang.String name,
                       java.lang.String amUsageName,
                       java.lang.String viewInstanceName)

Method Detail

getDefTypeId

public int getDefTypeId()

getDef

public RowDef getDef()

setParent

protected void setParent(NamedObjectImpl parent)
Sets this object's parent.
Parameters:
parent - the named object that is to be the parent of this object.

getMessageBundleClass

public java.lang.Class getMessageBundleClass()

getResourceBundleDef

public ResourceBundleDef getResourceBundleDef()

setDefForComponent

protected void setDefForComponent(ComponentObjectImpl comp)

unsetDefForComponent

protected void unsetDefForComponent(ComponentObjectImpl comp)

getViewDefFullName

public java.lang.String getViewDefFullName()

setViewDefFullName

public void setViewDefFullName(java.lang.String viewDefName)

getAMUsageName

public java.lang.String getAMUsageName()

setAMUsageName

public void setAMUsageName(java.lang.String amUsageName)

getViewInstanceName

public java.lang.String getViewInstanceName()

setViewInstanceName

public void setViewInstanceName(java.lang.String voName)

isSharedInstance

public boolean isSharedInstance()

setSharedInstance

public void setSharedInstance(boolean b)

getRowLevelBinds

public boolean getRowLevelBinds()

setRowLevelBinds

public void setRowLevelBinds(boolean b)

getOrderBy

public java.lang.String getOrderBy()

setOrderBy

public void setOrderBy(java.lang.String orderBy)

getAppliedViewCriterias

public java.util.List<PDefViewCriteria> getAppliedViewCriterias()

addAppliedViewCriteria

public void addAppliedViewCriteria(PDefViewCriteria pVC)

getBoundParameters

public BoundParameters getBoundParameters()

getBoundParameterList

public java.util.ArrayList getBoundParameterList()

addBoundParameter

public void addBoundParameter(java.lang.String name,
                              java.lang.String expr)

getResultIndex

public int getResultIndex()

setResultIndex

public void setResultIndex(int index)

applyViewAccessorVCs

public void applyViewAccessorVCs(ViewObjectImpl vo)
For internal use only. Application developers should not use this

lookupViewAccessorDef

public static ViewAccessorDef lookupViewAccessorDef(java.lang.String vaDesc,
                                                    ViewObjectImpl vo)

loadXMLContents

public void loadXMLContents(DefElement xmlElement,
                            java.lang.String fullName)
Overrides:
loadXMLContents in class PersistableDefObject

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
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 PersistableDefObject
Parameters:
jos - the Output storage for persistence

getDefXMLElementTag

public java.lang.String getDefXMLElementTag()
Specified by:
getDefXMLElementTag in interface PersistentDefinition
Overrides:
getDefXMLElementTag in class PersistableDefObject

setName

public void setName(java.lang.String name)
Name this object.
Overrides:
setName in class DefinitionObject
Parameters:
name - the name to be given to this object.
For internal use only. Application developers should not use this

getBaseDefObject

public DefinitionObject getBaseDefObject()
Overrides:
getBaseDefObject in class DefinitionObject

setBaseDefObject

public void setBaseDefObject(DefinitionObject baseDefObject)
Overrides:
setBaseDefObject in class DefinitionObject

setBaseDefObject

public void setBaseDefObject(DefinitionObject baseDefObject,
                             boolean addToBaseDef)
Overrides:
setBaseDefObject in class DefinitionObject

resolveReferences

protected void resolveReferences()
Overrides:
resolveReferences in class DefinitionObject

finishedLoading

protected void finishedLoading()
Overrides:
finishedLoading in class PersistableDefObject

loadProperties

protected void loadProperties(DefElement xmlElement)
Overrides:
loadProperties in class DefinitionObject
Parameters:
xmlElement - The XML element to load from.

loadVariables

protected void loadVariables(DefElement xmlElement)

getVariableManager

public VariableValueManager getVariableManager()
Description copied from interface: VariableManagerOwnerBase
Returns this object's current Variable Value Manager. It will return 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.

VariableManagerOwnerBase.ensureVariableManager() in contrast, ensures that the Variable Value Manager is initialized (created).

Specified by:
getVariableManager in interface VariableManagerOwnerBase
Returns:
this object's current Variable Value Manager. May return null if one was not yet initialized.

getVarMgrParents

protected VariableValueManager[] getVarMgrParents()

hasVariables

public boolean hasVariables()
Description copied from interface: VariableManagerOwnerBase
Returns a flag indicating whether this object has Variables or not.
Specified by:
hasVariables in interface VariableManagerOwnerBase
Returns:
the flag indicating whether this object has Variables.

ensureVariableManager

public VariableValueManager ensureVariableManager()
Description copied from interface: VariableManagerOwnerBase
Returns this object's Variable Value Manager. If this object current has no Variable Value Manager, it will initialize (create) one.
Specified by:
ensureVariableManager in interface VariableManagerOwnerBase
Returns:
this object's Variable Value Manager. Will create a Variable Value Manager if this object had no Variable Value Manager.

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Specified by:
getDefXMLNameSpace in interface PersistentDefinition
Overrides:
getDefXMLNameSpace in class PersistableDefObject

resolvePropertyRaw

protected java.lang.Object resolvePropertyRaw(java.lang.String property,
                                              LocaleContext locale)
Overrides:
resolvePropertyRaw in class NamedObjectImpl

getAllProperties

public java.util.HashMap getAllProperties(java.util.HashMap map,
                                          LocaleContext locale)
Overrides:
getAllProperties in class NamedObjectImpl

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


Copyright © 1997, 2009, Oracle. All rights reserved.