com.ebmwebsourcing.petalsview.persistence.dao.flow
Class FlowDAOImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
com.ebmwebsourcing.webcommons.persistence.dao.GenericHibernateDAOImpl<Flow,java.lang.Long>
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
| Fields inherited from class com.ebmwebsourcing.webcommons.persistence.dao.GenericHibernateDAOImpl |
type |
|
Constructor Summary |
FlowDAOImpl(org.hibernate.SessionFactory factory)
|
| 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 |
FlowDAOImpl
public FlowDAOImpl(@Qualifier(value="sessionFactory")
org.hibernate.SessionFactory factory)
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
getFlowsByDateAndType
public java.util.List<Flow> getFlowsByDateAndType(long date,
int type)
- Specified by:
getFlowsByDateAndType in interface FlowDAO
Copyright © 2010 eBMWebsourcing. All Rights Reserved.