com.softslate.commerce.businessobjects.customer
Class BasicCustomerAddressProcessor

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
          extended by com.softslate.commerce.businessobjects.customer.BasicCustomerAddressProcessor
All Implemented Interfaces:
BusinessObject, BusinessProcessor, CustomerAddressProcessor

public class BasicCustomerAddressProcessor
extends BaseBusinessProcessor
implements CustomerAddressProcessor

Processes business logic having to do with a customer's delivery address. Created in the Struts layer in response to requests for viewing, editing, adding, and deleting delivery addresses.

BasicCustomerAddressProcessor is the default implementation of the CustomerAddressProcessor interface for the application.

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
BasicCustomerAddressProcessor()
           
 
Method Summary
 void addCustomerAddress(java.util.Map parameters)
           
 void deleteCustomerAddress(java.util.Map parameters)
           
 void editCustomerAddress(java.util.Map parameters)
           
 void editDeleteCustomerAddresses(java.util.Map parameters)
           
 java.util.Map loadCustomerAddressesAndCount(java.util.Map parameters)
           
 CustomerAddress loadCustomerAddressFromID(java.util.Map parameters)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getProductIDs, getSettings, getUser, initialize, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

BasicCustomerAddressProcessor

public BasicCustomerAddressProcessor()
Method Detail

loadCustomerAddressesAndCount

public java.util.Map loadCustomerAddressesAndCount(java.util.Map parameters)
                                            throws java.lang.Exception
Specified by:
loadCustomerAddressesAndCount in interface CustomerAddressProcessor
Throws:
java.lang.Exception

addCustomerAddress

public void addCustomerAddress(java.util.Map parameters)
                        throws java.lang.Exception
Specified by:
addCustomerAddress in interface CustomerAddressProcessor
Throws:
java.lang.Exception

loadCustomerAddressFromID

public CustomerAddress loadCustomerAddressFromID(java.util.Map parameters)
                                          throws java.lang.Exception
Specified by:
loadCustomerAddressFromID in interface CustomerAddressProcessor
Throws:
java.lang.Exception

editCustomerAddress

public void editCustomerAddress(java.util.Map parameters)
                         throws java.lang.Exception
Specified by:
editCustomerAddress in interface CustomerAddressProcessor
Throws:
java.lang.Exception

editDeleteCustomerAddresses

public void editDeleteCustomerAddresses(java.util.Map parameters)
                                 throws java.lang.Exception
Specified by:
editDeleteCustomerAddresses in interface CustomerAddressProcessor
Throws:
java.lang.Exception

deleteCustomerAddress

public void deleteCustomerAddress(java.util.Map parameters)
                           throws java.lang.Exception
Specified by:
deleteCustomerAddress in interface CustomerAddressProcessor
Throws:
java.lang.Exception


Copyright ? SoftSlate, LLC 2003?2005