Class AbstractCustomerAddressController

java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
org.broadleafcommerce.core.web.controller.account.AbstractCustomerAddressController
Direct Known Subclasses:
BroadleafManageCustomerAddressesController

public class AbstractCustomerAddressController extends BroadleafAbstractController
An abstract controller that provides convenience methods and resource declarations for its children.

Operations that are shared between controllers that deal with Customer Addresses belong here.

Author:
Elbert Bautista (elbertbautista)
  • Field Details

  • Constructor Details

    • AbstractCustomerAddressController

      public AbstractCustomerAddressController()
  • Method Details

    • initBinder

      protected void initBinder(jakarta.servlet.http.HttpServletRequest request, org.springframework.web.bind.ServletRequestDataBinder binder) throws Exception
      Initializes some custom binding operations for the managing an address. More specifically, this method will attempt to bind state and country abbreviations to actual State and Country objects when the String representation of the abbreviation is submitted.
      Parameters:
      request -
      binder -
      Throws:
      Exception
    • populateCountries

      protected List<Country> populateCountries()
    • populateCustomerAddresses

      protected List<CustomerAddress> populateCustomerAddresses()
    • getCustomerAddressesView

      public String getCustomerAddressesView()
    • getCustomerAddressesRedirect

      public String getCustomerAddressesRedirect()