Class ChineseMobileBindingController
- java.lang.Object
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
-
- de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
-
- de.hybris.platform.chineseprofile.controllers.pages.ChineseMobileBindingController
-
@Controller @Scope("tenant") @RequestMapping("/mobile") public class ChineseMobileBindingController extends AbstractPageControllerHandle customer's mobile number binding.
-
-
Nested Class Summary
-
Nested 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.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, ROOT
-
-
Constructor Summary
Constructors Constructor Description ChineseMobileBindingController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringbindMobileAfterRegister(org.springframework.ui.Model model, VerificationCodeForm form)java.lang.StringbindMobileAfterRegister(org.springframework.ui.Model model, VerificationCodeForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)java.lang.StringbindMobileNumber(org.springframework.ui.Model model, VerificationCodeForm form)java.lang.StringbindMobileNumber(org.springframework.ui.Model model, VerificationCodeForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)voidinitBinder(org.springframework.web.bind.WebDataBinder binder)protected voidpopulateAttributes(org.springframework.ui.Model model)Populate some common data.java.lang.StringverifyMobile(org.springframework.ui.Model model, VerificationCodeForm verificationCodeForm)java.lang.StringverifyMobile(org.springframework.ui.Model model, VerificationCodeForm verificationCodeForm, org.springframework.validation.BindingResult bindingResult, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)-
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
-
-
-
-
Method Detail
-
initBinder
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
-
bindMobileNumber
@RequestMapping(value="/binding", method=POST) public java.lang.String bindMobileNumber(org.springframework.ui.Model model, VerificationCodeForm form) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
bindMobileNumber
@RequestMapping(value="/bind", method=POST) public java.lang.String bindMobileNumber(org.springframework.ui.Model model, VerificationCodeForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
bindMobileAfterRegister
@RequestMapping(value="/register/bind", method=GET) public java.lang.String bindMobileAfterRegister(org.springframework.ui.Model model, VerificationCodeForm form) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
bindMobileAfterRegister
@RequestMapping(value="/register/bind", method=POST) public java.lang.String bindMobileAfterRegister(org.springframework.ui.Model model, VerificationCodeForm form, org.springframework.validation.BindingResult bindingResult, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
verifyMobile
@RequestMapping(value="/unbind", method=GET) public java.lang.String verifyMobile(org.springframework.ui.Model model, VerificationCodeForm verificationCodeForm) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
verifyMobile
@RequestMapping(value="/unbind", method=POST) public java.lang.String verifyMobile(org.springframework.ui.Model model, VerificationCodeForm verificationCodeForm, org.springframework.validation.BindingResult bindingResult, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException- Throws:
CMSItemNotFoundException
-
populateAttributes
protected void populateAttributes(org.springframework.ui.Model model) throws CMSItemNotFoundExceptionPopulate some common data.- Throws:
CMSItemNotFoundException
-
-