Liferay 6.0.5

com.liferay.portlet
Class InvokerPortletImpl

java.lang.Object
  extended by com.liferay.portlet.InvokerPortletImpl
All Implemented Interfaces:
InvokerPortlet, Cloneable, EventPortlet, Portlet, ResourceServingPortlet

public class InvokerPortletImpl
extends Object
implements InvokerPortlet


Field Summary
 
Fields inherited from interface com.liferay.portlet.InvokerPortlet
INIT_INVOKER_PORTLET_NAME
 
Constructor Summary
InvokerPortletImpl()
           
 
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)
           
 InvokerPortlet create(Portlet portletModel, Portlet portlet, PortletConfig portletConfig, PortletContext portletContext, boolean checkAuthToken, boolean facesPortlet, boolean strutsPortlet, boolean strutsBridgePortlet)
           
 InvokerPortlet create(Portlet portletModel, Portlet portlet, PortletContext portletContext)
           
 void destroy()
           
static String encodeResponseKey(long plid, String portletId, String languageId)
           
 Integer getExpCache()
           
 Portlet getPortlet()
           
 ClassLoader getPortletClassLoader()
           
 PortletConfigImpl getPortletConfig()
           
 PortletContextImpl 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 isDestroyable()
           
 boolean isFacesPortlet()
           
 boolean isStrutsBridgePortlet()
           
 boolean isStrutsPortlet()
           
 void prepare(Portlet portletModel, Portlet portlet, PortletConfig portletConfig, PortletContext portletContext, boolean checkAuthToken, boolean facesPortlet, boolean strutsPortlet, boolean strutsBridgePortlet)
           
 void prepare(Portlet portletModel, Portlet portlet, PortletContext portletContext)
           
 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
 

Constructor Detail

InvokerPortletImpl

public InvokerPortletImpl()
Method Detail

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)

create

public InvokerPortlet create(Portlet portletModel,
                             Portlet portlet,
                             PortletContext portletContext)
                      throws PortletException
Specified by:
create in interface InvokerPortlet
Throws:
PortletException

create

public InvokerPortlet create(Portlet portletModel,
                             Portlet portlet,
                             PortletConfig portletConfig,
                             PortletContext portletContext,
                             boolean checkAuthToken,
                             boolean facesPortlet,
                             boolean strutsPortlet,
                             boolean strutsBridgePortlet)
                      throws PortletException
Specified by:
create in interface InvokerPortlet
Throws:
PortletException

destroy

public void destroy()
Specified by:
destroy in interface Portlet

getPortlet

public Portlet getPortlet()
Specified by:
getPortlet in interface InvokerPortlet

getPortletClassLoader

public ClassLoader getPortletClassLoader()
Specified by:
getPortletClassLoader in interface InvokerPortlet

getPortletConfig

public PortletConfigImpl getPortletConfig()
Specified by:
getPortletConfig in interface InvokerPortlet

getPortletContext

public PortletContextImpl getPortletContext()
Specified by:
getPortletContext in interface InvokerPortlet

getPortletInstance

public Portlet getPortletInstance()
Specified by:
getPortletInstance in interface InvokerPortlet

getExpCache

public Integer getExpCache()
Specified by:
getExpCache 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

isDestroyable

public boolean isDestroyable()
Specified by:
isDestroyable 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

prepare

public void prepare(Portlet portletModel,
                    Portlet portlet,
                    PortletContext portletContext)
             throws PortletException
Specified by:
prepare in interface InvokerPortlet
Throws:
PortletException

prepare

public void prepare(Portlet portletModel,
                    Portlet portlet,
                    PortletConfig portletConfig,
                    PortletContext portletContext,
                    boolean checkAuthToken,
                    boolean facesPortlet,
                    boolean strutsPortlet,
                    boolean strutsBridgePortlet)
             throws PortletException
Specified by:
prepare in interface InvokerPortlet
Throws:
PortletException

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()

Liferay 6.0.5