com.softslate.commerce.businessobjects.product
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
public class BasicOptionProcessor
- extends BaseBusinessProcessor
- implements 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 |
(package private) static org.apache.commons.logging.Log |
log
|
| Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor |
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getProductIDs, getSettings, getUser, initialize, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, updateOrderTotals, updateOrderTotals, utils |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor |
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils |
log
static org.apache.commons.logging.Log log
BasicOptionProcessor
public BasicOptionProcessor()
loadOptionsAndCount
public java.util.Map loadOptionsAndCount(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
loadOptionsAndCount in interface OptionProcessor
- Throws:
java.lang.Exception
addOption
public java.util.Map addOption(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
addOption in interface OptionProcessor
- Throws:
java.lang.Exception
loadOptionFromID
public Option loadOptionFromID(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
loadOptionFromID in interface OptionProcessor
- Throws:
java.lang.Exception
editOption
public java.util.Map editOption(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
editOption in interface OptionProcessor
- Throws:
java.lang.Exception
editDeleteOptions
public java.util.Map editDeleteOptions(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
editDeleteOptions in interface OptionProcessor
- Throws:
java.lang.Exception
deleteOption
public java.util.Map deleteOption(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
deleteOption in interface OptionProcessor
- Throws:
java.lang.Exception
validateOption
public java.util.Map validateOption(Option option)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadMaxOptionID
public int loadMaxOptionID()
throws java.lang.Exception
- Specified by:
loadMaxOptionID in interface OptionProcessor
- Throws:
java.lang.Exception
Copyright © SoftSlate, LLC 20032010