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