public class B2BRegistrationController extends AbstractB2BRegistrationController
| Constructor and Description |
|---|
B2BRegistrationController() |
| Modifier and Type | Method and Description |
|---|---|
protected B2BRegistrationData |
convertFormToData(RegistrationForm form) |
protected AbstractPageModel |
getCmsPage() |
protected java.lang.String |
getRegistrationCmsPage()
Return the name of the cms page to be used for the registration page
|
protected Validator |
getRegistrationValidator() |
protected java.lang.String |
getRegistrationView()
Return the name of the view to be used for the registration page
|
protected java.lang.String |
getSuccessRedirect(HttpServletRequest request,
HttpServletResponse response) |
protected java.lang.String |
getView() |
protected void |
populateModelCmsContent(Model model,
ContentPageModel contentPageModel)
Method that ensures the model is populated with all required CMS components in order to properly render the
registration page.
|
java.lang.String |
showRegistrationPage(HttpServletRequest request,
Model model) |
java.lang.String |
submitRegistration(RegistrationForm form,
BindingResult bindingResult,
Model model,
HttpServletRequest request,
HttpSession session,
RedirectAttributes redirectModel) |
getCountries, getDefaultRegistrationPagepublic java.lang.String showRegistrationPage(HttpServletRequest request,
Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic java.lang.String submitRegistration(RegistrationForm form, BindingResult bindingResult, Model model, HttpServletRequest request, HttpSession session, RedirectAttributes redirectModel) throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected B2BRegistrationData convertFormToData(RegistrationForm form)
form - Form data as submitted by userprotected Validator getRegistrationValidator()
protected java.lang.String getRegistrationView()
AbstractB2BRegistrationControllergetRegistrationView in class AbstractB2BRegistrationControllerprotected java.lang.String getRegistrationCmsPage()
AbstractB2BRegistrationControllergetRegistrationCmsPage in class AbstractB2BRegistrationControllerprotected void populateModelCmsContent(Model model,
ContentPageModel contentPageModel)
AbstractB2BRegistrationControllerpopulateModelCmsContent in class AbstractB2BRegistrationControllerprotected java.lang.String getView()
protected AbstractPageModel getCmsPage() throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String getSuccessRedirect(HttpServletRequest request,
HttpServletResponse response)
Copyright © 2018 SAP SE. All Rights Reserved.