public class InvokerPortletImpl
extends Object
implements com.liferay.portal.kernel.portlet.InvokerFilterContainer, com.liferay.portal.kernel.portlet.InvokerPortlet
Constructor and Description |
---|
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(com.liferay.portal.kernel.model.Portlet portletModel,
Portlet portlet,
PortletContext portletContext,
com.liferay.portal.kernel.portlet.InvokerFilterContainer invokerFilterContainer) |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanUp() |
void |
destroy() |
List<ActionFilter> |
getActionFilters() |
List<EventFilter> |
getEventFilters() |
Integer |
getExpCache() |
List<HeaderFilter> |
getHeaderFilters() |
Portlet |
getPortlet() |
ClassLoader |
getPortletClassLoader() |
PortletConfig |
getPortletConfig() |
PortletContext |
getPortletContext() |
Portlet |
getPortletInstance() |
List<RenderFilter> |
getRenderFilters() |
List<ResourceFilter> |
getResourceFilters() |
void |
init(PortletConfig portletConfig) |
protected void |
invoke(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
String lifecycle,
List<? extends PortletFilter> filters) |
protected void |
invokeAction(ActionRequest actionRequest,
ActionResponse actionResponse) |
protected void |
invokeEvent(EventRequest eventRequest,
EventResponse eventResponse) |
protected void |
invokeHeader(HeaderRequest headerRequest,
HeaderResponse headerResponse) |
protected String |
invokeRender(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
invokeResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
boolean |
isCheckAuthToken() |
boolean |
isFacesPortlet() |
boolean |
isHeaderPortlet() |
void |
processAction(ActionRequest actionRequest,
ActionResponse actionResponse) |
void |
processEvent(EventRequest eventRequest,
EventResponse eventResponse) |
protected void |
processException(Exception exception,
PortletRequest liferayPortletRequest,
PortletResponse liferayPortletResponse) |
void |
render(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
renderHeaders(HeaderRequest headerRequest,
HeaderResponse headerResponse) |
void |
serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
void |
setPortletFilters() |
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)
public InvokerPortletImpl(com.liferay.portal.kernel.model.Portlet portletModel, Portlet portlet, PortletContext portletContext, com.liferay.portal.kernel.portlet.InvokerFilterContainer invokerFilterContainer)
public List<ActionFilter> getActionFilters()
getActionFilters
in interface com.liferay.portal.kernel.portlet.InvokerFilterContainer
public List<EventFilter> getEventFilters()
getEventFilters
in interface com.liferay.portal.kernel.portlet.InvokerFilterContainer
public Integer getExpCache()
getExpCache
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public List<HeaderFilter> getHeaderFilters()
getHeaderFilters
in interface com.liferay.portal.kernel.portlet.InvokerFilterContainer
public Portlet getPortlet()
getPortlet
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public ClassLoader getPortletClassLoader()
getPortletClassLoader
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public PortletConfig getPortletConfig()
getPortletConfig
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public PortletContext getPortletContext()
getPortletContext
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public Portlet getPortletInstance()
getPortletInstance
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public List<RenderFilter> getRenderFilters()
getRenderFilters
in interface com.liferay.portal.kernel.portlet.InvokerFilterContainer
public List<ResourceFilter> getResourceFilters()
getResourceFilters
in interface com.liferay.portal.kernel.portlet.InvokerFilterContainer
public void init(PortletConfig portletConfig) throws PortletException
init
in interface Portlet
PortletException
public boolean isCheckAuthToken()
isCheckAuthToken
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public boolean isFacesPortlet()
isFacesPortlet
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public boolean isHeaderPortlet()
isHeaderPortlet
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
processAction
in interface Portlet
public void processEvent(EventRequest eventRequest, EventResponse eventResponse)
processEvent
in interface EventPortlet
public void render(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
render
in interface Portlet
IOException
PortletException
public void renderHeaders(HeaderRequest headerRequest, HeaderResponse headerResponse) throws IOException, PortletException
renderHeaders
in interface HeaderPortlet
IOException
PortletException
public void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse)
serveResource
in interface ResourceServingPortlet
public void setPortletFilters()
setPortletFilters
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
protected void cleanUp()
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
IOException
PortletException
protected void invokeAction(ActionRequest actionRequest, ActionResponse actionResponse) throws IOException, PortletException
IOException
PortletException
protected void invokeEvent(EventRequest eventRequest, EventResponse eventResponse) throws IOException, PortletException
IOException
PortletException
protected void invokeHeader(HeaderRequest headerRequest, HeaderResponse headerResponse) throws IOException, PortletException
IOException
PortletException
protected String invokeRender(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
IOException
PortletException
protected void invokeResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException, PortletException
IOException
PortletException
protected void processException(Exception exception, PortletRequest liferayPortletRequest, PortletResponse liferayPortletResponse)