com.softslate.commerce.businessobjects.product
Interface CategoryProcessor

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

public interface CategoryProcessor
extends BusinessProcessor

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

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

The default "categoryProcessorImplementer" is CategoryProcessor.

Author:
David Tobey

Method Summary
 void addCategory(java.util.Map parameters)
           
 void deleteCategory(java.util.Map parameters)
           
 void editCategory(java.util.Map parameters)
           
 void editDeleteCategories(java.util.Map parameters)
           
 java.util.Collection loadAllCategories()
           
 java.util.Map loadCategoriesAndCount(java.util.Map parameters)
           
 Category loadCategoryFromID(java.util.Map parameters)
           
 java.util.Collection loadSettings(java.util.Map properties)
           
 java.util.Collection processSettings(java.util.Map properties)
           
 java.util.Map sortCategoriesByName(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

loadAllCategories

java.util.Collection loadAllCategories()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

loadCategoriesAndCount

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

addCategory

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

loadCategoryFromID

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

editCategory

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

editDeleteCategories

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

deleteCategory

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

loadSettings

java.util.Collection loadSettings(java.util.Map properties)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

processSettings

java.util.Collection processSettings(java.util.Map properties)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

sortCategoriesByName

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


Copyright ? SoftSlate, LLC 2003?2005