com.softslate.commerce.businessobjects.customer
Class BasicCustomerWishListProcessor

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.BasicCustomerWishListProcessor
All Implemented Interfaces:
BusinessObject, BusinessProcessor, CustomerWishListProcessor

public class BasicCustomerWishListProcessor
extends BaseBusinessProcessor
implements CustomerWishListProcessor

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

BasicCustomerWishListProcessor is the default implementation of the CustomerWishListProcessor interface for the application.

Author:
Jason McWilliams

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
BasicCustomerWishListProcessor()
           
 
Method Summary
 java.util.Map addCustomerWishList(java.util.Map parameters)
           
 java.lang.String computeCheck(CustomerWishList customerWishList)
           
 java.util.Map customerAddProductToWishList(CustomerWishList customerWishList, Product product)
           
 java.util.Map customerAddWishList(java.util.Map parameters)
           
 java.util.Map customerDeleteWishList(java.util.Map parameters)
           
 java.util.Map customerDeleteWishListProduct(java.util.Map parameters)
           
 java.util.Map customerEditWishList(java.util.Map parameters)
           
 CustomerWishList customerGetWishList(java.util.Map parameters, boolean createNew)
           
 void deleteCustomerWishList(java.util.Map parameters)
           
 java.util.Map editCustomerWishList(java.util.Map parameters)
           
 void editDeleteCustomerWishLists(java.util.Map parameters)
           
 CustomerWishList loadCustomerWishListFromID(java.util.Map parameters)
           
 java.util.Map loadCustomerWishListsAndCount(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, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, updateOrderTotals, updateOrderTotals, 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

BasicCustomerWishListProcessor

public BasicCustomerWishListProcessor()
Method Detail

loadCustomerWishListsAndCount

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

addCustomerWishList

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

loadCustomerWishListFromID

public CustomerWishList loadCustomerWishListFromID(java.util.Map parameters)
                                            throws java.lang.Exception
Specified by:
loadCustomerWishListFromID in interface CustomerWishListProcessor
Throws:
java.lang.Exception

editCustomerWishList

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

editDeleteCustomerWishLists

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

deleteCustomerWishList

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

customerDeleteWishList

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

customerEditWishList

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

customerGetWishList

public CustomerWishList customerGetWishList(java.util.Map parameters,
                                            boolean createNew)
                                     throws java.lang.Exception
Specified by:
customerGetWishList in interface CustomerWishListProcessor
Throws:
java.lang.Exception

customerDeleteWishListProduct

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

customerAddProductToWishList

public java.util.Map customerAddProductToWishList(CustomerWishList customerWishList,
                                                  Product product)
                                           throws java.lang.Exception
Specified by:
customerAddProductToWishList in interface CustomerWishListProcessor
Throws:
java.lang.Exception

customerAddWishList

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

computeCheck

public java.lang.String computeCheck(CustomerWishList customerWishList)
Specified by:
computeCheck in interface CustomerWishListProcessor


Copyright © SoftSlate, LLC 2003–2010