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 npcSetting
database table.
The default "categoryProcessorImplementer" is
CategoryProcessor
.
- Author:
- David Tobey
loadAllCategories
public java.util.Collection loadAllCategories()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadActiveCategories
public java.util.Collection loadActiveCategories()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadCategoriesAndCount
public java.util.Map loadCategoriesAndCount(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
addCategory
public void addCategory(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadCategoryFromID
public java.util.Map loadCategoryFromID(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
editCategory
public void editCategory(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
editDeleteCategories
public void editDeleteCategories(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteCategory
public void deleteCategory(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadSettings
public java.util.Collection loadSettings(java.util.Map properties)
throws java.lang.Exception
- Throws:
java.lang.Exception
processSettings
public java.util.Collection processSettings(java.util.Map properties)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © SoftSlate, Inc. 20032005