org.exoplatform.services.portletcontainer.demo.portlet
Class CachePortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.exoplatform.services.portletcontainer.demo.portlet.CachePortlet
All Implemented Interfaces:
javax.portlet.EventPortlet, javax.portlet.Portlet, javax.portlet.PortletConfig, javax.portlet.ResourceServingPortlet

public class CachePortlet
extends javax.portlet.GenericPortlet

Test portlet to test cache work.


Constructor Summary
CachePortlet()
           
 
Method Summary
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
          The GenericPortlet calls this method if the portlet mode is view.
 void processAction(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, init, processEvent, render, serveResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachePortlet

public CachePortlet()
Method Detail

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   IOException
The GenericPortlet calls this method if the portlet mode is view.

Overrides:
doView in class javax.portlet.GenericPortlet
Parameters:
request - the request
response - the response
Throws:
javax.portlet.PortletException - something may go wrong
IOException - something may go wrong

processAction

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


Copyright © 2009 eXo Platform SAS. All Rights Reserved.