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.secureportaladdon.controllers.AbstractB2BRegistrationController
-
- Direct Known Subclasses:
B2BRegistrationController
public abstract class AbstractB2BRegistrationController extends AbstractLoginPageController
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_USERNAME
-
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractRegisterPageController
CHECKOUT_ORDER_CONFIRMATION_CMS_PAGE_LABEL, consentFacade, customerConsentDataStrategy
-
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 AbstractB2BRegistrationController()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.List<CountryData>getCountries()Spring MVC Model attribute that holds the list of countries used to populate the "Country" dropdown.protected java.lang.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 java.lang.StringgetRegistrationCmsPage()Return the name of the cms page to be used for the registration pageprotected abstract java.lang.StringgetRegistrationView()Return 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
getDefaultLoginPage
-
Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractRegisterPageController
getAutoLoginStrategy, getCmsPage, getDefaultRegistrationPage, getGuidCookieStrategy, getRegistrationValidator, getSuccessRedirect, getTitles, getView, handleRegistrationError, processAnonymousCheckoutUserRequest, processRegisterUserRequest
-
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
-
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
protected abstract java.lang.String getRegistrationView()
Return the name of the view to be used for the registration page
-
getRegistrationCmsPage
protected abstract java.lang.String getRegistrationCmsPage()
Return the name of the cms page to be used for the registration page
-
getDefaultRegistrationPage
protected java.lang.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
@ModelAttribute("countries") public java.util.List<CountryData> getCountries()Spring MVC Model attribute that holds the list of countries used to populate the "Country" dropdown.
-
-