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 strutsPortlet,
boolean strutsBridgePortlet) |
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 |
---|---|
static void |
clearResponse(javax.servlet.http.HttpSession session,
long plid,
String portletId,
String languageId) |
static void |
clearResponses(javax.servlet.http.HttpSession session) |
static void |
clearResponses(PortletSession session) |
void |
destroy() |
static String |
encodeResponseKey(long plid,
String portletId,
String languageId) |
List<ActionFilter> |
getActionFilters() |
List<EventFilter> |
getEventFilters() |
Integer |
getExpCache() |
Portlet |
getPortlet() |
ClassLoader |
getPortletClassLoader() |
PortletConfig |
getPortletConfig() |
PortletContext |
getPortletContext() |
Portlet |
getPortletInstance() |
List<RenderFilter> |
getRenderFilters() |
List<ResourceFilter> |
getResourceFilters() |
static Map<String,InvokerPortletResponse> |
getResponses(javax.servlet.http.HttpSession session) |
static Map<String,InvokerPortletResponse> |
getResponses(PortletSession portletSession) |
void |
init(PortletConfig portletConfig) |
protected void |
invoke(com.liferay.portal.kernel.portlet.LiferayPortletRequest portletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse portletResponse,
String lifecycle,
List<? extends PortletFilter> filters) |
protected void |
invokeAction(ActionRequest actionRequest,
ActionResponse actionResponse) |
protected void |
invokeEvent(EventRequest eventRequest,
EventResponse eventResponse) |
protected String |
invokeRender(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
invokeResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
boolean |
isCheckAuthToken() |
boolean |
isFacesPortlet() |
boolean |
isStrutsBridgePortlet() |
boolean |
isStrutsPortlet() |
void |
processAction(ActionRequest actionRequest,
ActionResponse actionResponse) |
void |
processEvent(EventRequest eventRequest,
EventResponse eventResponse) |
protected void |
processException(Exception e,
PortletRequest portletRequest,
PortletResponse portletResponse) |
void |
render(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
void |
setPortletFilters()
Deprecated.
As of 7.0.0
|
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 strutsPortlet, boolean strutsBridgePortlet)
public InvokerPortletImpl(com.liferay.portal.kernel.model.Portlet portletModel, Portlet portlet, PortletContext portletContext, com.liferay.portal.kernel.portlet.InvokerFilterContainer invokerFilterContainer)
public static void clearResponse(javax.servlet.http.HttpSession session, long plid, String portletId, String languageId)
public static void clearResponses(javax.servlet.http.HttpSession session)
public static void clearResponses(PortletSession session)
public static String encodeResponseKey(long plid, String portletId, String languageId)
public static Map<String,InvokerPortletResponse> getResponses(javax.servlet.http.HttpSession session)
public static Map<String,InvokerPortletResponse> getResponses(PortletSession portletSession)
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 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 isStrutsBridgePortlet()
isStrutsBridgePortlet
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
public boolean isStrutsPortlet()
isStrutsPortlet
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 serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse)
serveResource
in interface ResourceServingPortlet
@Deprecated public void setPortletFilters()
setPortletFilters
in interface com.liferay.portal.kernel.portlet.InvokerPortlet
protected void invoke(com.liferay.portal.kernel.portlet.LiferayPortletRequest portletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse portletResponse, 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 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 e, PortletRequest portletRequest, PortletResponse portletResponse)