com.rapidtransform.part.dao.hibernate
Class ItemVersionDAOHibernate

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<ItemVersion,java.lang.Long>
              extended by com.rapidtransform.part.dao.hibernate.ItemVersionDAOHibernate
All Implemented Interfaces:
DAO, GenericDAO<ItemVersion,java.lang.Long>, ItemVersionDAO, org.springframework.beans.factory.InitializingBean

public class ItemVersionDAOHibernate
extends GenericDAOHibernate<ItemVersion,java.lang.Long>
implements ItemVersionDAO

Author:
S. Werner

Constructor Summary
ItemVersionDAOHibernate()
           
 
Method Summary
 java.util.Collection<Document> getDocuments(QName relationQname, java.lang.String itemId)
           
 java.util.Collection<Product> getProducts(QName relationQname, java.lang.String itemId)
           
 java.util.Collection<ItemVersion> getRelatedItems(QName relationQname, java.lang.String itemId)
           
 java.util.Collection<Specification> getSpecifications(QName relationQname, java.lang.String itemId)
           
 
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

ItemVersionDAOHibernate

public ItemVersionDAOHibernate()
Method Detail

getSpecifications

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

getDocuments

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

getRelatedItems

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

getProducts

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