org.ow2.petals.flowwatch.flowmanager.dao
Class FlowDAO

java.lang.Object
  extended by com.trg.dao.hibernate.HibernateBaseDAO
      extended by com.trg.dao.hibernate.GenericDAOImpl<T,ID>
          extended by org.ow2.petals.flowwatch.flowmanager.dao.AbstractFlowDAO<Flow,java.lang.String>
              extended by org.ow2.petals.flowwatch.flowmanager.dao.FlowDAO
All Implemented Interfaces:
com.trg.dao.hibernate.GenericDAO<Flow,java.lang.String>

public class FlowDAO
extends AbstractFlowDAO<Flow,java.lang.String>


Field Summary
 
Fields inherited from class com.trg.dao.hibernate.GenericDAOImpl
persistentClass
 
Constructor Summary
FlowDAO()
           
 
Method Summary
 int countAllFlows(java.util.Date after, java.util.Date before, RequestOptions requestOptions)
           
 int countAllFlowsByType(java.util.Date after, java.util.Date before, java.util.List<GlobalFlowParam> globalParams, short flowType, RequestOptions requestOptions)
           
 java.util.List<Flow> getAllFlows(java.util.Date after, java.util.Date before, RequestOptions requestOptions)
           
 java.util.List<FlowWithParams> getAllFlowsByType(java.util.Date after, java.util.Date before, java.util.List<GlobalFlowParam> globalParams, short flowType, RequestOptions requestOptions)
           
 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)
           
 Flow loadByPetalsId(java.lang.String petalsId)
           
 java.util.List<Flow> loadByType(int type)
           
 
Methods inherited from class com.trg.dao.hibernate.GenericDAOImpl
count, find, find, findAll, flush, getFilterFromExample, getFilterFromExample, getReference, getReferences, isAttached, refresh, remove, remove, removeById, removeByIds, save, save, search, searchAndCount, searchGeneric, searchUnique, searchUniqueGeneric
 
Methods inherited from class com.trg.dao.hibernate.HibernateBaseDAO
_all, _count, _count, _count, _deleteById, _deleteById, _deleteEntities, _deleteEntity, _exists, _exists, _exists, _flush, _get, _get, _getFilterFromExample, _getFilterFromExample, _load, _load, _load, _merge, _persist, _refresh, _save, _save, _saveOrUpdate, _saveOrUpdateIsNew, _saveOrUpdateIsNew, _search, _search, _searchAndCount, _searchAndCount, _searchUnique, _searchUnique, _sessionContains, _update, getMetaDataUtil, getSearchProcessor, getSession, getSessionFactory, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowDAO

public FlowDAO()
Method Detail

loadByPetalsId

public Flow loadByPetalsId(java.lang.String petalsId)

loadAllStarted

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

loadByType

public java.util.List<Flow> loadByType(int type)

loadAllStartedByType

public java.util.List<Flow> loadAllStartedByType(int type)

loadAllStartedByTypeWithDateFilter

public java.util.List<Flow> loadAllStartedByTypeWithDateFilter(int type,
                                                               java.util.Date after,
                                                               java.util.Date before)

countAllFlows

public int countAllFlows(java.util.Date after,
                         java.util.Date before,
                         RequestOptions requestOptions)

countAllFlowsByType

public int countAllFlowsByType(java.util.Date after,
                               java.util.Date before,
                               java.util.List<GlobalFlowParam> globalParams,
                               short flowType,
                               RequestOptions requestOptions)

getAllFlows

public java.util.List<Flow> getAllFlows(java.util.Date after,
                                        java.util.Date before,
                                        RequestOptions requestOptions)

getAllFlowsByType

public java.util.List<FlowWithParams> getAllFlowsByType(java.util.Date after,
                                                        java.util.Date before,
                                                        java.util.List<GlobalFlowParam> globalParams,
                                                        short flowType,
                                                        RequestOptions requestOptions)


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.