|
|||||||||
| 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
com.elasticpath.sfweb.controller.impl.AbstractEpControllerImpl
com.elasticpath.sfweb.controller.impl.SimplePageControllerImpl
com.elasticpath.sfweb.controller.impl.AddToCartSimpleControllerImpl
public class AddToCartSimpleControllerImpl
The Spring MVC controller for adding a product to the shopping cart.
| 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 | |
|---|---|
AddToCartSimpleControllerImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getSuccessView()
Sets the success view name. |
void |
setProductService(ProductService productService)
Sets the product service. |
void |
setProductSkuService(ProductSkuService productSkuService)
Sets the product service. |
void |
setShoppingCartService(ShoppingCartService shoppingCartService)
Sets the shopping cart service. |
void |
setSuccessView(java.lang.String successView)
Sets the static view name. |
| Methods inherited from class com.elasticpath.sfweb.controller.impl.SimplePageControllerImpl |
|---|
setViewName |
| Methods inherited from class com.elasticpath.sfweb.controller.impl.AbstractEpControllerImpl |
|---|
getElasticPath, getRequestHelper, setElasticPath, setRequestHelper |
| 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 AddToCartSimpleControllerImpl()
| Method Detail |
|---|
public java.lang.String getSuccessView()
public void setProductService(ProductService productService)
productService - the product servicepublic void setProductSkuService(ProductSkuService productSkuService)
productSkuService - the product sku servicepublic void setShoppingCartService(ShoppingCartService shoppingCartService)
shoppingCartService - the shopping cart servicepublic final void setSuccessView(java.lang.String successView)
successView - name of the success view
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||