Interface CustomerAddressProcessor

All Superinterfaces:
BusinessObject, BusinessProcessor
All Known Implementing Classes:
BasicCustomerAddressProcessor

public interface CustomerAddressProcessor extends BusinessProcessor
Interface for business logic methods having to do with customer delivery addresses. Created in the Struts layer in response to requests for viewing, editing, adding, and deleting delivery addresses.

When the application needs to create an instance that implements CustomerAddressProcessor, BusinessObjectFactory finds the name of the Java class to instantiate from the "customerAddressProcessorImplementer" setting in the appComponents.properties file.

The default "customerAddressProcessorImplementer" is CustomerAddressProcessor.

Author:
David Tobey
  • Method Details

    • loadCustomerAddressesAndCount

      Map loadCustomerAddressesAndCount(Map parameters) throws Exception
      Throws:
      Exception
    • addCustomerAddress

      Map addCustomerAddress(Map parameters) throws Exception
      Throws:
      Exception
    • loadCustomerAddressFromID

      CustomerAddress loadCustomerAddressFromID(Map parameters) throws Exception
      Throws:
      Exception
    • editCustomerAddress

      Map editCustomerAddress(Map parameters) throws Exception
      Throws:
      Exception
    • editDeleteCustomerAddresses

      Map editDeleteCustomerAddresses(Map parameters) throws Exception
      Throws:
      Exception
    • deleteCustomerAddress

      void deleteCustomerAddress(Map parameters) throws Exception
      Throws:
      Exception
    • addAddressBookAddress

      Map addAddressBookAddress(Map parameters, boolean updateDatabase) throws Exception
      Throws:
      Exception
    • addAddressBookAddress

      Map addAddressBookAddress(Map parameters) throws Exception
      Throws:
      Exception
    • deleteAddressBookAddress

      Map deleteAddressBookAddress(Map parameters) throws Exception
      Throws:
      Exception
    • updateAddressBookAddress

      Map updateAddressBookAddress(Map parameters) throws Exception
      Throws:
      Exception
    • findCustomerAddress

      CustomerAddress findCustomerAddress(Collection<CustomerAddress> customerAddresses, int customerAddressID)
    • describeDeliveryOrBillingForAddressBook

      Map describeDeliveryOrBillingForAddressBook(Map parameters, String type, boolean removeType)
      Takes parameters (usually describe from an address form) and returns only those starting with billing or shipping.
      Parameters:
      parameters -
      type -
      Returns: