com.softslate.commerce.businessobjects.product
Interface DiscountProcessor
- All Superinterfaces:
- BusinessObject, BusinessProcessor
- All Known Implementing Classes:
- BasicDiscountProcessor
public interface DiscountProcessor
- extends BusinessProcessor
Interface for business logic methods having to do with discounts. Created in
the Struts layer in response to requests for viewing, editing, adding, and
deleting discounts.
When the application needs to create an instance that implements
DiscountProcessor
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"discountProcessorImplementer" setting in the
appComponents.properties
file.
The default "discountProcessorImplementer" is
DiscountProcessor
.
- Author:
- David Tobey
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor |
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils |
loadStoreDiscounts
java.util.Collection loadStoreDiscounts()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadDiscountsAndCount
java.util.Map loadDiscountsAndCount(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
addDiscount
java.util.Map addDiscount(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadDiscountFromID
Discount loadDiscountFromID(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
editDiscount
java.util.Map editDiscount(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
editDeleteDiscounts
void editDeleteDiscounts(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteDiscount
void deleteDiscount(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadAllCoupons
java.util.Collection loadAllCoupons()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © SoftSlate, LLC 20032005