|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IPortalComponentContext defines a user specific view on a Portal Component.
It gives access to the component's profile; A component may store objects in its context that will be kept as long as the component context is not released.
| Method Summary | |
IPortalComponentEvent |
createComponentEvent(IPortalComponentRequest aRequest,
java.lang.String nameSpace,
java.lang.String eventName)
Deprecated. Do not use anymore |
void |
fireEvent(IPortalComponentEvent componentEvent,
IPortalComponentRequest request)
Deprecated. Do not use anymore |
java.lang.String |
getApplicationName()
Gets the name of the portal application the component belongs to |
java.util.Enumeration |
getAttributeNames()
Returns a Enumeration view of the attribute names contained in this context. |
IPortalComponent |
getComponent()
Returns the component attached to this context. |
java.lang.String |
getComponentName()
Gets the name of the component associated to this context. |
java.lang.String |
getContextName()
Returns the name of this context. |
IPortalComponentProfile |
getProfile()
Returns the profile of the component. |
java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale)
Returns the resourcebundle of the component in a given locale. |
java.lang.Object |
getValue(java.lang.String name)
Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found. |
void |
initialize(IPortalNode portalNode,
INode node)
Deprecated. Do not use anymore |
void |
putValue(java.lang.String name,
java.lang.Object value)
Associates the specified value with the specified attribute name, specified as a String. |
void |
register(java.lang.String eventName,
java.lang.String nameSpace)
Deprecated. Do not use anymore |
void |
removeValue(java.lang.String name)
Removes the attribute with the specified name from this context. |
void |
unregister(java.lang.String name,
java.lang.String nameSpace)
Deprecated. Do not use anymore |
| Method Detail |
public IPortalComponent getComponent()
public java.lang.String getContextName()
public java.lang.String getComponentName()
public IPortalComponentProfile getProfile()
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
public void putValue(java.lang.String name,
java.lang.Object value)
name - the attribute name.value - the attribute value.public java.lang.Object getValue(java.lang.String name)
name - the attribute name as a stringpublic void removeValue(java.lang.String name)
name - attribute namepublic java.util.Enumeration getAttributeNames()
null if empty.
public void register(java.lang.String eventName,
java.lang.String nameSpace)
eventName - name of the event to register.nameSpace - the name space of the event to register.
public void unregister(java.lang.String name,
java.lang.String nameSpace)
name - name of the event to unregister.nameSpace - name space of the event to unregister.
public void initialize(IPortalNode portalNode,
INode node)
portalNode - the portal node.node - the node for this context.
public void fireEvent(IPortalComponentEvent componentEvent,
IPortalComponentRequest request)
componentEvent - the component event containing potential data.request - the portal component request.
public IPortalComponentEvent createComponentEvent(IPortalComponentRequest aRequest,
java.lang.String nameSpace,
java.lang.String eventName)
aRequest - the portal component request.eventName - the name of the event to create.nameSpace - the name space of the event.public java.lang.String getApplicationName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||