|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.NamedObjectImpl
oracle.jbo.server.NamedObjectImpl
oracle.jbo.server.ComponentObjectImpl
public class ComponentObjectImpl
Abstract class for ComponentObjectImpl. Users need to extend this class to plug generic components in Business Components for Java Framework
Field Summary |
---|
Fields inherited from class oracle.jbo.common.NamedObjectImpl |
---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
Fields inherited from interface oracle.jbo.GenericHints |
---|
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP |
Constructor Summary | |
---|---|
ComponentObjectImpl()
|
Method Summary | |
---|---|
void |
addListener(ComponentObjectListener listener)
Add a listener for the Component Object |
void |
applyPersonalization()
|
protected void |
create()
|
static ComponentObjectImpl |
createRef(java.lang.String name,
DefObject bo)
|
protected VariableValueManager |
createVariableValueManager(VariableManagerOwnerBase owner,
VariableManager[] varMgrParents)
|
VariableValueManager |
ensureVariableManager()
Returns this object's Variable Value Manager. |
OperationDefinitions |
findOperationDefinitions()
|
protected PersDefBase |
findPersDefObject()
|
java.util.HashMap |
getAllProperties(java.util.HashMap map,
LocaleContext locale)
|
ApplicationModule |
getApplicationModule()
Gets the parent Application Module that contains this component object. |
protected boolean |
getBooleanAdfmConfigProperty(java.lang.String propertyName)
|
protected java.util.Vector |
getCompListeners()
Gets the list of component Object listeners. |
protected java.util.ArrayList |
getCompListenersList()
Gets the list of component Object listeners. |
java.lang.String |
getDefFullName()
Gets the Full Name of the Def Object. |
protected DefinitionManager |
getDefinitionManager()
|
java.lang.String |
getDefName()
Gets the name of the Def Object. |
protected java.lang.String |
getFullNameForPersDef()
|
java.lang.String |
getHintValue(LocaleContext locale,
java.lang.String sHintName)
Return hint value based on the hint name |
java.lang.String |
getLabel(LocaleContext locale)
Retrieves the label to be used in any attribute prompts |
java.lang.String |
getLabelPlural(LocaleContext locale)
Retrives the LabelPlural text to be used for this attribute |
java.lang.Class |
getMessageBundleClass()
|
java.lang.String |
getProxyClassName()
Gets the Proxy class name for the corresponding deployment platform. |
protected java.lang.String |
getProxyClassName(java.lang.String platform)
Gets the proxy class name for a deplyoment platform. |
ResourceBundleDef |
getResourceBundleDef()
|
ApplicationModuleImpl |
getRootApplicationModule()
Gets the root application module implementation. |
protected java.lang.String |
getStringFromMessageBundle(java.lang.String property,
LocaleContext locale,
boolean tryNamedProperty)
internal only for framework use. |
java.lang.String |
getTooltip(LocaleContext locale)
Retrives the tooltip text to be used for this attribute |
VariableValueManager |
getVariableManager()
Returns this object's current Variable Value Manager. |
boolean |
hasVariables()
Returns a flag indicating whether this object has Variables or not. |
boolean |
isDead()
|
boolean |
isPersonalized()
|
boolean |
isRegWithPiggyMan()
Is component registered with Piggy back Manager |
void |
remove()
Deletes this component. |
protected java.lang.Object |
resolvePropertyRaw(java.lang.String property,
LocaleContext locale)
|
void |
setName(java.lang.String name)
Name this object. |
protected void |
setParent(NamedObjectImpl parent)
Sets this object's parent. |
protected void |
setProxyClassName(java.lang.String platform,
java.lang.String proxyClassName)
Set the name value pair for internal map |
Methods inherited from class oracle.jbo.server.NamedObjectImpl |
---|
setParent, setPropertiesMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.ComponentObject |
---|
getFullName, getName |
Methods inherited from interface oracle.jbo.Properties |
---|
getProperties, getProperty, getProperty, refreshProperty |
Methods inherited from interface oracle.jbo.VariableManagerOwner |
---|
getName |
Constructor Detail |
---|
public ComponentObjectImpl()
Method Detail |
---|
protected java.util.ArrayList getCompListenersList()
protected java.util.Vector getCompListeners()
public final ApplicationModuleImpl getRootApplicationModule()
public static ComponentObjectImpl createRef(java.lang.String name, DefObject bo)
name
- the reference object name.bo
- the object to be referenced.
protected java.lang.String getFullNameForPersDef()
protected DefinitionManager getDefinitionManager()
protected PersDefBase findPersDefObject()
public void applyPersonalization()
public boolean isPersonalized()
protected void create()
public java.lang.String getDefName()
getDefName
in interface ComponentObject
public java.lang.String getDefFullName()
getDefFullName
in interface ComponentObject
public void remove()
remove
in interface ComponentObject
public boolean isDead()
protected java.lang.String getStringFromMessageBundle(java.lang.String property, LocaleContext locale, boolean tryNamedProperty)
NamedObjectImpl
getStringFromMessageBundle
in class NamedObjectImpl
public java.lang.String getProxyClassName()
public ApplicationModule getApplicationModule()
null
. For example,
if you call this method on a root AM, it will return null
.
null
if the component object
has no parent.protected java.lang.String getProxyClassName(java.lang.String platform)
platform
- deployment platform
protected void setProxyClassName(java.lang.String platform, java.lang.String proxyClassName)
platform
- the name of the platform as a String.proxyClassName
- the name of the proxy class as a String.public boolean isRegWithPiggyMan()
public java.lang.String getLabel(LocaleContext locale)
GenericHints
getLabel
in interface GenericHints
public java.lang.String getLabelPlural(LocaleContext locale)
GenericHints
getLabelPlural
in interface GenericHints
public java.lang.String getTooltip(LocaleContext locale)
GenericHints
getTooltip
in interface GenericHints
public java.lang.String getHintValue(LocaleContext locale, java.lang.String sHintName)
GenericHints
getHintValue
in interface GenericHints
public void addListener(ComponentObjectListener listener)
listener
- a listener for the component objectpublic void setName(java.lang.String name)
setName
in class NamedObjectImpl
name
- the name to be given to this object.protected void setParent(NamedObjectImpl parent)
parent
- the named object that is to be the parent of this object.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.public boolean hasVariables()
VariableManagerOwnerBase
hasVariables
in interface VariableManagerOwnerBase
public VariableValueManager ensureVariableManager()
VariableManagerOwnerBase
ensureVariableManager
in interface VariableManagerOwnerBase
protected VariableValueManager createVariableValueManager(VariableManagerOwnerBase owner, VariableManager[] varMgrParents)
protected java.lang.Object resolvePropertyRaw(java.lang.String property, LocaleContext locale)
resolvePropertyRaw
in class NamedObjectImpl
public java.util.HashMap getAllProperties(java.util.HashMap map, LocaleContext locale)
getAllProperties
in class NamedObjectImpl
public java.lang.Class getMessageBundleClass()
getMessageBundleClass
in interface VariableManagerOwnerBase
public ResourceBundleDef getResourceBundleDef()
getResourceBundleDef
in interface VariableManagerOwnerBase
public OperationDefinitions findOperationDefinitions()
findOperationDefinitions
in interface OperationContainer
protected boolean getBooleanAdfmConfigProperty(java.lang.String propertyName)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |