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 TypeMethodDescriptionvoid
void
deleteCategory
(boolean commit) void
void
insertCategory
(boolean commit) void
void
void
void
void
void
setCategory
(Category category) void
void
updateCategory
(boolean commit) void
updateCategoryOrderByID
(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
-