Interface CategoryProcessor
- All Superinterfaces:
BusinessObject
,BusinessProcessor
- All Known Implementing Classes:
BasicCategoryProcessor
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
Modifier and TypeMethodDescriptionaddCategory
(Map parameters) deleteCategory
(Map parameters) editCategory
(Map parameters) editDeleteCategories
(Map parameters) loadCategoriesAndCount
(Map parameters) loadCategoriesForIndexing
(int firstCategoryID, int lastCategoryID) loadCategoryFromCode
(Map parameters) loadCategoryFromID
(Map parameters) int
loadSettings
(Map properties) processSettings
(Map properties) sortCategoriesByCode
(Map parameters) sortCategoriesByName
(Map parameters) Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Method Details
-
loadAllCategories
- Throws:
Exception
-
loadCategoriesAndCount
- Throws:
Exception
-
addCategory
- Throws:
Exception
-
loadCategoryFromID
- Throws:
Exception
-
loadCategoryFromCode
- Throws:
Exception
-
editCategory
- Throws:
Exception
-
editDeleteCategories
- Throws:
Exception
-
deleteCategory
- Throws:
Exception
-
loadSettings
- Throws:
Exception
-
processSettings
- Throws:
Exception
-
sortCategoriesByName
- Throws:
Exception
-
sortCategoriesByCode
- Throws:
Exception
-
loadMaxCategoryID
- Throws:
Exception
-
loadCategoriesForIndexing
- Throws:
Exception
-