Class PortletContainerUtil
Object
com.liferay.portal.kernel.portlet.PortletContainerUtil
- Author:
- Shuyang Zhou, Raymond Augé, Neil Griffin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<LayoutTypePortlet>getLayoutTypePortlets(Layout layout) static PortletContainerstatic voidpreparePortlet(javax.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) static voidprocessAction(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) static voidprocessEvent(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet, Layout layout, Event event) static voidprocessPublicRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest, Layout layout) static voidprocessPublicRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest, Layout layout, Portlet portlet) static voidrender(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) static voidrenderHeaders(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) static voidserveResource(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) voidsetPortletContainer(PortletContainer portletContainer) static javax.servlet.http.HttpServletRequestsetupOptionalRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest, String renderPath, String columnId, Integer columnPos, Integer columnCount) static javax.servlet.http.HttpServletRequestsetupOptionalRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest, String renderPath, String columnId, Integer columnPos, Integer columnCount, Boolean boundary, Boolean decorate)
-
Constructor Details
-
PortletContainerUtil
public PortletContainerUtil()
-
-
Method Details
-
getLayoutTypePortlets
public static List<LayoutTypePortlet> getLayoutTypePortlets(Layout layout) throws PortletContainerException - Throws:
PortletContainerException
-
getPortletContainer
-
preparePortlet
public static void preparePortlet(javax.servlet.http.HttpServletRequest httpServletRequest, Portlet portlet) throws PortletContainerException - Throws:
PortletContainerException
-
processAction
public static void processAction(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) throws PortletContainerException - Throws:
PortletContainerException
-
processEvent
public static void processEvent(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet, Layout layout, Event event) throws PortletContainerException - Throws:
PortletContainerException
-
processPublicRenderParameters
public static void processPublicRenderParameters(javax.servlet.http.HttpServletRequest httpServletRequest, Layout layout) -
processPublicRenderParameters
-
render
public static void render(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) throws PortletContainerException - Throws:
PortletContainerException
-
renderHeaders
public static void renderHeaders(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) throws PortletContainerException - Throws:
PortletContainerException
-
serveResource
public static void serveResource(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Portlet portlet) throws PortletContainerException - Throws:
PortletContainerException
-
setupOptionalRenderParameters
-
setupOptionalRenderParameters
-
setPortletContainer
-