Class BroadleafI18nManageCustomerAddressesController

java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
org.broadleafcommerce.core.web.controller.account.AbstractCustomerAddressController
com.broadleafcommerce.i18n.enterprise.web.controller.BroadleafI18nManageCustomerAddressesController

public class BroadleafI18nManageCustomerAddressesController extends org.broadleafcommerce.core.web.controller.account.AbstractCustomerAddressController
Author:
Elbert Bautista (elbertbautista)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.broadleafcommerce.profile.core.service.CountrySubdivisionService
     
    protected static final String
     
     

    Fields inherited from class org.broadleafcommerce.core.web.controller.account.AbstractCustomerAddressController

    addressService, countryService, customerAddressesRedirect, customerAddressesView, customerAddressService, customerAddressValidator, initBinderService, isoService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    changeCustomerAddressCountry(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, org.broadleafcommerce.core.web.controller.account.CustomerAddressForm customerAddressForm, org.springframework.validation.BindingResult result)
     
     
    void
    populateFormData(org.springframework.ui.Model model, DynamicRegionalForm form)
     
    void
    populateISOCountries(org.springframework.ui.Model model)
     

    Methods inherited from class org.broadleafcommerce.core.web.controller.account.AbstractCustomerAddressController

    getCustomerAddressesRedirect, getCustomerAddressesView, initBinder, populateCountries, populateCustomerAddresses

    Methods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController

    addDeepLink, getContextPath, isAjaxRequest, jsonResponse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • customerAddressFormView

      protected static final String customerAddressFormView
      See Also:
    • dynamicRegionalFormService

      protected DynamicRegionalFormService dynamicRegionalFormService
    • countrySubdivisionService

      protected org.broadleafcommerce.profile.core.service.CountrySubdivisionService countrySubdivisionService
  • Constructor Details

    • BroadleafI18nManageCustomerAddressesController

      public BroadleafI18nManageCustomerAddressesController()
  • Method Details

    • changeCustomerAddressCountry

      public String changeCustomerAddressCountry(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes, org.broadleafcommerce.core.web.controller.account.CustomerAddressForm customerAddressForm, org.springframework.validation.BindingResult result) throws org.broadleafcommerce.core.pricing.service.exception.PricingException, org.broadleafcommerce.common.exception.ServiceException
      Throws:
      org.broadleafcommerce.core.pricing.service.exception.PricingException
      org.broadleafcommerce.common.exception.ServiceException
    • populateISOCountries

      public void populateISOCountries(org.springframework.ui.Model model)
    • populateFormData

      public void populateFormData(org.springframework.ui.Model model, DynamicRegionalForm form)
    • getCustomerAddressFormView

      public String getCustomerAddressFormView()