com.softslate.commerce.businessobjects.shipping
Interface ShippingRuleProcessor
- All Superinterfaces:
- BusinessObject, BusinessProcessor
- All Known Implementing Classes:
- BasicShippingRuleProcessor
public interface ShippingRuleProcessor
- extends BusinessProcessor
Interface for business logic methods having to do with shipping rules. Created in
the Struts layer in response to requests for viewing, editing, adding, and
deleting shipping rules.
When the application needs to create an instance that implements
ShippingRuleProcessor
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"shippingRuleProcessorImplementer" setting in the
appComponents.properties
file.
The default "shippingRuleProcessorImplementer" is
BasicShippingRuleProcessor
.
- Author:
- Jason McWilliams
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor |
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils |
loadShippingRulesAndCount
java.util.Map loadShippingRulesAndCount(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
addShippingRule
void addShippingRule(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadShippingRuleFromID
ShippingRule loadShippingRuleFromID(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
editShippingRule
void editShippingRule(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
editDeleteShippingRules
void editDeleteShippingRules(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteShippingRule
void deleteShippingRule(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
findAvailableShippingProcessors
java.util.Collection findAvailableShippingProcessors(java.util.Collection availableProcessors,
int orderID)
throws java.lang.Exception
- Throws:
java.lang.Exception
processShippingRules
java.util.Map processShippingRules(java.util.Collection newOrderItems)
throws java.lang.Exception
- Throws:
java.lang.Exception
processAddItems
java.util.Map processAddItems(java.util.Collection newOrderItems)
throws java.lang.Exception
- Throws:
java.lang.Exception
processEditItem
java.util.Map processEditItem(java.util.Collection newOrderItems)
throws java.lang.Exception
- Throws:
java.lang.Exception
processOrderComplete
java.util.Map processOrderComplete(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright ? SoftSlate, LLC 2003?2005