com.liferay.portlet
Class InvokerPortletImpl
java.lang.Object
com.liferay.portlet.InvokerPortletImpl
- All Implemented Interfaces:
- InvokerPortlet, EventPortlet, Portlet, ResourceServingPortlet
public class InvokerPortletImpl
- extends Object
- implements InvokerPortlet
Method Summary |
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)
|
Integer |
getExpCache()
|
Portlet |
getPortlet()
|
ClassLoader |
getPortletClassLoader()
|
PortletConfig |
getPortletConfig()
|
PortletContext |
getPortletContext()
|
Portlet |
getPortletInstance()
|
static Map<String,InvokerPortletResponse> |
getResponses(javax.servlet.http.HttpSession session)
|
static Map<String,InvokerPortletResponse> |
getResponses(PortletSession portletSession)
|
void |
init(PortletConfig portletConfig)
|
protected void |
invoke(LiferayPortletRequest portletRequest,
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 |
removePortletFilters()
|
void |
render(RenderRequest renderRequest,
RenderResponse renderResponse)
|
void |
serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
|
void |
setPortletFilters()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvokerPortletImpl
public InvokerPortletImpl(Portlet portletModel,
Portlet portlet,
PortletConfig portletConfig,
PortletContext portletContext,
boolean checkAuthToken,
boolean facesPortlet,
boolean strutsPortlet,
boolean strutsBridgePortlet)
throws PortletException
- Throws:
PortletException
InvokerPortletImpl
public InvokerPortletImpl(Portlet portletModel,
Portlet portlet,
PortletContext portletContext)
throws PortletException
- Throws:
PortletException
clearResponse
public static void clearResponse(javax.servlet.http.HttpSession session,
long plid,
String portletId,
String languageId)
clearResponses
public static void clearResponses(javax.servlet.http.HttpSession session)
clearResponses
public static void clearResponses(PortletSession session)
encodeResponseKey
public static String encodeResponseKey(long plid,
String portletId,
String languageId)
getResponses
public static Map<String,InvokerPortletResponse> getResponses(javax.servlet.http.HttpSession session)
getResponses
public static Map<String,InvokerPortletResponse> getResponses(PortletSession portletSession)
destroy
public void destroy()
- Specified by:
destroy
in interface Portlet
getExpCache
public Integer getExpCache()
- Specified by:
getExpCache
in interface InvokerPortlet
getPortlet
public Portlet getPortlet()
- Specified by:
getPortlet
in interface InvokerPortlet
getPortletClassLoader
public ClassLoader getPortletClassLoader()
- Specified by:
getPortletClassLoader
in interface InvokerPortlet
getPortletConfig
public PortletConfig getPortletConfig()
- Specified by:
getPortletConfig
in interface InvokerPortlet
getPortletContext
public PortletContext getPortletContext()
- Specified by:
getPortletContext
in interface InvokerPortlet
getPortletInstance
public Portlet getPortletInstance()
- Specified by:
getPortletInstance
in interface InvokerPortlet
init
public void init(PortletConfig portletConfig)
throws PortletException
- Specified by:
init
in interface Portlet
- Throws:
PortletException
isCheckAuthToken
public boolean isCheckAuthToken()
- Specified by:
isCheckAuthToken
in interface InvokerPortlet
isFacesPortlet
public boolean isFacesPortlet()
- Specified by:
isFacesPortlet
in interface InvokerPortlet
isStrutsBridgePortlet
public boolean isStrutsBridgePortlet()
- Specified by:
isStrutsBridgePortlet
in interface InvokerPortlet
isStrutsPortlet
public boolean isStrutsPortlet()
- Specified by:
isStrutsPortlet
in interface InvokerPortlet
processAction
public void processAction(ActionRequest actionRequest,
ActionResponse actionResponse)
throws IOException
- Specified by:
processAction
in interface Portlet
- Throws:
IOException
processEvent
public void processEvent(EventRequest eventRequest,
EventResponse eventResponse)
throws IOException,
PortletException
- Specified by:
processEvent
in interface EventPortlet
- Throws:
IOException
PortletException
render
public void render(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Specified by:
render
in interface Portlet
- Throws:
IOException
PortletException
serveResource
public void serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws IOException
- Specified by:
serveResource
in interface ResourceServingPortlet
- Throws:
IOException
setPortletFilters
public void setPortletFilters()
throws PortletException
- Specified by:
setPortletFilters
in interface InvokerPortlet
- Throws:
PortletException
invoke
protected void invoke(LiferayPortletRequest portletRequest,
LiferayPortletResponse portletResponse,
String lifecycle,
List<? extends PortletFilter> filters)
throws IOException,
PortletException
- Throws:
IOException
PortletException
invokeAction
protected void invokeAction(ActionRequest actionRequest,
ActionResponse actionResponse)
throws IOException,
PortletException
- Throws:
IOException
PortletException
invokeEvent
protected void invokeEvent(EventRequest eventRequest,
EventResponse eventResponse)
throws IOException,
PortletException
- Throws:
IOException
PortletException
invokeRender
protected String invokeRender(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Throws:
IOException
PortletException
invokeResource
protected void invokeResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws IOException,
PortletException
- Throws:
IOException
PortletException
removePortletFilters
protected void removePortletFilters()