Interface CategoryGatewayDAO
- All Superinterfaces:
DAOInterface
- All Known Implementing Classes:
CategoryGatewayDAOHibernate
Interface for a DAO that runs miscellaneous queries related to categories.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptioneditDeleteCategories
(Map parameters, BusinessObjectFactory bof) loadAllCategoriesInRange
(int firstID, int lastID) loadAllCategoriesSortedByCode
(boolean isContentPage) loadAllCategoriesSortedByName
(boolean isContentPage) loadCategoriesAndCount
(Map parameters) loadCategoriesForIndexing
(int firstCategoryID, int lastCategoryID) int
loadSubcategoriesSortedByCode
(boolean isContentPage, int parentCategory) loadSubcategoriesSortedByName
(boolean isContentPage, int parentCategory) void
updateNullifyParentIDs
(String[] parentCategoryIDs) Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
deleteObject, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getInjector, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap, updateObject
-
Method Details
-
loadCategoriesAndCount
- Throws:
Exception
-
editDeleteCategories
- Throws:
Exception
-
loadAllCategories
- Throws:
Exception
-
loadAllCategoriesSortedByName
- Throws:
Exception
-
loadSubcategoriesSortedByName
Collection loadSubcategoriesSortedByName(boolean isContentPage, int parentCategory) throws Exception - Throws:
Exception
-
loadAllCategoriesSortedByCode
- Throws:
Exception
-
loadSubcategoriesSortedByCode
Collection loadSubcategoriesSortedByCode(boolean isContentPage, int parentCategory) throws Exception - Throws:
Exception
-
loadMaxCategoryID
- Throws:
Exception
-
loadCategoriesForIndexing
- Throws:
Exception
-
updateNullifyParentIDs
- Throws:
Exception
-
loadAllCategoriesInRange
- Throws:
Exception
-