com.softslate.commerce.daos.product
Interface CategoryGatewayDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
CategoryGatewayDAOHibernate

public interface CategoryGatewayDAO
extends DAOInterface

Interface for a DAO that runs miscellaneous queries related to categories.

Author:
David Tobey

Method Summary
 void editDeleteCategories(java.util.Map parameters, BusinessObjectFactory bof)
           
 java.util.Collection loadAllCategories()
           
 java.util.Collection loadAllCategoriesInRange(int firstID, int lastID)
           
 java.util.Collection loadAllCategoriesSortedByCode()
           
 java.util.Collection loadAllCategoriesSortedByName()
           
 java.util.Map loadCategoriesAndCount(java.util.Map parameters)
           
 java.util.Collection loadCategoriesForIndexing(int firstCategoryID, int lastCategoryID)
           
 int loadMaxCategoryID()
           
 void updateNullifyParentIDs(java.lang.String[] parentCategoryIDs)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
deleteObject, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject
 

Method Detail

loadCategoriesAndCount

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

editDeleteCategories

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

loadAllCategories

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

loadAllCategoriesSortedByName

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

loadAllCategoriesSortedByCode

java.util.Collection loadAllCategoriesSortedByCode()
                                                   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

updateNullifyParentIDs

void updateNullifyParentIDs(java.lang.String[] parentCategoryIDs)
                            throws java.lang.Exception
Throws:
java.lang.Exception

loadAllCategoriesInRange

java.util.Collection loadAllCategoriesInRange(int firstID,
                                              int lastID)
                                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, LLC 2003–2005