Class BasicProductSettingProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.product.BasicProductSettingProcessor
- All Implemented Interfaces:
BusinessObject,BusinessProcessor,ProductSettingProcessor
public class BasicProductSettingProcessor
extends BaseBusinessProcessor
implements ProductSettingProcessor
Processes business logic having to do with product settings. Created in the Struts layer in response to requests for
viewing, editing, adding, and deleting product settings.
BasicProductSettingProcessor is the default implementation of the ProductSettingProcessor
interface for the application.
- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProductSetting(Map parameters) voiddeleteProductSetting(Map parameters) editProductSetting(Map parameters) intloadProductSettingFromCode(Map parameters) loadProductSettingFromID(Map parameters) loadProductSettingsAndCount(Map parameters) validateProductSetting(ProductSetting productSetting) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods 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
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
BasicProductSettingProcessor
public BasicProductSettingProcessor()
-
-
Method Details
-
loadProductSettingsAndCount
- Specified by:
loadProductSettingsAndCountin interfaceProductSettingProcessor- Throws:
Exception
-
addProductSetting
- Specified by:
addProductSettingin interfaceProductSettingProcessor- Throws:
Exception
-
loadProductSettingFromID
- Specified by:
loadProductSettingFromIDin interfaceProductSettingProcessor- Throws:
Exception
-
editProductSetting
- Specified by:
editProductSettingin interfaceProductSettingProcessor- Throws:
Exception
-
validateProductSetting
- Throws:
Exception
-
loadProductSettingFromCode
- Specified by:
loadProductSettingFromCodein interfaceProductSettingProcessor- Throws:
Exception
-
deleteProductSetting
- Specified by:
deleteProductSettingin interfaceProductSettingProcessor- Throws:
Exception
-
loadMaxProductSettingID
- Specified by:
loadMaxProductSettingIDin interfaceProductSettingProcessor- Throws:
Exception
-