com.softslate.commerce.businessobjects.product
Class BasicOptionProcessor

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
          extended by 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
           
 
Constructor Summary
BasicOptionProcessor()
           
 
Method Summary
 void addOption(java.util.Map parameters)
           
 void deleteOption(java.util.Map parameters)
           
 void editDeleteOptions(java.util.Map parameters)
           
 void editOption(java.util.Map parameters)
           
 Option loadOptionFromID(java.util.Map parameters)
           
 java.util.Map loadOptionsAndCount(java.util.Map parameters)
           
 
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, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, 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
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

BasicOptionProcessor

public BasicOptionProcessor()
Method Detail

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 void 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 void editOption(java.util.Map parameters)
                throws java.lang.Exception
Specified by:
editOption in interface OptionProcessor
Throws:
java.lang.Exception

editDeleteOptions

public void editDeleteOptions(java.util.Map parameters)
                       throws java.lang.Exception
Specified by:
editDeleteOptions in interface OptionProcessor
Throws:
java.lang.Exception

deleteOption

public void deleteOption(java.util.Map parameters)
                  throws java.lang.Exception
Specified by:
deleteOption in interface OptionProcessor
Throws:
java.lang.Exception


Copyright ? SoftSlate, LLC 2003?2005