org.apache.pluto.driver.portlets
Class GenericPlutoPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.pluto.driver.portlets.GenericPlutoPortlet
All Implemented Interfaces:
EventPortlet, Portlet, PortletConfig, ResourceServingPortlet
Direct Known Subclasses:
AdminPortlet, PageAdminPortlet

public abstract class GenericPlutoPortlet
extends GenericPortlet


Constructor Summary
GenericPlutoPortlet()
           
 
Method Summary
protected  void doEdit(RenderRequest request, RenderResponse response)
          Helper method to serve up the edit mode.
protected  void doHelp(RenderRequest request, RenderResponse response)
          Helper method to serve up the help mode.
 void doView(RenderRequest request, RenderResponse response)
          Helper method to serve up the mandatory view mode.
abstract  java.lang.String getEditPage()
           
abstract  java.lang.String getHelpPage(RenderRequest request)
           
abstract  java.lang.String getViewPage()
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doHeaders, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, init, processAction, processEvent, render, serveResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericPlutoPortlet

public GenericPlutoPortlet()
Method Detail

getViewPage

public abstract java.lang.String getViewPage()

getEditPage

public abstract java.lang.String getEditPage()

getHelpPage

public abstract java.lang.String getHelpPage(RenderRequest request)

doView

public void doView(RenderRequest request,
                   RenderResponse response)
            throws PortletException,
                   java.io.IOException
Description copied from class: GenericPortlet
Helper method to serve up the mandatory view mode.

The default implementation throws an exception.

Overrides:
doView in class GenericPortlet
Parameters:
request - the portlet request
response - the render response
Throws:
PortletException - if the portlet cannot fulfilling the request
UnavailableException - if the portlet is unavailable to perform render at this time
PortletSecurityException - if the portlet cannot fullfill this request because of security reasons
java.io.IOException - if the streaming causes an I/O problem

doEdit

protected void doEdit(RenderRequest request,
                      RenderResponse response)
               throws PortletException,
                      java.io.IOException
Description copied from class: GenericPortlet
Helper method to serve up the edit mode.

The default implementation throws an exception.

Overrides:
doEdit in class GenericPortlet
Parameters:
request - the portlet request
response - the render response
Throws:
PortletException - if the portlet cannot fulfilling the request
UnavailableException - if the portlet is unavailable to perform render at this time
PortletSecurityException - if the portlet cannot fullfill this request because of security reasons
java.io.IOException - if the streaming causes an I/O problem

doHelp

protected void doHelp(RenderRequest request,
                      RenderResponse response)
               throws PortletException,
                      java.io.IOException
Description copied from class: GenericPortlet
Helper method to serve up the help mode.

The default implementation throws an exception.

Overrides:
doHelp in class GenericPortlet
Parameters:
request - the portlet request
response - the render response
Throws:
PortletException - if the portlet cannot fulfilling the request
UnavailableException - if the portlet is unavailable to perform render at this time
PortletSecurityException - if the portlet cannot fullfill this request because of security reasons
java.io.IOException - if the streaming causes an I/O problem


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.