|
|||||||||
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.bea.alcs.sfweb.controller.impl.AbstractEpControllerImpl
com.bea.alcs.sfweb.controller.impl.SimplePageControllerImpl
com.bea.alcs.sfweb.controller.impl.MoveToCartControllerImpl
public class MoveToCartControllerImpl
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 |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
MoveToCartControllerImpl()
|
Method Summary | |
---|---|
java.lang.String |
getSuccessView()
Sets the success view name. |
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Return the ModelAndView for the configured static view page. |
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 |
setStoreProductService(StoreProductService storeProductService)
Sets the store product service. |
void |
setSuccessView(java.lang.String successView)
Sets the static view name. |
Methods inherited from class com.bea.alcs.sfweb.controller.impl.SimplePageControllerImpl |
---|
setViewName |
Methods inherited from class com.bea.alcs.sfweb.controller.impl.AbstractEpControllerImpl |
---|
getElasticPath, getRequestHelper, setElasticPath, setRequestHelper |
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
---|
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommand, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, suppressBinding, suppressValidation, suppressValidation, suppressValidation, useDirectFieldAccess |
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, setServletContext |
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 |
Methods inherited from interface org.springframework.web.servlet.mvc.Controller |
---|
handleRequest |
Constructor Detail |
---|
public MoveToCartControllerImpl()
Method Detail |
---|
protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
handleRequestInternal
in class SimplePageControllerImpl
request
- -the requestresponse
- -the response
java.lang.Exception
- if anything goes wrong.public final void setSuccessView(java.lang.String successView)
successView
- name of the success viewpublic java.lang.String getSuccessView()
public void setProductSkuService(ProductSkuService productSkuService)
productSkuService
- the product sku servicepublic void setProductService(ProductService productService)
productService
- the product servicepublic void setShoppingCartService(ShoppingCartService shoppingCartService)
shoppingCartService
- the shopping cart servicepublic void setStoreProductService(StoreProductService storeProductService)
storeProductService
- the product service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |