magoffin.matt.ma2.web
Class AbstractWizardForm

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.support.WebContentGenerator
              extended by org.springframework.web.servlet.mvc.AbstractController
                  extended by org.springframework.web.servlet.mvc.BaseCommandController
                      extended by org.springframework.web.servlet.mvc.AbstractFormController
                          extended by org.springframework.web.servlet.mvc.AbstractWizardFormController
                              extended by magoffin.matt.ma2.web.AbstractWizardForm
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.servlet.mvc.Controller
Direct Known Subclasses:
RegisterForm, SetupWizard

public abstract class AbstractWizardForm
extends org.springframework.web.servlet.mvc.AbstractWizardFormController

Base class for Media Album wizard form controllers.

The configurable properties of this class are:

cancelView
The name of the view to go to if the form is canceled.
domainObjectFactory
The DomainObjectFactory implementation to use for creating instances of our domain objects.
successView
The name of the view to go to if the form is completed successfully.
systemBiz
An implementation of SystemBiz to use.
webHelper
A WebHelper instance.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
matt.magoffin

Field Summary
 
Fields inherited from class org.springframework.web.servlet.mvc.AbstractWizardFormController
PARAM_CANCEL, PARAM_FINISH, PARAM_PAGE, PARAM_TARGET
 
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController
DEFAULT_COMMAND_NAME
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
HEADER_CACHE_CONTROL, HEADER_EXPIRES, HEADER_PRAGMA, METHOD_GET, METHOD_HEAD, METHOD_POST
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
AbstractWizardForm()
           
 
Method Summary
 java.lang.String getCancelView()
           
 DomainObjectFactory getDomainObjectFactory()
           
 java.lang.String getSuccessView()
           
 SystemBiz getSystemBiz()
           
 WebHelper getWebHelper()
           
protected  void initApplicationContext()
           
 void setCancelView(java.lang.String cancelView)
           
 void setDomainObjectFactory(DomainObjectFactory domainObjectFactory)
           
 void setSuccessView(java.lang.String successView)
           
 void setSystemBiz(SystemBiz systemBiz)
           
 void setWebHelper(WebHelper webHelper)
           
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractWizardFormController
getCurrentPage, getInitialPage, getInitialPage, getPageAttribute, getPageCount, getPageCount, getPages, getPageSessionAttributeName, getPageSessionAttributeName, getTargetPage, getTargetPage, getViewName, handleInvalidSubmit, isAllowDirtyBack, isAllowDirtyForward, isCancel, isCancelRequest, isFinish, isFinishRequest, isFormSubmission, onBindAndValidate, onBindAndValidate, postProcessPage, processCancel, processFinish, processFormSubmission, referenceData, referenceData, referenceData, setAllowDirtyBack, setAllowDirtyForward, setPageAttribute, setPages, showForm, showPage, validatePage, validatePage
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractFormController
currentFormObject, formBackingObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleRequestInternal, isBindOnNewForm, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm
 
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, initBinder, isValidateOnBinding, onBind, onBind, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, suppressBinding, suppressValidation
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
 
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseExpiresHeader
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, isContextRequired
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWizardForm

public AbstractWizardForm()
Method Detail

initApplicationContext

protected void initApplicationContext()
Overrides:
initApplicationContext in class org.springframework.web.servlet.mvc.BaseCommandController

getCancelView

public java.lang.String getCancelView()
Returns:
Returns the cancelView.

setCancelView

public void setCancelView(java.lang.String cancelView)
Parameters:
cancelView - The cancelView to set.

getSuccessView

public java.lang.String getSuccessView()
Returns:
Returns the successView.

setSuccessView

public void setSuccessView(java.lang.String successView)
Parameters:
successView - The successView to set.

getDomainObjectFactory

public DomainObjectFactory getDomainObjectFactory()
Returns:
Returns the domainObjectFactory.

setDomainObjectFactory

public void setDomainObjectFactory(DomainObjectFactory domainObjectFactory)
Parameters:
domainObjectFactory - The domainObjectFactory to set.

getSystemBiz

public SystemBiz getSystemBiz()
Returns:
Returns the systemBiz.

setSystemBiz

public void setSystemBiz(SystemBiz systemBiz)
Parameters:
systemBiz - The systemBiz to set.

getWebHelper

public WebHelper getWebHelper()
Returns:
Returns the webHelper.

setWebHelper

public void setWebHelper(WebHelper webHelper)
Parameters:
webHelper - The webHelper to set.