Interface CategoryDAO
- All Superinterfaces:
DAOInterface
- All Known Implementing Classes:
CategoryDAOHibernate
Interface for a DAO to manage the
sscCategory table of the
database.- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteCategory(boolean commit) voidvoidinsertCategory(boolean commit) voidvoidvoidvoidvoidvoidsetCategory(Category category) voidvoidupdateCategory(boolean commit) voidupdateCategoryOrderByID(int categoryID, int categoryOrder) 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
-
getCategory
Category getCategory() -
setCategory
-
loadCategory
- Throws:
Exception
-
loadParents
- Throws:
Exception
-
loadSubcategories
- Throws:
Exception
-
loadCategoryFromID
- Throws:
Exception
-
insertCategory
- Throws:
Exception
-
insertCategory
- Throws:
Exception
-
updateCategory
- Throws:
Exception
-
updateCategory
- Throws:
Exception
-
updateCategoryOrderByID
- Throws:
Exception
-
deleteCategory
- Throws:
Exception
-
deleteCategory
- Throws:
Exception
-
loadSettings
- Throws:
Exception
-
loadCategoryFromCode
- Throws:
Exception
-