org.broadleafcommerce.core.web.controller.account
Class BroadleafUpdateAccountController

java.lang.Object
  extended by org.broadleafcommerce.common.web.controller.BroadleafAbstractController
      extended by org.broadleafcommerce.core.web.controller.account.BroadleafUpdateAccountController

public class BroadleafUpdateAccountController
extends BroadleafAbstractController


Field Summary
protected static String accountRedirectView
           
protected  String accountUpdatedMessage
           
protected  CustomerService customerService
           
protected  UpdateAccountValidator updateAccountValidator
           
protected static String updateAccountView
           
 
Constructor Summary
BroadleafUpdateAccountController()
           
 
Method Summary
 String getAccountRedirectView()
           
 String getAccountUpdatedMessage()
           
 String getUpdateAccountView()
           
 String processUpdateAccount(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, UpdateAccountForm form, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
           
 String viewUpdateAccount(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, UpdateAccountForm form)
           
 
Methods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
getContextPath, isAjaxRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customerService

protected CustomerService customerService

updateAccountValidator

protected UpdateAccountValidator updateAccountValidator

accountUpdatedMessage

protected String accountUpdatedMessage

updateAccountView

protected static String updateAccountView

accountRedirectView

protected static String accountRedirectView
Constructor Detail

BroadleafUpdateAccountController

public BroadleafUpdateAccountController()
Method Detail

viewUpdateAccount

public String viewUpdateAccount(javax.servlet.http.HttpServletRequest request,
                                org.springframework.ui.Model model,
                                UpdateAccountForm form)

processUpdateAccount

public String processUpdateAccount(javax.servlet.http.HttpServletRequest request,
                                   org.springframework.ui.Model model,
                                   UpdateAccountForm form,
                                   org.springframework.validation.BindingResult result,
                                   org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                            throws ServiceException
Throws:
ServiceException

getUpdateAccountView

public String getUpdateAccountView()

getAccountRedirectView

public String getAccountRedirectView()

getAccountUpdatedMessage

public String getAccountUpdatedMessage()


Copyright © 2013. All Rights Reserved.