com.softslate.commerce.businessobjects.product
Interface OptionProcessor

All Superinterfaces:
BusinessObject, BusinessProcessor
All Known Implementing Classes:
BasicOptionProcessor

public interface OptionProcessor
extends BusinessProcessor

Interface for business logic methods having to do with options. Created in the Struts layer in response to requests for viewing, editing, adding, and deleting options.

When the application needs to create an instance that implements OptionProcessor, BusinessObjectFactory finds the name of the Java class to instantiate from the "optionProcessorImplementer" setting in the appComponents.properties file.

The default "optionProcessorImplementer" is OptionProcessor.

Author:
David Tobey

Method Summary
 java.util.Map addOption(java.util.Map parameters)
           
 java.util.Map deleteOption(java.util.Map parameters)
           
 java.util.Map editDeleteOptions(java.util.Map parameters)
           
 java.util.Map editOption(java.util.Map parameters)
           
 int loadMaxOptionID()
           
 Option loadOptionFromID(java.util.Map parameters)
           
 java.util.Map loadOptionsAndCount(java.util.Map parameters)
           
 
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
 

Method Detail

loadOptionsAndCount

java.util.Map loadOptionsAndCount(java.util.Map parameters)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

addOption

java.util.Map addOption(java.util.Map parameters)
                        throws java.lang.Exception
Throws:
java.lang.Exception

loadOptionFromID

Option loadOptionFromID(java.util.Map parameters)
                        throws java.lang.Exception
Throws:
java.lang.Exception

editOption

java.util.Map editOption(java.util.Map parameters)
                         throws java.lang.Exception
Throws:
java.lang.Exception

editDeleteOptions

java.util.Map editDeleteOptions(java.util.Map parameters)
                                throws java.lang.Exception
Throws:
java.lang.Exception

deleteOption

java.util.Map deleteOption(java.util.Map parameters)
                           throws java.lang.Exception
Throws:
java.lang.Exception

loadMaxOptionID

int loadMaxOptionID()
                    throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, LLC 2003–2005