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 ChallengeQuestionService
protected CustomerService
protected String
protected LoginService
protected RegisterCustomerValidator
protected String
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initBinder
(org.springframework.web.bind.WebDataBinder binder) org.springframework.web.servlet.ModelAndView
registerCustomer
(RegisterCustomerForm registerCustomerForm, org.springframework.validation.BindingResult errors, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
setDisplayRegistrationFormView
(String displayRegistrationFormView) void
setRegisterCustomerValidator
(RegisterCustomerValidator registerCustomerValidator) void
setRegistrationErrorView
(String registrationErrorView) void
setRegistrationSuccessView
(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)
-