@Controller(value="blRegisterCustomerController")
@RequestMapping(value="/registerCustomer")
public class RegisterCustomerController
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
RegisterCustomerController() |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected java.lang.String displayRegistrationFormView
protected java.lang.String registrationErrorView
protected java.lang.String registrationSuccessView
protected CustomerService customerService
protected RegisterCustomerValidator registerCustomerValidator
protected ChallengeQuestionService challengeQuestionService
protected MergeCartProcessor mergeCartProcessor
protected LoginService loginService
@RequestMapping(value="registerCustomer",
method=GET)
public java.lang.String registerCustomer()
@RequestMapping(value="registerCustomer",
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)
@RequestMapping(value="registerCustomerSuccess",
method=GET)
public java.lang.String registerCustomerSuccess()
@ModelAttribute(value="registerCustomerForm") public RegisterCustomerForm initCustomerRegistrationForm()
@ModelAttribute(value="challengeQuestions") public java.util.List<ChallengeQuestion> getChallengeQuestions()
public java.lang.String getRegistrationErrorView()
public void setRegistrationErrorView(java.lang.String registrationErrorView)
public java.lang.String getRegistrationSuccessView()
public void setRegistrationSuccessView(java.lang.String registrationSuccessView)
public RegisterCustomerValidator getRegisterCustomerValidator()
public void setRegisterCustomerValidator(RegisterCustomerValidator registerCustomerValidator)
public java.lang.String getDisplayRegistrationFormView()
public void setDisplayRegistrationFormView(java.lang.String displayRegistrationFormView)
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
Copyright © 2018. All Rights Reserved.