Interface IPortletProvider


public interface IPortletProvider
  • Field Details

  • Method Details

    • getPortletNamespace

      String getPortletNamespace(String portlet)
      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

      Reader renderPortlet(String portlet, String layout, Map<String,Object> properties) throws Exception
      Renders portlet content and returns reader
      Parameters:
      portlet - portlet identifier (thingID or alias) to render
      layout - legacy portlet layout to render. If null default layout will be used
      Returns:
      Reader instance with portlet content
      Throws:
      Exception