Package com.webmethods.caf.portlet
Interface IPortletProvider
public interface IPortletProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Used to pass portlet creation informationstatic final String
static final String
Key to use to find implementation of IPortletProvider underExternalContext.getRequestMap()
-
Method Summary
Modifier and TypeMethodDescriptiongetPortletNamespace
(String portlet) Returns portlet namespace for specified portlet identifier.Renders portlet content and returns reader
-
Field Details
-
REQUEST_MAP_KEY
Key to use to find implementation of IPortletProvider underExternalContext.getRequestMap()
- See Also:
-
PORTLET_TYPE_KEY
Used to pass portlet creation information- See Also:
-
PORTLET_URI
- See Also:
-
-
Method Details
-
getPortletNamespace
Returns portlet namespace for specified portlet identifier.- Parameters:
portlet
- Portlet identifier (thingID or alias).- Returns:
- Portlet namespace, or null if portlet identifier is invalid.
- Throws:
Exception
-
renderPortlet
Renders portlet content and returns reader- Parameters:
portlet
- portlet identifier (thingID or alias) to renderlayout
- legacy portlet layout to render. If null default layout will be used- Returns:
- Reader instance with portlet content
- Throws:
Exception
-