org.apache.geronimo.console
Class MultiPagePortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.geronimo.console.BasePortlet
          extended by org.apache.geronimo.console.MultiPagePortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig
Direct Known Subclasses:
ApacheConfigPortlet, CertificationAuthorityPortlet, ImportExportPortlet, JMSResourcePortlet, KeystoresPortlet, ThreadPoolPortlet

public abstract class MultiPagePortlet
extends BasePortlet

A base class for porlets consisting on multiple JSPs with before and after actions (e.g. for load and validation/save) and the ability for an "after" action to set the next page to load.


Field Summary
protected  Map helpers
           
protected static String MODE_KEY
           
 
Fields inherited from class org.apache.geronimo.console.BasePortlet
WEB_SERVER_GENERIC, WEB_SERVER_JETTY, WEB_SERVER_TOMCAT
 
Constructor Summary
MultiPagePortlet()
           
 
Method Summary
protected  void addHelper(MultiPageAbstractHandler handler, javax.portlet.PortletConfig config)
           
 void destroy()
           
protected  void doView(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse)
           
protected  String getDefaultMode()
           
protected abstract  MultiPageModel getModel(javax.portlet.PortletRequest request)
           
protected abstract  String getModelJSPVariableName()
           
 void processAction(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 
Methods inherited from class org.apache.geronimo.console.BasePortlet
callOperation, getProperty, getWebServerType, setProperty
 
Methods inherited from class javax.portlet.GenericPortlet
doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_KEY

protected static final String MODE_KEY
See Also:
Constant Field Values

helpers

protected Map helpers
Constructor Detail

MultiPagePortlet

public MultiPagePortlet()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface javax.portlet.Portlet
Overrides:
destroy in class javax.portlet.GenericPortlet

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

doView

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

addHelper

protected void addHelper(MultiPageAbstractHandler handler,
                         javax.portlet.PortletConfig config)
                  throws javax.portlet.PortletException
Throws:
javax.portlet.PortletException

getDefaultMode

protected String getDefaultMode()

getModelJSPVariableName

protected abstract String getModelJSPVariableName()

getModel

protected abstract MultiPageModel getModel(javax.portlet.PortletRequest request)


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