org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateExecutionDao

java.lang.Object
  extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
      extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<Execution>
          extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateExecutionDao
All Implemented Interfaces:
EntityDao<Execution>, ExecutionDao

@Repository
public class HibernateExecutionDao
extends HibernateEntityDao<Execution>
implements ExecutionDao


Field Summary
 
Fields inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao
entityType
 
Constructor Summary
HibernateExecutionDao()
           
 
Method Summary
 Integer countReady(long executionId)
           
 Integer countSuccess(long executionId)
           
 Execution findAndInit(long executionId)
           
 int findExecutionRank(long executionId)
           
 List<ExecutionStep> findExecutionSteps(long executionId)
           
 ExecutionStep findLastStep(long executionId)
           
 List<ExecutionStep> findStepsFiltered(Long executionId, CollectionFilter filter)
           
 ExecutionStatusReport getStatusReport(long executionId)
           
 
Methods inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao
findAllByIdList, findById, flush, getIdPropertyName, persist, persist, remove
 
Methods inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao
currentSession, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, getEntity, persistEntity, removeEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.squashtest.csp.tm.internal.repository.EntityDao
findAllByIdList, findById, flush, persist, persist, remove
 

Constructor Detail

HibernateExecutionDao

public HibernateExecutionDao()
Method Detail

findExecutionSteps

public List<ExecutionStep> findExecutionSteps(long executionId)
Specified by:
findExecutionSteps in interface ExecutionDao

findAndInit

public Execution findAndInit(long executionId)
Specified by:
findAndInit in interface ExecutionDao

findLastStep

public ExecutionStep findLastStep(long executionId)
Specified by:
findLastStep in interface ExecutionDao

findExecutionRank

public int findExecutionRank(long executionId)
Specified by:
findExecutionRank in interface ExecutionDao

getStatusReport

public ExecutionStatusReport getStatusReport(long executionId)
Specified by:
getStatusReport in interface ExecutionDao

countSuccess

public Integer countSuccess(long executionId)
Specified by:
countSuccess in interface ExecutionDao

countReady

public Integer countReady(long executionId)
Specified by:
countReady in interface ExecutionDao

findStepsFiltered

public List<ExecutionStep> findStepsFiltered(Long executionId,
                                             CollectionFilter filter)
Specified by:
findStepsFiltered in interface ExecutionDao


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.