com.softslate.commerce.businessobjects.product
Interface DiscountRangeProcessor

All Superinterfaces:
BusinessObject, BusinessProcessor
All Known Implementing Classes:
BasicDiscountRangeProcessor

public interface DiscountRangeProcessor
extends BusinessProcessor

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

When the application needs to create an instance that implements DiscountRangeProcessor, BusinessObjectFactory finds the name of the Java class to instantiate from the "discountRangeProcessorImplementer" setting in the appComponents.properties file.

The default "discountRangeProcessorImplementer" is BasicDiscountRangeProcessor.

Author:
David Tobey

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 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
 

Method Detail

loadDiscountRangesAndCount

java.util.Map loadDiscountRangesAndCount(java.util.Map parameters)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

addDiscountRange

void addDiscountRange(java.util.Map parameters)
                      throws java.lang.Exception
Throws:
java.lang.Exception

loadDiscountRangeFromID

DiscountRange loadDiscountRangeFromID(java.util.Map parameters)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

editDiscountRange

void editDiscountRange(java.util.Map parameters)
                       throws java.lang.Exception
Throws:
java.lang.Exception

editDeleteDiscountRanges

void editDeleteDiscountRanges(java.util.Map parameters)
                              throws java.lang.Exception
Throws:
java.lang.Exception

deleteDiscountRange

void deleteDiscountRange(java.util.Map parameters)
                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, LLC 2003–2005