Class PortletContainerUtil

Object
com.liferay.portal.kernel.portlet.PortletContainerUtil

public class PortletContainerUtil extends Object
Author:
Shuyang Zhou, Raymond Augé, Neil Griffin
  • Constructor Details

    • PortletContainerUtil

      public PortletContainerUtil()
  • Method Details

    • getLayoutTypePortlets

      public static List<LayoutTypePortlet> getLayoutTypePortlets(Layout layout) throws PortletContainerException
      Throws:
      PortletContainerException
    • getPortletContainer

      public static PortletContainer getPortletContainer()
    • preparePortlet

      public static void preparePortlet(jakarta.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) throws PortletContainerException
      Throws:
      PortletContainerException
    • processAction

      public static void processAction(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) throws PortletContainerException
      Throws:
      PortletContainerException
    • processEvent

      public static void processEvent(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet, Layout layout, jakarta.portlet.Event event) throws PortletContainerException
      Throws:
      PortletContainerException
    • processPublicRenderParameters

      public static void processPublicRenderParameters(jakarta.servlet.http.HttpServletRequest httpServletRequest, Layout layout)
    • processPublicRenderParameters

      public static void processPublicRenderParameters(jakarta.servlet.http.HttpServletRequest httpServletRequest, Layout layout, Portlet portlet)
    • render

      public static void render(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) throws PortletContainerException
      Throws:
      PortletContainerException
    • renderHeaders

      public static void renderHeaders(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) throws PortletContainerException
      Throws:
      PortletContainerException
    • serveResource

      public static void serveResource(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) throws PortletContainerException
      Throws:
      PortletContainerException
    • setupOptionalRenderParameters

      public static jakarta.servlet.http.HttpServletRequest setupOptionalRenderParameters(jakarta.servlet.http.HttpServletRequest httpServletRequest, String renderPath, String columnId, Integer columnPos, Integer columnCount)
    • setupOptionalRenderParameters

      public static jakarta.servlet.http.HttpServletRequest setupOptionalRenderParameters(jakarta.servlet.http.HttpServletRequest httpServletRequest, String renderPath, String columnId, Integer columnPos, Integer columnCount, Boolean boundary, Boolean decorate)
    • setPortletContainer

      public void setPortletContainer(PortletContainer portletContainer)