Class ChineseAccountPageController
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractSearchPageController
de.hybris.platform.addressaddon.controllers.pages.imported.AccountPageController
de.hybris.platform.addressaddon.controllers.pages.ChineseAccountPageController
@Controller
@Scope("tenant")
@RequestMapping("/my-account")
public class ChineseAccountPageController
extends AccountPageController
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractSearchPageController
AbstractSearchPageController.SearchResultsData<RESULT>, AbstractSearchPageController.ShowModeNested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException -
Field Summary
Fields inherited from class de.hybris.platform.addressaddon.controllers.pages.imported.AccountPageController
customerConsentDataStrategyFields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractSearchPageController
MAX_PAGE_LIMITFields 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 TypeMethodDescriptionaddAddress(ChineseAddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) addAddress(org.springframework.ui.Model model) editAddress(ChineseAddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) editAddress(String addressCode, org.springframework.ui.Model model) getCountryAddressForm(String addressCode, String country, org.springframework.ui.Model model) voidinitBinder(org.springframework.web.bind.WebDataBinder binder) protected voidprepareAddressFormAfterError(ChineseAddressForm addressForm, org.springframework.ui.Model model) protected voidprepareModel(ChineseAddressForm addressForm, org.springframework.ui.Model model) Methods inherited from class de.hybris.platform.addressaddon.controllers.pages.imported.AccountPageController
account, addAddress, closeAccount, consentManagement, doSelectSuggestedAddress, editAddress, editEmail, editProfile, findTitleForCode, getAddressBook, getAddressValidator, getAddressVerificationFacade, getAddressVerificationResultHandler, getCountries, getCountryDataMap, getEmailValidator, getI18NFacade, getPasswordValidator, getPreparedAddressForm, getProductVariantMatrixForResponsive, getProfileValidator, getTitles, giveConsent, order, orders, paymentDetails, populateModelRegionAndCountry, profile, removeAddress, removePaymentMethod, setDefaultAddress, setDefaultPaymentDetails, setErrorMessagesAndCMSPage, setUpAddressFormAfterError, showCloseAccountPage, updateEmail, updatePassword, updatePassword, updateProfile, withdrawConsentMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractSearchPageController
calculateShowAll, calculateShowPaged, convertBreadcrumbsToFacets, createEmptyPagination, createPageableData, encodeSearchPageData, existsFacetValueWithName, getMaxSearchPageSize, getSearchPageSize, isShowAllAllowed, populateModel, processFacetData, processFacetDatas, refineFacetsMethods 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
-
ChineseAccountPageController
public ChineseAccountPageController()
-
-
Method Details
-
initBinder
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder) -
getCountryAddressForm
@RequestMapping(value="/addressform", method=GET) public String getCountryAddressForm(@RequestParam("addressCode") String addressCode, @RequestParam("countryIsoCode") String country, org.springframework.ui.Model model) - Overrides:
getCountryAddressFormin classAccountPageController
-
addAddress
@RequestMapping(value="/add-address", method=GET) public String addAddress(org.springframework.ui.Model model) throws CMSItemNotFoundException - Overrides:
addAddressin classAccountPageController- Throws:
CMSItemNotFoundException
-
editAddress
@RequestMapping(value="/edit-address/{addressCode:.*}", method=GET) public String editAddress(@PathVariable("addressCode") String addressCode, org.springframework.ui.Model model) throws CMSItemNotFoundException - Overrides:
editAddressin classAccountPageController- Throws:
CMSItemNotFoundException
-
addAddress
@RequestMapping(value="/add-address", method=POST, params="countryIso=CN") public String addAddress(@ModelAttribute("addressForm") ChineseAddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
editAddress
@RequestMapping(value="/edit-address/{addressCode:.*}", method=POST, params="countryIso=CN") public String editAddress(@ModelAttribute("addressForm") ChineseAddressForm addressForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
prepareAddressFormAfterError
protected void prepareAddressFormAfterError(ChineseAddressForm addressForm, org.springframework.ui.Model model) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
prepareModel
-