Class CheckoutController
- java.lang.Object
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController
-
- de.hybris.platform.yacceleratorstorefront.controllers.pages.CheckoutController
-
@Controller @RequestMapping("/checkout") public class CheckoutController extends AbstractCheckoutControllerCheckoutController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController
AbstractCheckoutController.SelectOption
-
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException
-
-
Field Summary
Fields Modifier and Type Field Description protected ConsentFacadeconsentFacadeprotected CustomerConsentDataStrategycustomerConsentDataStrategy-
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController
REDIRECT_URL_ORDER_CONFIRMATION
-
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
CMS_PAGE_MODEL, CMS_PAGE_TITLE, PAGE_ROOT, REDIRECT_TO_LOGIN_FOR_CHECKOUT, REDIRECT_TO_MULTISTEP_CHECKOUT, REGISTRATION_CONSENT_ID, UTF_8
-
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT
-
-
Constructor Summary
Constructors Constructor Description CheckoutController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcheckout(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)protected AutoLoginStrategygetAutoLoginStrategy()protected GuestRegisterValidatorgetGuestRegisterValidator()java.lang.StringhandleModelNotFoundException(ModelNotFoundException exception, javax.servlet.http.HttpServletRequest request)java.lang.StringorderConfirmation(GuestRegisterForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)java.lang.StringorderConfirmation(java.lang.String orderCode, javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)protected voidprocessEmailAddress(org.springframework.ui.Model model, OrderData orderDetails)protected java.lang.StringprocessOrderCode(java.lang.String orderCode, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)protected java.lang.StringprocessRegisterGuestUserRequest(GuestRegisterForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController
getAddressVerificationFacade, getCartFacade, getCheckoutCustomerStrategy, getCheckoutFacade, getCheckoutFlowFacade, getDeliveryAddresses, getI18NFacade, isAddressIdChanged, isAddressOnList, redirectToOrderConfirmationPage, validateCart
-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
addRegistrationConsentDataToModel, checkRequestUrl, createMetaElement, decodeWithScheme, getBaseSiteService, getCheckoutRedirectUrl, getCmsPageService, getCmsPreviewService, getCmsSiteService, getConfigurationService, getConsentFacade, getContentPageForLabelOrId, getCurrencies, getCurrentCurrency, getCurrentLanguage, getCustomerFacade, getHostConfigService, getI18nService, getLanguages, getMessageSource, getPageTitleResolver, getRequestContextData, getSessionService, getSiteConfigService, getSiteName, getSiteUid, getStoreSessionFacade, getUser, getUserFacade, getViewForPage, getViewForPage, prepareNotFoundPage, setUpMetaData, setUpMetaDataForContentPage, storeCmsPageInModel, storeContentPageTitleInModel, storeContinueUrl, urlEncode
-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
-
-
-
Field Detail
-
consentFacade
protected ConsentFacade consentFacade
-
customerConsentDataStrategy
protected CustomerConsentDataStrategy customerConsentDataStrategy
-
-
Method Detail
-
handleModelNotFoundException
@ExceptionHandler(ModelNotFoundException.class) public java.lang.String handleModelNotFoundException(ModelNotFoundException exception, javax.servlet.http.HttpServletRequest request)
-
checkout
@RequestMapping(method=GET) public java.lang.String checkout(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
-
orderConfirmation
@RequestMapping(value="/orderConfirmation/{orderCode:.*}", method=GET) public java.lang.String orderConfirmation(@PathVariable("orderCode") java.lang.String orderCode, javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
orderConfirmation
@RequestMapping(value="/orderConfirmation/{orderCode:.*}", method=POST) public java.lang.String orderConfirmation(GuestRegisterForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
processRegisterGuestUserRequest
protected java.lang.String processRegisterGuestUserRequest(GuestRegisterForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
processOrderCode
protected java.lang.String processOrderCode(java.lang.String orderCode, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
processEmailAddress
protected void processEmailAddress(org.springframework.ui.Model model, OrderData orderDetails)
-
getGuestRegisterValidator
protected GuestRegisterValidator getGuestRegisterValidator()
-
getAutoLoginStrategy
protected AutoLoginStrategy getAutoLoginStrategy()
-
-