org.broadleafcommerce.profile.web.controller
Class RegisterCustomerController

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

@Controller(value="blRegisterCustomerController")
@RequestMapping(value="/registerCustomer")
public class RegisterCustomerController
extends Object


Field Summary
protected  ChallengeQuestionService challengeQuestionService
           
protected  CustomerService customerService
           
protected  String displayRegistrationFormView
           
protected  LoginService loginService
           
protected  RegisterCustomerValidator registerCustomerValidator
           
protected  String registrationErrorView
           
protected  String registrationSuccessView
           
 
Constructor Summary
RegisterCustomerController()
           
 
Method Summary
 List<ChallengeQuestion> getChallengeQuestions()
           
 String getDisplayRegistrationFormView()
           
 RegisterCustomerValidator getRegisterCustomerValidator()
           
 String getRegistrationErrorView()
           
 String getRegistrationSuccessView()
           
 void initBinder(org.springframework.web.bind.WebDataBinder binder)
           
 RegisterCustomerForm initCustomerRegistrationForm()
           
 String registerCustomer()
           
 org.springframework.web.servlet.ModelAndView registerCustomer(RegisterCustomerForm registerCustomerForm, org.springframework.validation.BindingResult errors, javax.servlet.http.HttpServletRequest request)
           
 String registerCustomerSuccess()
           
 void setDisplayRegistrationFormView(String displayRegistrationFormView)
           
 void setRegisterCustomerValidator(RegisterCustomerValidator registerCustomerValidator)
           
 void setRegistrationErrorView(String registrationErrorView)
           
 void setRegistrationSuccessView(String registrationSuccessView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

RegisterCustomerController

public RegisterCustomerController()
Method Detail

registerCustomer

@RequestMapping(method=GET)
public String registerCustomer()

registerCustomer

@RequestMapping(method=POST)
public org.springframework.web.servlet.ModelAndView registerCustomer(@ModelAttribute(value="registerCustomerForm")
                                                                                    RegisterCustomerForm registerCustomerForm,
                                                                                    org.springframework.validation.BindingResult errors,
                                                                                    javax.servlet.http.HttpServletRequest request)

registerCustomerSuccess

@RequestMapping(method=GET)
public String registerCustomerSuccess()

initCustomerRegistrationForm

@ModelAttribute(value="registerCustomerForm")
public RegisterCustomerForm initCustomerRegistrationForm()

getChallengeQuestions

@ModelAttribute(value="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)


Copyright © 2011. All Rights Reserved.