com.rapidtransform.product.dao.hibernate
Class ProductDAOHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by com.rapidtransform.core.dao.hibernate.GenericDAOHibernate<Product,java.lang.Long>
              extended by com.rapidtransform.product.dao.hibernate.ProductDAOHibernate
All Implemented Interfaces:
DAO, GenericDAO<Product,java.lang.Long>, ProductDAO, org.springframework.beans.factory.InitializingBean

public class ProductDAOHibernate
extends GenericDAOHibernate<Product,java.lang.Long>
implements ProductDAO

Author:
Steve Werner

Constructor Summary
ProductDAOHibernate()
           
 
Method Summary
 java.util.Collection<Document> getDocuments(QName relationQname, java.lang.String productId)
           
 java.util.Collection<ItemVersion> getItems(QName relationQname, java.lang.String productId)
           
 java.util.Collection<Product> getRelatedProducts(QName relationQname, java.lang.String productId)
           
 java.util.Collection<Specification> getSpecifications(QName relationQname, java.lang.String productId)
           
 
Methods inherited from class com.rapidtransform.core.dao.hibernate.GenericDAOHibernate
findAll, findById, findByType, getPersistentClass, remove, save, setPersistentClass
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.rapidtransform.core.dao.GenericDAO
findAll, findById, findByType, remove, save
 

Constructor Detail

ProductDAOHibernate

public ProductDAOHibernate()
Method Detail

getSpecifications

public java.util.Collection<Specification> getSpecifications(QName relationQname,
                                                             java.lang.String productId)
                                                      throws org.springframework.dao.DataAccessException
Specified by:
getSpecifications in interface ProductDAO
Throws:
org.springframework.dao.DataAccessException

getDocuments

public java.util.Collection<Document> getDocuments(QName relationQname,
                                                   java.lang.String productId)
                                            throws org.springframework.dao.DataAccessException
Specified by:
getDocuments in interface ProductDAO
Throws:
org.springframework.dao.DataAccessException

getItems

public java.util.Collection<ItemVersion> getItems(QName relationQname,
                                                  java.lang.String productId)
                                           throws org.springframework.dao.DataAccessException
Specified by:
getItems in interface ProductDAO
Throws:
org.springframework.dao.DataAccessException

getRelatedProducts

public java.util.Collection<Product> getRelatedProducts(QName relationQname,
                                                        java.lang.String productId)
                                                 throws org.springframework.dao.DataAccessException
Specified by:
getRelatedProducts in interface ProductDAO
Throws:
org.springframework.dao.DataAccessException