org.apache.geronimo.console
Class MultiPageAbstractHandler
java.lang.Object
org.apache.geronimo.console.MultiPageAbstractHandler
- Direct Known Subclasses:
- AbstractHandler, AbstractThreadHandler, BaseApacheHandler, BaseCAHandler, BaseImportExportHandler, BaseKeystoreHandler
public abstract class MultiPageAbstractHandler
- extends Object
Base class for handlers for the multi page portlet. Each one is expected
to handle a single page -- the action request before the page is rendered,
the render request, and the action request after the page is rendered.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BEFORE_ACTION
protected static final String BEFORE_ACTION
- See Also:
- Constant Field Values
AFTER_ACTION
protected static final String AFTER_ACTION
- See Also:
- Constant Field Values
view
protected javax.portlet.PortletRequestDispatcher view
MultiPageAbstractHandler
protected MultiPageAbstractHandler(String mode,
String viewName)
getMode
public String getMode()
init
public void init(javax.portlet.PortletConfig portletConfig)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
destroy
public void destroy()
getView
public javax.portlet.PortletRequestDispatcher getView()
isEmpty
protected static boolean isEmpty(String s)
actionBeforeView
public abstract String actionBeforeView(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
MultiPageModel model)
throws javax.portlet.PortletException,
IOException
- Returns the mode for the next screen to render (usually this one)
- Throws:
javax.portlet.PortletException
IOException
renderView
public abstract void renderView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
MultiPageModel model)
throws javax.portlet.PortletException,
IOException
- Throws:
javax.portlet.PortletException
IOException
actionAfterView
public abstract String actionAfterView(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
MultiPageModel model)
throws javax.portlet.PortletException,
IOException
- Returns the mode for the next screen to render (usually the one after this in the sequence)
- Throws:
javax.portlet.PortletException
IOException
getUploadFiles
public Map getUploadFiles()
getUploadFields
public Properties getUploadFields()
waitForProgress
protected static void waitForProgress(ProgressObject po)
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.