com.softslate.commerce.daos.product
Class ProductReviewDAOHibernate

java.lang.Object
  extended by com.softslate.commerce.daos.core.BaseDAO
      extended by com.softslate.commerce.daos.product.ProductReviewDAOHibernate
All Implemented Interfaces:
DAOInterface, ProductReviewDAO

public class ProductReviewDAOHibernate
extends BaseDAO
implements ProductReviewDAO

Generic DAO to manage the sscProductReview table of the database.

Author:
Tony Zakula

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  ProductReview productReview
           
 
Constructor Summary
ProductReviewDAOHibernate()
           
 
Method Summary
 void deleteProductReview(boolean commit)
           
 ProductReview getProductReview()
           
 void insertProductReview(boolean commit)
           
 void loadReviewFromID()
           
 void setProductReview(ProductReview productReview)
           
 void updateProductReview(boolean commit)
           
 
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, 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, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject
 

Field Detail

log

static org.apache.commons.logging.Log log

productReview

private ProductReview productReview
Constructor Detail

ProductReviewDAOHibernate

public ProductReviewDAOHibernate()
Method Detail

getProductReview

public ProductReview getProductReview()
Specified by:
getProductReview in interface ProductReviewDAO

setProductReview

public void setProductReview(ProductReview productReview)
Specified by:
setProductReview in interface ProductReviewDAO

loadReviewFromID

public void loadReviewFromID()
                      throws java.lang.Exception
Specified by:
loadReviewFromID in interface ProductReviewDAO
Throws:
java.lang.Exception

insertProductReview

public void insertProductReview(boolean commit)
                         throws DataAccessException
Specified by:
insertProductReview in interface ProductReviewDAO
Throws:
DataAccessException

updateProductReview

public void updateProductReview(boolean commit)
                         throws DataAccessException
Specified by:
updateProductReview in interface ProductReviewDAO
Throws:
DataAccessException

deleteProductReview

public void deleteProductReview(boolean commit)
                         throws DataAccessException
Specified by:
deleteProductReview in interface ProductReviewDAO
Throws:
DataAccessException


Copyright © SoftSlate, LLC 2003–2010