Interface SKUProcessor
- All Superinterfaces:
BusinessObject
,BusinessProcessor
- All Known Implementing Classes:
BasicSKUProcessor
Interface for business logic methods having to do with skus. Created in the
Struts layer in response to requests for viewing, editing, adding, and
deleting skus.
When the application needs to create an instance that implements
SKUProcessor
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"skuProcessorImplementer" setting in the
appComponents.properties
file.
The default "skuProcessorImplementer" is
SKUProcessor
.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionbuildProductSKUs
(int productID, List<Integer> includedAttributeIds, List<Integer> includedOptionIds) void
editDeleteSKUs
(Map parameters) editSKUAssignment
(Map parameters) int
loadSKUFromID
(int skuID) loadSKUFromID
(Map parameters) loadSKUFromNumber
(String skuNumber) loadSKUFromNumber
(Map parameters) loadSKUsAndCount
(Map parameters) postChangingSKUEvent
(SKU sku, Map parameters) 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
-
loadSKUsAndCount
- Throws:
Exception
-
addSKU
- Throws:
Exception
-
loadSKUFromID
- Throws:
Exception
-
editSKU
- Throws:
Exception
-
editDeleteSKUs
- Throws:
Exception
-
deleteSKU
- Throws:
Exception
-
buildProductSKUs
Map buildProductSKUs(int productID, List<Integer> includedAttributeIds, List<Integer> includedOptionIds) throws Exception - Throws:
Exception
-
buildAllProductSKUs
- Throws:
Exception
-
buildAllAttributeSKUs
- Throws:
Exception
-
loadMaxSKUID
- Throws:
Exception
-
postChangingSKUEvent
- Throws:
Exception
-
loadSKUFromID
- Throws:
Exception
-
loadSKUFromNumber
- Throws:
Exception
-
loadSKUFromNumber
- Throws:
Exception
-
editSKUAssignment
- Throws:
Exception
-