com.softslate.commerce.businessobjects.product
Class BasicDiscountRangeProcessor

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.product.BasicDiscountRangeProcessor
All Implemented Interfaces:
BusinessObject, BusinessProcessor, DiscountRangeProcessor

public class BasicDiscountRangeProcessor
extends BaseBusinessProcessor
implements DiscountRangeProcessor

Processes business logic having to do with discount ranges. Created in the Struts layer in response to requests for viewing, editing, adding, and deleting discount ranges.

BasicDiscountRangeProcessor is the default implementation of the DiscountRangeProcessor interface for the application.

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
BasicDiscountRangeProcessor()
           
 
Method Summary
 void addDiscountRange(java.util.Map parameters)
           
 void deleteDiscountRange(java.util.Map parameters)
           
 void editDeleteDiscountRanges(java.util.Map parameters)
           
 void editDiscountRange(java.util.Map parameters)
           
 DiscountRange loadDiscountRangeFromID(java.util.Map parameters)
           
 java.util.Map loadDiscountRangesAndCount(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, 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

BasicDiscountRangeProcessor

public BasicDiscountRangeProcessor()
Method Detail

loadDiscountRangesAndCount

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

addDiscountRange

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

loadDiscountRangeFromID

public DiscountRange loadDiscountRangeFromID(java.util.Map parameters)
                                      throws java.lang.Exception
Specified by:
loadDiscountRangeFromID in interface DiscountRangeProcessor
Throws:
java.lang.Exception

editDiscountRange

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

editDeleteDiscountRanges

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

deleteDiscountRange

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


Copyright © SoftSlate, LLC 2003–2005