com.elasticpath.sfweb.controller.impl
Class ShoppingCartControllerImpl
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
                  
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.ShoppingCartControllerImpl
- All Implemented Interfaces: 
 - EpController, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
 
public class ShoppingCartControllerImpl
- extends AbstractEpFormController
 
The Spring MVC controller for the shopping cart page.
 
| 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 | 
 
 
 
 
| 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 | 
 
ShoppingCartControllerImpl
public ShoppingCartControllerImpl()
getCheckoutView
public java.lang.String getCheckoutView()
- Get the checkout view name.
- Returns:
 - the checkout view
 
 
 
getOnePageView
public java.lang.String getOnePageView()
- Returns:
 - the onePageView
 
 
getShoppingCartView
public java.lang.String getShoppingCartView()
- Get the Shopping Cart View view name.
- Returns:
 - the Shopping Cart View
 
 
 
setCheckoutView
public void setCheckoutView(java.lang.String checkoutView)
- Set the checkout view.
- Parameters:
 checkoutView - the checkout view
 
 
setOnePageView
public void setOnePageView(java.lang.String onePageView)
- Parameters:
 onePageView - the onePageView to set
 
setShippingServiceLevelService
public void setShippingServiceLevelService(ShippingServiceLevelService shippingServiceLevelService)
- Set the 
ShippingServiceLevelService singleton to retrieve the country/subcountry map with shipping service configured.
- Parameters:
 shippingServiceLevelService - the shippingServiceLevelService instance
 
 
setShoppingCartService
public void setShoppingCartService(ShoppingCartService shoppingCartService)
- Sets the shopping cart service.
- Parameters:
 shoppingCartService - the shopping cart service
 
 
setShoppingCartView
public void setShoppingCartView(java.lang.String shoppingCartView)
- Set the checkout view.
- Parameters:
 shoppingCartView - the ShoppingCart View