Class BasicOptionProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.product.BasicOptionProcessor
- All Implemented Interfaces:
BusinessObject,BusinessProcessor,OptionProcessor
Processes business logic having to do with options. Created in the Struts
layer in response to requests for viewing, editing, adding, and deleting
options.
BasicOptionProcessor is the default implementation of the
OptionProcessor interface for the application.
- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteOption(Map parameters) editDeleteOptions(Map parameters) editOption(Map parameters) intloadOptionFromCode(Map parameters) loadOptionFromID(Map parameters) loadOptionsAndCount(Map parameters) validateOption(Option option) 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
-
BasicOptionProcessor
public BasicOptionProcessor()
-
-
Method Details
-
loadOptionsAndCount
- Specified by:
loadOptionsAndCountin interfaceOptionProcessor- Throws:
Exception
-
addOption
- Specified by:
addOptionin interfaceOptionProcessor- Throws:
Exception
-
loadOptionFromID
- Specified by:
loadOptionFromIDin interfaceOptionProcessor- Throws:
Exception
-
loadOptionFromCode
- Specified by:
loadOptionFromCodein interfaceOptionProcessor- Throws:
Exception
-
editOption
- Specified by:
editOptionin interfaceOptionProcessor- Throws:
Exception
-
editDeleteOptions
- Specified by:
editDeleteOptionsin interfaceOptionProcessor- Throws:
Exception
-
deleteOption
- Specified by:
deleteOptionin interfaceOptionProcessor- Throws:
Exception
-
validateOption
- Throws:
Exception
-
loadMaxOptionID
- Specified by:
loadMaxOptionIDin interfaceOptionProcessor- Throws:
Exception
-