Class AbstractB2BRegistrationController
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractRegisterPageController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractLoginPageController
de.hybris.platform.b2bacceleratoraddon.controllers.secureportal.AbstractB2BRegistrationController
- Direct Known Subclasses:
B2BRegistrationController
This class provides an implementation skeleton for a registration page controller for the B2B accelerator
-
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.AbstractLoginPageController
SPRING_SECURITY_LAST_USERNAMEFields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractRegisterPageController
CHECKOUT_ORDER_CONFIRMATION_CMS_PAGE_LABEL, consentFacade, customerConsentDataStrategyFields 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 TypeMethodDescriptionSpring MVC Model attribute that holds the list of countries used to populate the "Country" dropdown.protected StringgetDefaultRegistrationPage(org.springframework.ui.Model model, ContentPageModel contentPageModel) Calls the implementation of both other methods declared above and adds the required registration form to the model.protected abstract StringReturn the name of the cms page to be used for the registration pageprotected abstract StringReturn the name of the view to be used for the registration pageprotected abstract voidpopulateModelCmsContent(org.springframework.ui.Model model, ContentPageModel contentPageModel) Method that ensures the model is populated with all required CMS components in order to properly render the registration page.Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractLoginPageController
getDefaultLoginPageMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractRegisterPageController
getAutoLoginStrategy, getCmsPage, getDefaultRegistrationPage, getGuidCookieStrategy, getRegistrationValidator, getSuccessRedirect, getTitles, getView, handleRegistrationError, processAnonymousCheckoutUserRequest, processRegisterUserRequestMethods 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
-
AbstractB2BRegistrationController
public AbstractB2BRegistrationController()
-
-
Method Details
-
populateModelCmsContent
protected abstract void populateModelCmsContent(org.springframework.ui.Model model, ContentPageModel contentPageModel) Method that ensures the model is populated with all required CMS components in order to properly render the registration page. -
getRegistrationView
Return the name of the view to be used for the registration page -
getRegistrationCmsPage
Return the name of the cms page to be used for the registration page -
getDefaultRegistrationPage
protected String getDefaultRegistrationPage(org.springframework.ui.Model model, ContentPageModel contentPageModel) Calls the implementation of both other methods declared above and adds the required registration form to the model. -
getCountries
Spring MVC Model attribute that holds the list of countries used to populate the "Country" dropdown.
-