Interface ShippingRuleProcessor
- All Superinterfaces:
BusinessObject
,BusinessProcessor
- All Known Implementing Classes:
BasicShippingRuleProcessor
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
-
Method Summary
Modifier and TypeMethodDescriptionaddShippingRule
(Map parameters) void
deleteShippingRule
(Map parameters) editDeleteShippingRules
(Map parameters) editShippingRule
(Map parameters) findAvailableShippingProcessors
(Collection availableProcessors, int orderID) loadShippingRuleFromID
(Map parameters) loadShippingRulesAndCount
(Map parameters) processAddItems
(Collection newOrderItems) processEditItem
(Collection newOrderItems) processOnCheckout
(Map parameters) processOrderComplete
(Map parameters) processShippingRules
(Collection newOrderItems) Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods 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
-
Method Details
-
loadShippingRulesAndCount
- Throws:
Exception
-
addShippingRule
- Throws:
Exception
-
loadShippingRuleFromID
- Throws:
Exception
-
editShippingRule
- Throws:
Exception
-
editDeleteShippingRules
- Throws:
Exception
-
deleteShippingRule
- Throws:
Exception
-
findAvailableShippingProcessors
Collection findAvailableShippingProcessors(Collection availableProcessors, int orderID) throws Exception - Throws:
Exception
-
processShippingRules
- Throws:
Exception
-
processAddItems
- Throws:
Exception
-
processEditItem
- Throws:
Exception
-
processOnCheckout
- Throws:
Exception
-
processOrderComplete
- Throws:
Exception
-