public class BroadleafRegisterController extends BroadleafAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected CustomerService |
customerService |
protected LoginService |
loginService |
protected OrderService |
orderService |
protected RegisterCustomerValidator |
registerCustomerValidator |
protected static String |
registerSuccessView |
protected static String |
registerView |
protected boolean |
useEmailForLogin |
| Constructor and Description |
|---|
BroadleafRegisterController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRegisterSuccessView()
Returns the view that will be returned from this controller when the
registration is successful.
|
String |
getRegisterView()
Returns the view that will be used to display the registration page.
|
RegisterCustomerForm |
initCustomerRegistrationForm() |
boolean |
isUseEmailForLogin() |
String |
processRegister(RegisterCustomerForm registerCustomerForm,
org.springframework.validation.BindingResult errors,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
String |
register(RegisterCustomerForm registerCustomerForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
void |
setUseEmailForLogin(boolean useEmailForLogin) |
addDeepLink, getContextPath, isAjaxRequest, jsonResponseprotected boolean useEmailForLogin
protected static String registerSuccessView
protected static String registerView
protected CustomerService customerService
protected RegisterCustomerValidator registerCustomerValidator
protected LoginService loginService
protected OrderService orderService
public String register(RegisterCustomerForm registerCustomerForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
public String processRegister(RegisterCustomerForm registerCustomerForm, org.springframework.validation.BindingResult errors, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model) throws ServiceException, PricingException
ServiceExceptionPricingExceptionpublic RegisterCustomerForm initCustomerRegistrationForm()
public boolean isUseEmailForLogin()
public void setUseEmailForLogin(boolean useEmailForLogin)
public String getRegisterSuccessView()
public String getRegisterView()
Copyright © 2015. All Rights Reserved.