com.ebmwebsourcing.petalsview.persistence.dao.flow
Class FlowDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by com.ebmwebsourcing.webcommons.persistence.dao.GenericHibernateDAOImpl<Flow,java.lang.Long>
              extended by com.ebmwebsourcing.petalsview.persistence.dao.flow.FlowDAOImpl
All Implemented Interfaces:
FlowDAO, com.ebmwebsourcing.webcommons.persistence.dao.GenericORMDAO<Flow,java.lang.Long>, org.springframework.beans.factory.InitializingBean

@Repository(value="flowDAO")
public class FlowDAOImpl
extends com.ebmwebsourcing.webcommons.persistence.dao.GenericHibernateDAOImpl<Flow,java.lang.Long>
implements FlowDAO


Field Summary
 
Fields inherited from class com.ebmwebsourcing.webcommons.persistence.dao.GenericHibernateDAOImpl
type
 
Constructor Summary
FlowDAOImpl(org.hibernate.SessionFactory factory)
           
 
Method Summary
 java.util.List<Flow> loadAll()
           
 java.util.List<Flow> loadAll2()
           
 java.util.List<Flow> loadAllStarted()
           
 java.util.List<Flow> loadAllStartedByType(int type)
           
 java.util.List<Flow> loadAllStartedByTypeWithDateFilter(int type, java.util.Date after, java.util.Date before)
           
 java.util.List<Flow> loadAllStartedWithDateFilter(java.util.Date startDate, java.util.Date endDate)
           
 java.util.List<Flow> loadAllStartedWithDateFilter2(java.util.Date startDate, java.util.Date endDate)
           
 Flow loadByPetalsId(java.lang.String petalsId)
           
 java.util.List<Flow> loadByType(int type)
           
 java.util.List<Flow> loadUnknowsFlow(java.util.List<java.lang.Integer> types)
           
 
Methods inherited from class com.ebmwebsourcing.webcommons.persistence.dao.GenericHibernateDAOImpl
count, exists, findByNamedQuery, get, getAll, getAll, getAll, getAll, getAllDistinct, getFullTextSession, getLocalSessionFactoryBean, getManipulatedType, remove, remove, removeAll, save, search, searchAndCount, searchEquals, searchLike, searchLucene, searchLucene, searchUnique, setLocalSessionFactoryBean, setType
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.webcommons.persistence.dao.GenericORMDAO
count, exists, findByNamedQuery, get, getAll, getAll, getAll, getAll, getAllDistinct, getFullTextSession, getManipulatedType, remove, remove, removeAll, save, search, searchAndCount, searchEquals, searchLike, searchLucene, searchLucene, searchUnique
 

Constructor Detail

FlowDAOImpl

public FlowDAOImpl(@Qualifier(value="sessionFactory")
                   org.hibernate.SessionFactory factory)
Method Detail

loadByPetalsId

public Flow loadByPetalsId(java.lang.String petalsId)
Specified by:
loadByPetalsId in interface FlowDAO

loadAllStarted

public java.util.List<Flow> loadAllStarted()
Specified by:
loadAllStarted in interface FlowDAO

loadByType

public java.util.List<Flow> loadByType(int type)
Specified by:
loadByType in interface FlowDAO

loadUnknowsFlow

public java.util.List<Flow> loadUnknowsFlow(java.util.List<java.lang.Integer> types)
Specified by:
loadUnknowsFlow in interface FlowDAO

loadAllStartedByType

public java.util.List<Flow> loadAllStartedByType(int type)
Specified by:
loadAllStartedByType in interface FlowDAO

loadAll

public java.util.List<Flow> loadAll()
Specified by:
loadAll in interface FlowDAO

loadAll2

public java.util.List<Flow> loadAll2()

loadAllStartedWithDateFilter

public java.util.List<Flow> loadAllStartedWithDateFilter(java.util.Date startDate,
                                                         java.util.Date endDate)
Specified by:
loadAllStartedWithDateFilter in interface FlowDAO

loadAllStartedWithDateFilter2

public java.util.List<Flow> loadAllStartedWithDateFilter2(java.util.Date startDate,
                                                          java.util.Date endDate)

loadAllStartedByTypeWithDateFilter

public java.util.List<Flow> loadAllStartedByTypeWithDateFilter(int type,
                                                               java.util.Date after,
                                                               java.util.Date before)
Specified by:
loadAllStartedByTypeWithDateFilter in interface FlowDAO


Copyright © 2010 eBMWebsourcing. All Rights Reserved.