Class RegisterCustomerController
java.lang.Object
org.broadleafcommerce.profile.web.controller.RegisterCustomerController
@Controller("blRegisterCustomerController")
@RequestMapping("/registerCustomer")
public class RegisterCustomerController
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ChallengeQuestionServiceprotected CustomerServiceprotected Stringprotected LoginServiceprotected RegisterCustomerValidatorprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitBinder(org.springframework.web.bind.WebDataBinder binder) org.springframework.web.servlet.ModelAndViewregisterCustomer(RegisterCustomerForm registerCustomerForm, org.springframework.validation.BindingResult errors, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) voidsetDisplayRegistrationFormView(String displayRegistrationFormView) voidsetRegisterCustomerValidator(RegisterCustomerValidator registerCustomerValidator) voidsetRegistrationErrorView(String registrationErrorView) voidsetRegistrationSuccessView(String registrationSuccessView)
-
Field Details
-
displayRegistrationFormView
-
registrationErrorView
-
registrationSuccessView
-
customerService
-
registerCustomerValidator
-
challengeQuestionService
-
loginService
-
-
Constructor Details
-
RegisterCustomerController
public RegisterCustomerController()
-
-
Method Details
-
registerCustomer
-
registerCustomer
@RequestMapping(value="registerCustomer", method=POST) public org.springframework.web.servlet.ModelAndView registerCustomer(@ModelAttribute("registerCustomerForm") RegisterCustomerForm registerCustomerForm, org.springframework.validation.BindingResult errors, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
registerCustomerSuccess
@RequestMapping(value="registerCustomerSuccess", method=GET) public String registerCustomerSuccess() -
initCustomerRegistrationForm
-
getChallengeQuestions
-
getRegistrationErrorView
-
setRegistrationErrorView
-
getRegistrationSuccessView
-
setRegistrationSuccessView
-
getRegisterCustomerValidator
-
setRegisterCustomerValidator
-
getDisplayRegistrationFormView
-
setDisplayRegistrationFormView
-
initBinder
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
-