Class BasicDiscountRangeProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddDiscountRange
(Map parameters) void
deleteDiscountRange
(Map parameters) editDeleteDiscountRanges
(Map parameters) editDiscountRange
(Map parameters) loadDiscountRangeFromID
(Map parameters) loadDiscountRangesAndCount
(Map parameters) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, 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.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
BasicDiscountRangeProcessor
public BasicDiscountRangeProcessor()
-
-
Method Details
-
loadDiscountRangesAndCount
- Specified by:
loadDiscountRangesAndCount
in interfaceDiscountRangeProcessor
- Throws:
Exception
-
addDiscountRange
- Specified by:
addDiscountRange
in interfaceDiscountRangeProcessor
- Throws:
Exception
-
loadDiscountRangeFromID
- Specified by:
loadDiscountRangeFromID
in interfaceDiscountRangeProcessor
- Throws:
Exception
-
editDiscountRange
- Specified by:
editDiscountRange
in interfaceDiscountRangeProcessor
- Throws:
Exception
-
editDeleteDiscountRanges
- Specified by:
editDeleteDiscountRanges
in interfaceDiscountRangeProcessor
- Throws:
Exception
-
deleteDiscountRange
- Specified by:
deleteDiscountRange
in interfaceDiscountRangeProcessor
- Throws:
Exception
-