public class BroadleafManageCustomerAddressesController extends BroadleafAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected String |
addressAddedMessage |
protected String |
addressRemovedErrorMessage |
protected String |
addressRemovedMessage |
protected String |
addressUpdatedMessage |
protected static String |
customerAddressesRedirect |
protected static String |
customerAddressesView |
| Constructor and Description |
|---|
BroadleafManageCustomerAddressesController() |
| Modifier and Type | Method and Description |
|---|---|
String |
addCustomerAddress(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
CustomerAddressForm form,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
getAddressAddedMessage() |
String |
getAddressRemovedErrorMessage() |
String |
getAddressRemovedMessage() |
String |
getAddressUpdatedMessage() |
String |
getCustomerAddressesRedirect() |
String |
getCustomerAddressesView() |
protected void |
initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder)
Initializes some custom binding operations for the managing an address.
|
protected List<Country> |
populateCountries() |
protected List<CustomerAddress> |
populateCustomerAddresses() |
protected List<State> |
populateStates() |
String |
removeCustomerAddress(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
Long customerAddressId,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
updateCustomerAddress(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
Long customerAddressId,
CustomerAddressForm form,
org.springframework.validation.BindingResult result,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
viewCustomerAddress(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
Long customerAddressId) |
String |
viewCustomerAddresses(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
getContextPath, isAjaxRequestprotected String addressUpdatedMessage
protected String addressAddedMessage
protected String addressRemovedMessage
protected String addressRemovedErrorMessage
protected static String customerAddressesView
protected static String customerAddressesRedirect
public BroadleafManageCustomerAddressesController()
protected void initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder)
throws Exception
request - binder - Exceptionprotected List<CustomerAddress> populateCustomerAddresses()
public String viewCustomerAddresses(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model)
public String viewCustomerAddress(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Long customerAddressId)
public String addCustomerAddress(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, CustomerAddressForm form, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws ServiceException
ServiceExceptionpublic String updateCustomerAddress(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Long customerAddressId, CustomerAddressForm form, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws ServiceException
ServiceExceptionpublic String removeCustomerAddress(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Long customerAddressId, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
public String getCustomerAddressesView()
public String getCustomerAddressesRedirect()
public String getAddressUpdatedMessage()
public String getAddressAddedMessage()
public String getAddressRemovedMessage()
public String getAddressRemovedErrorMessage()
Copyright © 2014. All Rights Reserved.