public interface IPortalComponentContext
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.
| Modifier and Type | Method and Description |
|---|---|
IPortalComponentEvent |
createComponentEvent(IPortalComponentRequest aRequest,
String nameSpace,
String eventName)
Deprecated.
Do not use anymore
|
void |
fireEvent(IPortalComponentEvent componentEvent,
IPortalComponentRequest request)
Deprecated.
Do not use anymore
|
String |
getApplicationName()
Gets the name of the portal application the component belongs to
|
Enumeration |
getAttributeNames()
Returns a Enumeration view of the attribute names contained in this context.
|
IPortalComponent |
getComponent()
Returns the component attached to this context.
|
String |
getComponentName()
Gets the name of the component associated to this context.
|
String |
getContextName()
Returns the name of this context.
|
IPortalComponentProfile |
getProfile()
Returns the profile of the component.
|
ResourceBundle |
getResourceBundle(Locale locale)
Returns the resourcebundle of the component in a given locale.
|
Object |
getValue(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(String name,
Object value)
Associates the specified value with the specified attribute name, specified as
a String.
|
void |
register(String eventName,
String nameSpace)
Deprecated.
Do not use anymore
|
void |
removeValue(String name)
Removes the attribute with the specified name from this context.
|
void |
unregister(String name,
String nameSpace)
Deprecated.
Do not use anymore
|
IPortalComponent getComponent()
String getContextName()
String getComponentName()
IPortalComponentProfile getProfile()
ResourceBundle getResourceBundle(Locale locale)
void putValue(String name, Object value)
name - the attribute name.value - the attribute value.Object getValue(String name)
name - the attribute name as a stringvoid removeValue(String name)
name - attribute nameEnumeration getAttributeNames()
null if empty.void register(String eventName, String nameSpace)
eventName - name of the event to register.nameSpace - the name space of the event to register.void unregister(String name, String nameSpace)
name - name of the event to unregister.nameSpace - name space of the event to unregister.void initialize(IPortalNode portalNode, INode node)
portalNode - the portal node.node - the node for this context.void fireEvent(IPortalComponentEvent componentEvent, IPortalComponentRequest request)
componentEvent - the component event containing potential data.request - the portal component request.IPortalComponentEvent createComponentEvent(IPortalComponentRequest aRequest, String nameSpace, String eventName)
aRequest - the portal component request.eventName - the name of the event to create.nameSpace - the name space of the event.String getApplicationName()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice