Class ProductReviewDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.ProductReviewDAOHibernate
- All Implemented Interfaces:
DAOInterface
,ProductReviewDAO
Generic DAO to manage the
sscProductReview
table of the
database.- Author:
- Tony Zakula
-
Field Summary
Modifier and TypeFieldDescription(package private) static org.apache.commons.logging.Log
private ProductReview
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteProductReview
(boolean commit) void
insertProductReview
(boolean commit) void
void
setProductReview
(ProductReview productReview) void
updateProductReview
(boolean commit) Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, doWorkToSetConnection, editAssignment, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getInjector, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, setSettings, setSqlMap, updateObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Field Details
-
log
static org.apache.commons.logging.Log log -
productReview
-
-
Constructor Details
-
ProductReviewDAOHibernate
public ProductReviewDAOHibernate()
-
-
Method Details
-
getProductReview
- Specified by:
getProductReview
in interfaceProductReviewDAO
-
setProductReview
- Specified by:
setProductReview
in interfaceProductReviewDAO
-
loadReviewFromID
- Specified by:
loadReviewFromID
in interfaceProductReviewDAO
- Throws:
Exception
-
insertProductReview
- Specified by:
insertProductReview
in interfaceProductReviewDAO
- Throws:
DataAccessException
-
updateProductReview
- Specified by:
updateProductReview
in interfaceProductReviewDAO
- Throws:
DataAccessException
-
deleteProductReview
- Specified by:
deleteProductReview
in interfaceProductReviewDAO
- Throws:
DataAccessException
-