Class RegisterCustomerController

java.lang.Object
org.broadleafcommerce.profile.web.controller.RegisterCustomerController

@Controller("blRegisterCustomerController") @RequestMapping("/registerCustomer") public class RegisterCustomerController extends Object
  • Field Details

    • displayRegistrationFormView

      protected String displayRegistrationFormView
    • registrationErrorView

      protected String registrationErrorView
    • registrationSuccessView

      protected String registrationSuccessView
    • customerService

      protected CustomerService customerService
    • registerCustomerValidator

      protected RegisterCustomerValidator registerCustomerValidator
    • challengeQuestionService

      protected ChallengeQuestionService challengeQuestionService
    • loginService

      protected LoginService loginService
  • Constructor Details

    • RegisterCustomerController

      public RegisterCustomerController()
  • Method Details

    • registerCustomer

      @RequestMapping(value="registerCustomer", method=GET) public String 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

      @ModelAttribute("registerCustomerForm") public RegisterCustomerForm initCustomerRegistrationForm()
    • getChallengeQuestions

      @ModelAttribute("challengeQuestions") public List<ChallengeQuestion> getChallengeQuestions()
    • getRegistrationErrorView

      public String getRegistrationErrorView()
    • setRegistrationErrorView

      public void setRegistrationErrorView(String registrationErrorView)
    • getRegistrationSuccessView

      public String getRegistrationSuccessView()
    • setRegistrationSuccessView

      public void setRegistrationSuccessView(String registrationSuccessView)
    • getRegisterCustomerValidator

      public RegisterCustomerValidator getRegisterCustomerValidator()
    • setRegisterCustomerValidator

      public void setRegisterCustomerValidator(RegisterCustomerValidator registerCustomerValidator)
    • getDisplayRegistrationFormView

      public String getDisplayRegistrationFormView()
    • setDisplayRegistrationFormView

      public void setDisplayRegistrationFormView(String displayRegistrationFormView)
    • initBinder

      @InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)