magoffin.matt.ma2.web
Class AbstractController
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
magoffin.matt.ma2.web.AbstractController
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.servlet.mvc.Controller
- Direct Known Subclasses:
- HomeController, JobsInfoController, LogoffController, NoopController
public abstract class AbstractController
- extends org.springframework.web.servlet.mvc.AbstractController
Abstract base class for command 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.
- messagesSource
- A
MessagesSource
instance.
- 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 (spamsqr@msqr.us)
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 |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
handleRequest, handleRequestInternal, 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, initApplicationContext, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractController
public AbstractController()
getDomainObjectFactory
public DomainObjectFactory getDomainObjectFactory()
- Returns:
- Returns the domainObjectFactory.
setDomainObjectFactory
public void setDomainObjectFactory(DomainObjectFactory domainObjectFactory)
- Parameters:
domainObjectFactory
- The domainObjectFactory to set.
getErrorView
public java.lang.String getErrorView()
- Returns:
- Returns the errorView.
setErrorView
public void setErrorView(java.lang.String errorView)
- Parameters:
errorView
- The errorView to set.
getMessagesSource
public magoffin.matt.xweb.util.MessagesSource getMessagesSource()
- Returns:
- Returns the messagesSource.
setMessagesSource
public void setMessagesSource(magoffin.matt.xweb.util.MessagesSource messagesSource)
- Parameters:
messagesSource
- The messagesSource 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.
getWebHelper
public WebHelper getWebHelper()
- Returns:
- Returns the webHelper.
setWebHelper
public void setWebHelper(WebHelper webHelper)
- Parameters:
webHelper
- The webHelper to set.
getSystemBiz
public SystemBiz getSystemBiz()
- Returns:
- Returns the systemBiz.
setSystemBiz
public void setSystemBiz(SystemBiz systemBiz)
- Parameters:
systemBiz
- The systemBiz to set.