com.softslate.commerce.businessobjects.customer
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 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 npcSetting database table.

The default "customerAddressProcessorImplementer" is CustomerAddressProcessor.

Author:
David Tobey

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.Collection loadActiveCustomerAddresses()
           
 java.util.Map loadCustomerAddressesAndCount(java.util.Map parameters)
           
 java.util.Map loadCustomerAddressFromID(java.util.Map parameters)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getBusinessObjectFactory, getDaoFactory, getSettingsBean, getUser, setBusinessObjectFactory, setDaoFactory, setSettingsBean, setUser
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

loadActiveCustomerAddresses

public java.util.Collection loadActiveCustomerAddresses()
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

loadCustomerAddressesAndCount

public java.util.Map loadCustomerAddressesAndCount(java.util.Map parameters)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

addCustomerAddress

public void addCustomerAddress(java.util.Map parameters)
                        throws java.lang.Exception
Throws:
java.lang.Exception

loadCustomerAddressFromID

public java.util.Map loadCustomerAddressFromID(java.util.Map parameters)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

editCustomerAddress

public void editCustomerAddress(java.util.Map parameters)
                         throws java.lang.Exception
Throws:
java.lang.Exception

editDeleteCustomerAddresses

public void editDeleteCustomerAddresses(java.util.Map parameters)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

deleteCustomerAddress

public void deleteCustomerAddress(java.util.Map parameters)
                           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005