Class 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
  • 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

      protected abstract String getRegistrationView()
      Return the name of the view to be used for the registration page
    • getRegistrationCmsPage

      protected abstract String 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

      @ModelAttribute("countries") public List<CountryData> getCountries()
      Spring MVC Model attribute that holds the list of countries used to populate the "Country" dropdown.