Interface ProductDAO
- All Superinterfaces:
DAOInterface
- All Known Implementing Classes:
ProductDAOHibernate
Interface for a DAO to manage the
sscProduct table of the
database.- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteProduct(boolean commit) editProductAssignment(Product product, Map parameters, BusinessObjectFactory businessObjectFactory) voidvoidinsertProduct(boolean commit) voidvoidvoidvoidvoidvoidvoidsetProduct(Product product) voidvoidupdateProduct(boolean commit) voidvoidupdateProductByCode(boolean commit) voidupdateProductOrderByID(int productID, int productOrder) 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
-
getProduct
Product getProduct() -
setProduct
-
loadProduct
- Throws:
Exception
-
loadProductFromSeoCode
- Throws:
Exception
-
loadProductFromID
- Throws:
Exception
-
loadAttributesAndOptions
- Throws:
Exception
-
deleteProduct
- Throws:
Exception
-
deleteProduct
- Throws:
Exception
-
insertProduct
- Throws:
Exception
-
insertProduct
- Throws:
Exception
-
updateProduct
- Throws:
Exception
-
updateProduct
- Throws:
Exception
-
updateProductOrderByID
- Throws:
Exception
-
updateProductByCode
- Throws:
Exception
-
updateProductByCode
- Throws:
Exception
-
loadSettings
- Throws:
Exception
-
loadProductFromCode
- Throws:
Exception
-
loadProductFromSeoCodeAdmin
- Throws:
Exception
-
editProductAssignment
Map editProductAssignment(Product product, Map parameters, BusinessObjectFactory businessObjectFactory) throws Exception - Throws:
Exception
-