com.elasticpath.sfweb.controller.impl
Class AbstractEpFormController

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.SimpleFormController
                              extended by com.elasticpath.sfweb.controller.impl.AbstractEpFormController
All Implemented Interfaces:
EpController, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
Direct Known Subclasses:
AddressFormControllerImpl, AnonymousSignInFormControllerImpl, BillingAddressFormControllerImpl, BillingAndReviewFormControllerImpl, CheckoutCreateAccountFormControllerImpl, CreditCardFormControllerImpl, DeliveryOptionsFormControllerImpl, EditAccountFormControllerImpl, ForgottenPasswordFormControllerImpl, LicensingFormControllerImpl, ShippingAddressFormControllerImpl, ShoppingCartControllerImpl, SignInFormControllerImpl, WishListControllerImpl

public abstract class AbstractEpFormController
extends org.springframework.web.servlet.mvc.SimpleFormController
implements EpController

AbstactEpFormControllerImpl represents a controller in an Spring MVC pattern dealing with form based requests.


Field Summary
 
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController
DEFAULT_COMMAND_NAME
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
METHOD_GET, METHOD_HEAD, METHOD_POST
 
Constructor Summary
AbstractEpFormController()
           
 
Method Summary
 ElasticPath getElasticPath()
          Return the elastic path context.
 RequestHelper getRequestHelper()
          Gets the requestHelper instance.
 void setElasticPath(ElasticPath elasticPath)
          Sets the elastic path context.
 void setRequestHelper(RequestHelper requestHelper)
          Sets the requestHelper instance.
 
Methods inherited from class org.springframework.web.servlet.mvc.SimpleFormController
getFormView, getSuccessView, setFormView, setSuccessView
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractFormController
isBindOnNewForm, isSessionForm, setBindOnNewForm, setSessionForm
 
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController
getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, isValidateOnBinding, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
 
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseExpiresHeader, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseExpiresHeader
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, setApplicationContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.web.servlet.mvc.Controller
handleRequest
 

Constructor Detail

AbstractEpFormController

public AbstractEpFormController()
Method Detail

getElasticPath

public ElasticPath getElasticPath()
Return the elastic path context.

Specified by:
getElasticPath in interface EpController
Returns:
the elastic path context

getRequestHelper

public RequestHelper getRequestHelper()
Gets the requestHelper instance.

Specified by:
getRequestHelper in interface EpController
Returns:
- the currenct requestHelper instance.

setElasticPath

public void setElasticPath(ElasticPath elasticPath)
Sets the elastic path context.

Specified by:
setElasticPath in interface EpController
Parameters:
elasticPath - the elastic path context instance.

setRequestHelper

public void setRequestHelper(RequestHelper requestHelper)
Sets the requestHelper instance.

Specified by:
setRequestHelper in interface EpController
Parameters:
requestHelper - -the requesthelper instance.