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
FieldsModifier and TypeFieldDescriptionprotected org.broadleafcommerce.profile.core.service.CountrySubdivisionServiceprotected static final Stringprotected DynamicRegionalFormServiceFields inherited from class org.broadleafcommerce.core.web.controller.account.AbstractCustomerAddressController
addressService, countryService, customerAddressesRedirect, customerAddressesView, customerAddressService, customerAddressValidator, initBinderService, isoService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchangeCustomerAddressCountry(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) voidpopulateFormData(org.springframework.ui.Model model, DynamicRegionalForm form) voidpopulateISOCountries(org.springframework.ui.Model model) Methods inherited from class org.broadleafcommerce.core.web.controller.account.AbstractCustomerAddressController
getCustomerAddressesRedirect, getCustomerAddressesView, initBinder, populateCountries, populateCustomerAddressesMethods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
addDeepLink, getContextPath, isAjaxRequest, jsonResponse
-
Field Details
-
customerAddressFormView
- See Also:
-
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.PricingExceptionorg.broadleafcommerce.common.exception.ServiceException
-
populateISOCountries
public void populateISOCountries(org.springframework.ui.Model model) -
populateFormData
-
getCustomerAddressFormView
-