Class ChineseDeliveryAddressCheckoutStepController
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.acceleratorstorefrontcommons.controllers.pages.checkout.steps.AbstractCheckoutStepController
de.hybris.platform.addressaddon.controllers.pages.checkout.steps.imported.DeliveryAddressCheckoutStepController
de.hybris.platform.addressaddon.controllers.pages.checkout.steps.ChineseDeliveryAddressCheckoutStepController
- All Implemented Interfaces:
CheckoutStepController
@Scope("tenant")
@RequestMapping("/checkout/multi/delivery-address")
public class ChineseDeliveryAddressCheckoutStepController
extends DeliveryAddressCheckoutStepController
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.checkout.steps.AbstractCheckoutStepController
AbstractCheckoutStepController.CheckoutStepsNested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController
AbstractCheckoutController.SelectOptionNested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException -
Field Summary
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.checkout.steps.AbstractCheckoutStepController
MULTI_CHECKOUT_SUMMARY_CMS_PAGE_LABEL, REDIRECT_URL_ADD_DELIVERY_ADDRESS, REDIRECT_URL_ADD_PAYMENT_METHOD, REDIRECT_URL_CART, REDIRECT_URL_CHOOSE_DELIVERY_METHOD, REDIRECT_URL_ERROR, REDIRECT_URL_SUMMARYFields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController
REDIRECT_URL_ORDER_CONFIRMATIONFields 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_8Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(AddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) add(ChineseAddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) doSelectSuggestedAddress(AddressForm addressForm, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) edit(AddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) edit(ChineseAddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) editAddressForm(String editAddressCode, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) enterStep(org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) Swapping the parameter order might break the validation aspect from working.protected CheckoutStepvoidsetChineseAddressHandler(ChineseAddressHandler chineseAddressHandler) Methods inherited from class de.hybris.platform.addressaddon.controllers.pages.checkout.steps.imported.DeliveryAddressCheckoutStepController
back, doSelectDeliveryAddress, getBreadcrumbKey, next, populateCommonModelAttributes, processAddressVisibility, processAddressVisibilityAndDefault, removeAddress, setDeliveryAddressMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.checkout.steps.AbstractCheckoutStepController
addCheckoutStepsToModel, getAddressValidator, getAddressVerificationResultHandler, getCartFacade, getCheckoutFlowGroupMap, getCheckoutGroup, getCheckoutStep, getContentPageBreadcrumbBuilder, getCountries, getCountryDataMap, getCustomerLocationService, getPaymentDetailsValidator, getPaymentFacade, getProductFacade, getRequestParameterMap, getResourceBreadcrumbBuilder, getTitles, handleUnknownIdentifierException, prepareDataForPage, setCheckoutStepLinksForModelMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractCheckoutController
getAddressVerificationFacade, getCheckoutCustomerStrategy, getCheckoutFacade, getCheckoutFlowFacade, getDeliveryAddresses, getI18NFacade, isAddressIdChanged, isAddressOnList, redirectToOrderConfirmationPage, validateCartMethods 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, urlEncodeMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
Constructor Details
-
ChineseDeliveryAddressCheckoutStepController
public ChineseDeliveryAddressCheckoutStepController()
-
-
Method Details
-
enterStep
@RequestMapping(value="/add", method=GET) public String enterStep(org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws CMSItemNotFoundException Description copied from interface:CheckoutStepControllerSwapping the parameter order might break the validation aspect from working.- Specified by:
enterStepin interfaceCheckoutStepController- Overrides:
enterStepin classDeliveryAddressCheckoutStepController- Returns:
- returns the result for entering the checkout step
- Throws:
CMSItemNotFoundException
-
add
@RequestMapping(value="/add", method=POST) public String add(AddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException - Overrides:
addin classDeliveryAddressCheckoutStepController- Throws:
CMSItemNotFoundException
-
add
@RequestMapping(value="/add", method=POST, params="countryIso=CN") public String add(@ModelAttribute("addressForm") ChineseAddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
editAddressForm
@RequestMapping(value="/edit", method=GET) public String editAddressForm(@RequestParam("editAddressCode") String editAddressCode, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws CMSItemNotFoundException - Overrides:
editAddressFormin classDeliveryAddressCheckoutStepController- Throws:
CMSItemNotFoundException
-
edit
@RequestMapping(value="/edit", method=POST) public String edit(AddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException - Overrides:
editin classDeliveryAddressCheckoutStepController- Throws:
CMSItemNotFoundException
-
edit
@RequestMapping(value="/edit", method=POST, params="countryIso=CN") public String edit(@ModelAttribute("addressForm") ChineseAddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
doSelectSuggestedAddress
@RequestMapping(value="/select", method=POST) public String doSelectSuggestedAddress(AddressForm addressForm, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) - Overrides:
doSelectSuggestedAddressin classDeliveryAddressCheckoutStepController
-
getCheckoutStep
- Overrides:
getCheckoutStepin classDeliveryAddressCheckoutStepController
-
getChineseAddressHandler
-
setChineseAddressHandler
-