Class BasicOrderDiscountProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.order.BasicOrderDiscountProcessor
- All Implemented Interfaces:
BusinessObject,BusinessProcessor,OrderDiscountProcessor
public class BasicOrderDiscountProcessor
extends BaseBusinessProcessor
implements OrderDiscountProcessor
Processes business logic having to do with order discounts. Created in the
Struts layer in response to requests for viewing, editing, adding, and
deleting order discounts.
BasicOrderDiscountProcessor is the default implementation of
the OrderDiscountProcessor interface for the application.
- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOrderDiscount(Map parameters) voiddeleteOrderDiscount(Map parameters) editDeleteOrderDiscounts(Map parameters) editOrderDiscount(Map parameters) loadOrderDiscountFromID(Map parameters) loadOrderDiscountsAndCount(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, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods 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
-
BasicOrderDiscountProcessor
public BasicOrderDiscountProcessor()
-
-
Method Details
-
loadOrderDiscountsAndCount
- Specified by:
loadOrderDiscountsAndCountin interfaceOrderDiscountProcessor- Throws:
Exception
-
addOrderDiscount
- Specified by:
addOrderDiscountin interfaceOrderDiscountProcessor- Throws:
Exception
-
loadOrderDiscountFromID
- Specified by:
loadOrderDiscountFromIDin interfaceOrderDiscountProcessor- Throws:
Exception
-
editOrderDiscount
- Specified by:
editOrderDiscountin interfaceOrderDiscountProcessor- Throws:
Exception
-
editDeleteOrderDiscounts
- Specified by:
editDeleteOrderDiscountsin interfaceOrderDiscountProcessor- Throws:
Exception
-
deleteOrderDiscount
- Specified by:
deleteOrderDiscountin interfaceOrderDiscountProcessor- Throws:
Exception
-