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
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor |
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils |
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
java.util.Map 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
java.util.Map editCategory(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
editDeleteCategories
java.util.Map editDeleteCategories(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteCategory
java.util.Map 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
sortCategoriesByCode
java.util.Map sortCategoriesByCode(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadMaxCategoryID
int loadMaxCategoryID()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadCategoriesForIndexing
java.util.Collection loadCategoriesForIndexing(int firstCategoryID,
int lastCategoryID)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © SoftSlate, LLC 20032005