public interface IPortletProvider
Modifier and Type | Field and Description |
---|---|
static String |
PORTLET_TYPE_KEY
Used to pass portlet creation information
|
static String |
PORTLET_URI |
static String |
REQUEST_MAP_KEY
Key to use to find implementation of IPortletProvider under
ExternalContext.getRequestMap() |
Modifier and Type | Method and Description |
---|---|
String |
getPortletNamespace(String portlet)
Returns portlet namespace for specified portlet identifier.
|
Reader |
renderPortlet(String portlet,
String layout,
Map<String,Object> properties)
Renders portlet content and returns reader
|
static final String REQUEST_MAP_KEY
ExternalContext.getRequestMap()
static final String PORTLET_TYPE_KEY
static final String PORTLET_URI
String getPortletNamespace(String portlet)
portlet
- Portlet identifier (thingID or alias).Exception
Reader renderPortlet(String portlet, String layout, Map<String,Object> properties) throws Exception
portlet
- portlet identifier (thingID or alias) to renderlayout
- legacy portlet layout to render. If null default layout will be usedException