Interface ProductGatewayDAO
- All Superinterfaces:
DAOInterface
- All Known Implementing Classes:
ProductGatewayDAOHibernate
Interface for a DAO that runs miscellaneous queries related to products and
categories.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionint
addCategoryAssociation
(String productCode, String categoryCode) editDeleteProducts
(Map parameters, BusinessObjectFactory bof) loadAllProductSettingsInRange
(int firstID, int lastID) loadAllProductsInRange
(int firstProductID, int lastProductID) int
int
loadProductList
(ProductList productList) loadProductsAndCount
(Map parameters) loadProductSettings
(Collection productIDs) loadProductsForCategories
(Collection categoryCodes, int firstProductID, int lastProductID) loadProductsForIndexing
(int firstProductID, int lastProductID) loadSkus
(Collection productIDs, Collection attributeIDs) processCategorySettings
(boolean commit, Map parameters) processCategorySettings
(Map parameters) processSettings
(boolean commit, Map parameters) processSettings
(Map parameters) int
removeCategoryAssociations
(String productCode) void
void
void
updateProductsActive
(boolean commit, Collection productIDs, boolean isActive) void
updateProductsActive
(Collection productIDs, boolean isActive) void
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
-
loadCategoryTree
- Throws:
Exception
-
loadProductList
- Throws:
Exception
-
loadProductsAndCount
- Throws:
Exception
-
editDeleteProducts
- Throws:
Exception
-
loadAllProducts
- Throws:
Exception
-
loadMaxProductID
- Throws:
Exception
-
loadProductsForIndexing
- Throws:
Exception
-
loadAllProductsSortedByName
- Throws:
Exception
-
loadAllProductsSortedByCode
- Throws:
Exception
-
loadProductCount
- Throws:
DataAccessException
-
loadAllProductNamesCodesIDs
- Throws:
Exception
-
loadActiveProductNamesCodesIDs
- Throws:
Exception
-
processSettings
- Throws:
Exception
-
processSettings
- Throws:
Exception
-
processCategorySettings
- Throws:
Exception
-
processCategorySettings
- Throws:
Exception
-
loadProductSettings
- Throws:
Exception
-
loadSkus
- Throws:
Exception
-
updateProductsActive
- Throws:
Exception
-
updateProductsActive
- Throws:
Exception
-
loadAttributeSKUs
- Throws:
Exception
-
updateProductCategoryOrders
- Throws:
DataAccessException
-
updateProductAttributeOrders
- Throws:
DataAccessException
-
updateRelatedProductOrders
- Throws:
DataAccessException
-
loadAllProductsInRange
- Throws:
Exception
-
loadProductsForCategories
Collection loadProductsForCategories(Collection categoryCodes, int firstProductID, int lastProductID) throws Exception - Throws:
Exception
-
loadMaxProductSettingID
- Throws:
Exception
-
loadAllProductSettingsInRange
- Throws:
Exception
-
removeCategoryAssociations
- Throws:
Exception
-
addCategoryAssociation
- Throws:
Exception
-