Class AbstractCheckoutStepController
- 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.b2ctelcoaddon.controllers.pages.checkout.steps.AbstractCheckoutStepController
-
- All Implemented Interfaces:
CheckoutStepController
- Direct Known Subclasses:
DeliveryAddressCheckoutStepController,DeliveryMethodCheckoutStepController,MultiStepCheckoutController,PaymentMethodCheckoutStepController,PickupLocationCheckoutStepController,SummaryCheckoutStepController
public abstract class AbstractCheckoutStepController extends AbstractCheckoutController implements CheckoutStepController
Checkout wizard controller.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractCheckoutStepController.CheckoutStepsCheckout steps DTO.-
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 static java.lang.StringMULTI_CHECKOUT_SUMMARY_CMS_PAGE_LABELprotected static java.lang.StringREDIRECT_URL_ADD_DELIVERY_ADDRESSprotected static java.lang.StringREDIRECT_URL_ADD_PAYMENT_METHODprotected static java.lang.StringREDIRECT_URL_CARTprotected static java.lang.StringREDIRECT_URL_CHOOSE_DELIVERY_METHODprotected static java.lang.StringREDIRECT_URL_ERRORprotected static java.lang.StringREDIRECT_URL_SUMMARY-
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 AbstractCheckoutStepController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractCheckoutStepController.CheckoutSteps>addCheckoutStepsToModel()Checkout steps.protected AddressValidatorgetAddressValidator()protected AddressVerificationResultHandlergetAddressVerificationResultHandler()protected de.hybris.platform.commercefacades.order.CartFacadegetCartFacade()java.util.Map<java.lang.String,CheckoutGroup>getCheckoutFlowGroupMap()protected CheckoutStepgetCheckoutStep(java.lang.String currentController)ContentPageBreadcrumbBuildergetContentPageBreadcrumbBuilder()java.util.Collection<CountryData>getCountries()java.util.Map<java.lang.String,CountryData>getCountryDataMap()protected de.hybris.platform.acceleratorservices.customer.CustomerLocationServicegetCustomerLocationService()protected PaymentDetailsValidatorgetPaymentDetailsValidator()protected de.hybris.platform.acceleratorfacades.payment.PaymentFacadegetPaymentFacade()protected de.hybris.platform.commercefacades.product.ProductFacadegetProductFacade()protected java.util.Map<java.lang.String,java.lang.String>getRequestParameterMap(javax.servlet.http.HttpServletRequest request)protected ResourceBreadcrumbBuildergetResourceBreadcrumbBuilder()java.util.Collection<TitleData>getTitles()protected voidprepareDataForPage(org.springframework.ui.Model model)protected voidsetCheckoutStepLinksForModel(org.springframework.ui.Model model, CheckoutStep checkoutStep)-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController
getAddressVerificationFacade, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.b2ctelcoaddon.controllers.pages.checkout.steps.CheckoutStepController
back, enterStep, next
-
-
-
-
Field Detail
-
MULTI_CHECKOUT_SUMMARY_CMS_PAGE_LABEL
protected static final java.lang.String MULTI_CHECKOUT_SUMMARY_CMS_PAGE_LABEL
- See Also:
- Constant Field Values
-
REDIRECT_URL_ADD_DELIVERY_ADDRESS
protected static final java.lang.String REDIRECT_URL_ADD_DELIVERY_ADDRESS
- See Also:
- Constant Field Values
-
REDIRECT_URL_CHOOSE_DELIVERY_METHOD
protected static final java.lang.String REDIRECT_URL_CHOOSE_DELIVERY_METHOD
- See Also:
- Constant Field Values
-
REDIRECT_URL_ADD_PAYMENT_METHOD
protected static final java.lang.String REDIRECT_URL_ADD_PAYMENT_METHOD
- See Also:
- Constant Field Values
-
REDIRECT_URL_SUMMARY
protected static final java.lang.String REDIRECT_URL_SUMMARY
- See Also:
- Constant Field Values
-
REDIRECT_URL_CART
protected static final java.lang.String REDIRECT_URL_CART
- See Also:
- Constant Field Values
-
REDIRECT_URL_ERROR
protected static final java.lang.String REDIRECT_URL_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTitles
@ModelAttribute("titles") public java.util.Collection<TitleData> getTitles()
-
getCountries
@ModelAttribute("countries") public java.util.Collection<CountryData> getCountries()
-
getCountryDataMap
@ModelAttribute("countryDataMap") public java.util.Map<java.lang.String,CountryData> getCountryDataMap()
-
addCheckoutStepsToModel
@ModelAttribute("checkoutSteps") public java.util.List<AbstractCheckoutStepController.CheckoutSteps> addCheckoutStepsToModel()Checkout steps.- Returns:
- model attribute
-
prepareDataForPage
protected void prepareDataForPage(org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException- Throws:
de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
-
getCheckoutStep
protected CheckoutStep getCheckoutStep(java.lang.String currentController)
-
setCheckoutStepLinksForModel
protected void setCheckoutStepLinksForModel(org.springframework.ui.Model model, CheckoutStep checkoutStep)
-
getRequestParameterMap
protected java.util.Map<java.lang.String,java.lang.String> getRequestParameterMap(javax.servlet.http.HttpServletRequest request)
-
getCartFacade
protected de.hybris.platform.commercefacades.order.CartFacade getCartFacade()
- Overrides:
getCartFacadein classAbstractCheckoutController
-
getProductFacade
protected de.hybris.platform.commercefacades.product.ProductFacade getProductFacade()
-
getPaymentDetailsValidator
protected PaymentDetailsValidator getPaymentDetailsValidator()
-
getResourceBreadcrumbBuilder
protected ResourceBreadcrumbBuilder getResourceBreadcrumbBuilder()
-
getPaymentFacade
protected de.hybris.platform.acceleratorfacades.payment.PaymentFacade getPaymentFacade()
-
getAddressValidator
protected AddressValidator getAddressValidator()
-
getCustomerLocationService
protected de.hybris.platform.acceleratorservices.customer.CustomerLocationService getCustomerLocationService()
-
getAddressVerificationResultHandler
protected AddressVerificationResultHandler getAddressVerificationResultHandler()
-
getContentPageBreadcrumbBuilder
public ContentPageBreadcrumbBuilder getContentPageBreadcrumbBuilder()
-
getCheckoutFlowGroupMap
public java.util.Map<java.lang.String,CheckoutGroup> getCheckoutFlowGroupMap()
-
-