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 TypeMethodDescriptionvoid
void
deleteProduct
(boolean commit) editProductAssignment
(Product product, Map parameters, BusinessObjectFactory businessObjectFactory) void
void
insertProduct
(boolean commit) void
void
void
void
void
void
void
setProduct
(Product product) void
void
updateProduct
(boolean commit) void
void
updateProductByCode
(boolean commit) void
updateProductOrderByID
(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
-