|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.BaseCommandController
org.springframework.web.servlet.mvc.AbstractFormController
org.springframework.web.servlet.mvc.SimpleFormController
com.elasticpath.sfweb.controller.impl.AbstractEpFormController
com.elasticpath.sfweb.controller.impl.DeliveryOptionsFormControllerImpl
public class DeliveryOptionsFormControllerImpl
The Spring MVC controller for selecting a delivery option.
| 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 | |
|---|---|
DeliveryOptionsFormControllerImpl()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
formBackingObject(javax.servlet.http.HttpServletRequest request)
Prepare the command object (the shopping cart). |
org.springframework.web.servlet.ModelAndView |
onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
Handle the address-add form submit. |
void |
setCheckoutService(CheckoutService checkoutService)
Set the checkout service. |
| Methods inherited from class com.elasticpath.sfweb.controller.impl.AbstractEpFormController |
|---|
getElasticPath, getRequestHelper, setElasticPath, setRequestHelper |
| 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 |
|---|
public DeliveryOptionsFormControllerImpl()
| Method Detail |
|---|
public java.lang.Object formBackingObject(javax.servlet.http.HttpServletRequest request)
formBackingObject in class org.springframework.web.servlet.mvc.AbstractFormControllerrequest - -the request
public org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
onSubmit in class org.springframework.web.servlet.mvc.SimpleFormControllerrequest - -the requestresponse - -the responsecommand - -the command objecterrors - - will be written back in case of any business error happens
public void setCheckoutService(CheckoutService checkoutService)
checkoutService - the customer service.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||