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