com.softslate.commerce.businessobjects.order
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 |
(package private) static org.apache.commons.logging.Log |
log
|
| 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 |
log
static org.apache.commons.logging.Log log
BasicOrderDiscountProcessor
public BasicOrderDiscountProcessor()
loadOrderDiscountsAndCount
public java.util.Map loadOrderDiscountsAndCount(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
loadOrderDiscountsAndCount in interface OrderDiscountProcessor
- Throws:
java.lang.Exception
addOrderDiscount
public java.util.Map addOrderDiscount(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
addOrderDiscount in interface OrderDiscountProcessor
- Throws:
java.lang.Exception
loadOrderDiscountFromID
public OrderDiscount loadOrderDiscountFromID(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
loadOrderDiscountFromID in interface OrderDiscountProcessor
- Throws:
java.lang.Exception
editOrderDiscount
public java.util.Map editOrderDiscount(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
editOrderDiscount in interface OrderDiscountProcessor
- Throws:
java.lang.Exception
editDeleteOrderDiscounts
public void editDeleteOrderDiscounts(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
editDeleteOrderDiscounts in interface OrderDiscountProcessor
- Throws:
java.lang.Exception
deleteOrderDiscount
public void deleteOrderDiscount(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
deleteOrderDiscount in interface OrderDiscountProcessor
- Throws:
java.lang.Exception
Copyright © SoftSlate, LLC 20032010