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 java.lang.Object


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

Field Detail

displayRegistrationFormView

protected java.lang.String displayRegistrationFormView

registrationErrorView

protected java.lang.String registrationErrorView

registrationSuccessView

protected java.lang.String registrationSuccessView

customerService

protected CustomerService customerService

registerCustomerValidator

protected RegisterCustomerValidator registerCustomerValidator

challengeQuestionService

protected ChallengeQuestionService challengeQuestionService

mergeCartProcessor

protected MergeCartProcessor mergeCartProcessor

loginService

protected LoginService loginService
Constructor Detail

RegisterCustomerController

public RegisterCustomerController()
Method Detail

registerCustomer

@RequestMapping(method=GET)
public java.lang.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,
                                                                                    javax.servlet.http.HttpServletResponse response)

registerCustomerSuccess

@RequestMapping(method=GET)
public java.lang.String registerCustomerSuccess()

initCustomerRegistrationForm

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

getChallengeQuestions

@ModelAttribute(value="challengeQuestions")
public java.util.List<ChallengeQuestion> getChallengeQuestions()

getRegistrationErrorView

public java.lang.String getRegistrationErrorView()

setRegistrationErrorView

public void setRegistrationErrorView(java.lang.String registrationErrorView)

getRegistrationSuccessView

public java.lang.String getRegistrationSuccessView()

setRegistrationSuccessView

public void setRegistrationSuccessView(java.lang.String registrationSuccessView)

getRegisterCustomerValidator

public RegisterCustomerValidator getRegisterCustomerValidator()

setRegisterCustomerValidator

public void setRegisterCustomerValidator(RegisterCustomerValidator registerCustomerValidator)

getDisplayRegistrationFormView

public java.lang.String getDisplayRegistrationFormView()

setDisplayRegistrationFormView

public void setDisplayRegistrationFormView(java.lang.String displayRegistrationFormView)

initBinder

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


Copyright © 2012. All Rights Reserved.