com.liferay.portal.kernel.portlet
Class LiferayPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by com.liferay.portal.kernel.portlet.LiferayPortlet
All Implemented Interfaces:
javax.portlet.EventPortlet, javax.portlet.Portlet, javax.portlet.PortletConfig, javax.portlet.ResourceServingPortlet

public class LiferayPortlet
extends javax.portlet.GenericPortlet

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
LiferayPortlet()
           
 
Method Summary
protected  boolean callActionMethod(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
protected  void doAbout(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  void doConfig(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  void doDispatch(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  void doEditDefaults(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  void doEditGuest(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  void doPreview(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  void doPrint(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  boolean isProcessActionRequest(javax.portlet.ActionRequest actionRequest)
           
protected  boolean isProcessPortletRequest(javax.portlet.PortletRequest portletRequest)
           
protected  boolean isProcessRenderRequest(javax.portlet.RenderRequest renderRequest)
           
protected  boolean isProcessResourceRequest(javax.portlet.ResourceRequest resourceRequest)
           
 void processAction(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 void serveResource(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse)
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, init, processEvent, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferayPortlet

public LiferayPortlet()
Method Detail

processAction

public void processAction(javax.portlet.ActionRequest actionRequest,
                          javax.portlet.ActionResponse actionResponse)
                   throws java.io.IOException,
                          javax.portlet.PortletException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class javax.portlet.GenericPortlet
Throws:
java.io.IOException
javax.portlet.PortletException

serveResource

public void serveResource(javax.portlet.ResourceRequest resourceRequest,
                          javax.portlet.ResourceResponse resourceResponse)
                   throws java.io.IOException,
                          javax.portlet.PortletException
Specified by:
serveResource in interface javax.portlet.ResourceServingPortlet
Overrides:
serveResource in class javax.portlet.GenericPortlet
Throws:
java.io.IOException
javax.portlet.PortletException

callActionMethod

protected boolean callActionMethod(javax.portlet.ActionRequest actionRequest,
                                   javax.portlet.ActionResponse actionResponse)
                            throws javax.portlet.PortletException
Throws:
javax.portlet.PortletException

doDispatch

protected void doDispatch(javax.portlet.RenderRequest renderRequest,
                          javax.portlet.RenderResponse renderResponse)
                   throws java.io.IOException,
                          javax.portlet.PortletException
Overrides:
doDispatch in class javax.portlet.GenericPortlet
Throws:
java.io.IOException
javax.portlet.PortletException

doAbout

protected void doAbout(javax.portlet.RenderRequest renderRequest,
                       javax.portlet.RenderResponse renderResponse)
                throws java.io.IOException,
                       javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

doConfig

protected void doConfig(javax.portlet.RenderRequest renderRequest,
                        javax.portlet.RenderResponse renderResponse)
                 throws java.io.IOException,
                        javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

doEditDefaults

protected void doEditDefaults(javax.portlet.RenderRequest renderRequest,
                              javax.portlet.RenderResponse renderResponse)
                       throws java.io.IOException,
                              javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

doEditGuest

protected void doEditGuest(javax.portlet.RenderRequest renderRequest,
                           javax.portlet.RenderResponse renderResponse)
                    throws java.io.IOException,
                           javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

doPreview

protected void doPreview(javax.portlet.RenderRequest renderRequest,
                         javax.portlet.RenderResponse renderResponse)
                  throws java.io.IOException,
                         javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

doPrint

protected void doPrint(javax.portlet.RenderRequest renderRequest,
                       javax.portlet.RenderResponse renderResponse)
                throws java.io.IOException,
                       javax.portlet.PortletException
Throws:
java.io.IOException
javax.portlet.PortletException

isProcessActionRequest

protected boolean isProcessActionRequest(javax.portlet.ActionRequest actionRequest)

isProcessPortletRequest

protected boolean isProcessPortletRequest(javax.portlet.PortletRequest portletRequest)

isProcessRenderRequest

protected boolean isProcessRenderRequest(javax.portlet.RenderRequest renderRequest)

isProcessResourceRequest

protected boolean isProcessResourceRequest(javax.portlet.ResourceRequest resourceRequest)