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
 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 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

void 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

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

editDeleteOptions

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

deleteOption

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


Copyright ? SoftSlate, LLC 2003?2005