Package com.liferay.portlet.internal
Class InvokerPortletImpl
Object
com.liferay.portlet.internal.InvokerPortletImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.InvokerFilterContainer,com.liferay.portal.kernel.portlet.InvokerPortlet,EventPortlet,HeaderPortlet,Portlet,ResourceServingPortlet
public class InvokerPortletImpl
extends Object
implements com.liferay.portal.kernel.portlet.InvokerFilterContainer, com.liferay.portal.kernel.portlet.InvokerPortlet
- Author:
- Brian Wing Shun Chan, Brian Myunghun Kim, Raymond Augé, Neil Griffin
-
Field Summary
Fields inherited from interface com.liferay.portal.kernel.portlet.InvokerPortlet
INIT_INVOKER_PORTLET_NAME -
Constructor Summary
ConstructorsConstructorDescriptionInvokerPortletImpl(com.liferay.portal.kernel.model.Portlet portletModel, Portlet portlet, PortletConfig portletConfig, PortletContext portletContext, com.liferay.portal.kernel.portlet.InvokerFilterContainer invokerFilterContainer, boolean checkAuthToken, boolean facesPortlet, boolean headerPortlet) InvokerPortletImpl(com.liferay.portal.kernel.model.Portlet portletModel, Portlet portlet, PortletContext portletContext, com.liferay.portal.kernel.portlet.InvokerFilterContainer invokerFilterContainer) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanUp()voiddestroy()voidinit(PortletConfig portletConfig) protected voidinvoke(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, String lifecycle, List<? extends PortletFilter> filters) protected voidinvokeAction(ActionRequest actionRequest, ActionResponse actionResponse) protected voidinvokeEvent(EventRequest eventRequest, EventResponse eventResponse) protected voidinvokeHeader(HeaderRequest headerRequest, HeaderResponse headerResponse) protected StringinvokeRender(RenderRequest renderRequest, RenderResponse renderResponse) protected voidinvokeResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) booleanbooleanbooleanvoidprocessAction(ActionRequest actionRequest, ActionResponse actionResponse) voidprocessEvent(EventRequest eventRequest, EventResponse eventResponse) protected voidprocessException(Exception exception, PortletRequest liferayPortletRequest, PortletResponse liferayPortletResponse) voidrender(RenderRequest renderRequest, RenderResponse renderResponse) voidrenderHeaders(HeaderRequest headerRequest, HeaderResponse headerResponse) voidserveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) void
-
Constructor Details
-
InvokerPortletImpl
public InvokerPortletImpl(com.liferay.portal.kernel.model.Portlet portletModel, Portlet portlet, PortletConfig portletConfig, PortletContext portletContext, com.liferay.portal.kernel.portlet.InvokerFilterContainer invokerFilterContainer, boolean checkAuthToken, boolean facesPortlet, boolean headerPortlet) -
InvokerPortletImpl
public InvokerPortletImpl(com.liferay.portal.kernel.model.Portlet portletModel, Portlet portlet, PortletContext portletContext, com.liferay.portal.kernel.portlet.InvokerFilterContainer invokerFilterContainer)
-
-
Method Details
-
destroy
public void destroy() -
getActionFilters
- Specified by:
getActionFiltersin interfacecom.liferay.portal.kernel.portlet.InvokerFilterContainer
-
getEventFilters
- Specified by:
getEventFiltersin interfacecom.liferay.portal.kernel.portlet.InvokerFilterContainer
-
getExpCache
- Specified by:
getExpCachein interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
getHeaderFilters
- Specified by:
getHeaderFiltersin interfacecom.liferay.portal.kernel.portlet.InvokerFilterContainer
-
getPortlet
- Specified by:
getPortletin interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
getPortletClassLoader
- Specified by:
getPortletClassLoaderin interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
getPortletConfig
- Specified by:
getPortletConfigin interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
getPortletContext
- Specified by:
getPortletContextin interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
getPortletInstance
- Specified by:
getPortletInstancein interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
getRenderFilters
- Specified by:
getRenderFiltersin interfacecom.liferay.portal.kernel.portlet.InvokerFilterContainer
-
getResourceFilters
- Specified by:
getResourceFiltersin interfacecom.liferay.portal.kernel.portlet.InvokerFilterContainer
-
init
- Specified by:
initin interfacePortlet- Throws:
PortletException
-
isCheckAuthToken
public boolean isCheckAuthToken()- Specified by:
isCheckAuthTokenin interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
isFacesPortlet
public boolean isFacesPortlet()- Specified by:
isFacesPortletin interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
isHeaderPortlet
public boolean isHeaderPortlet()- Specified by:
isHeaderPortletin interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
processAction
- Specified by:
processActionin interfacePortlet
-
processEvent
- Specified by:
processEventin interfaceEventPortlet
-
render
public void render(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException - Specified by:
renderin interfacePortlet- Throws:
IOExceptionPortletException
-
renderHeaders
public void renderHeaders(HeaderRequest headerRequest, HeaderResponse headerResponse) throws IOException, PortletException - Specified by:
renderHeadersin interfaceHeaderPortlet- Throws:
IOExceptionPortletException
-
serveResource
- Specified by:
serveResourcein interfaceResourceServingPortlet
-
setPortletFilters
public void setPortletFilters()- Specified by:
setPortletFiltersin interfacecom.liferay.portal.kernel.portlet.InvokerPortlet
-
cleanUp
protected void cleanUp() -
invoke
protected void invoke(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, String lifecycle, List<? extends PortletFilter> filters) throws IOException, PortletException - Throws:
IOExceptionPortletException
-
invokeAction
protected void invokeAction(ActionRequest actionRequest, ActionResponse actionResponse) throws IOException, PortletException - Throws:
IOExceptionPortletException
-
invokeEvent
protected void invokeEvent(EventRequest eventRequest, EventResponse eventResponse) throws IOException, PortletException - Throws:
IOExceptionPortletException
-
invokeHeader
protected void invokeHeader(HeaderRequest headerRequest, HeaderResponse headerResponse) throws IOException, PortletException - Throws:
IOExceptionPortletException
-
invokeRender
protected String invokeRender(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException - Throws:
IOExceptionPortletException
-
invokeResource
protected void invokeResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException, PortletException - Throws:
IOExceptionPortletException
-
processException
protected void processException(Exception exception, PortletRequest liferayPortletRequest, PortletResponse liferayPortletResponse)
-