org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateExecutionDao
java.lang.Object
org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<Execution>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateExecutionDao
- All Implemented Interfaces:
- EntityDao<Execution>, ExecutionDao
@Repository
public class HibernateExecutionDao
- extends HibernateEntityDao<Execution>
- implements ExecutionDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateExecutionDao
public HibernateExecutionDao()
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
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,
org.squashtest.tm.core.foundation.collection.Paging filter)
- Specified by:
findStepsFiltered in interface ExecutionDao
findAllIssueDetectorsForExecution
public List<IssueDetector> findAllIssueDetectorsForExecution(Long execId)
- Specified by:
findAllIssueDetectorsForExecution in interface ExecutionDao
countExecutionSteps
public long countExecutionSteps(long executionId)
- (non-Javadoc)
- Specified by:
countExecutionSteps in interface ExecutionDao
- See Also:
ExecutionDao.countExecutionSteps(long)
findAllByTestCaseIdOrderByRunDate
public List<Execution> findAllByTestCaseIdOrderByRunDate(long testCaseId,
org.squashtest.tm.core.foundation.collection.Paging paging)
- Specified by:
findAllByTestCaseIdOrderByRunDate in interface ExecutionDao
- Returns:
- See Also:
org.squashtest.csp.tm.internal.repository.ExecutionDao#findAllByTestCaseIdOrderByRunDate(long, org.squashtest.csp.core.infrastructure.collection.Paging)
findAllByTestCaseId
public List<Execution> findAllByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
- Description copied from interface:
ExecutionDao
- Returns the executions which ran the given test case using the given paging and sorting data
- Specified by:
findAllByTestCaseId in interface ExecutionDao
pas - non null paging and sorting data
- Returns:
- non null list of executions
countByTestCaseId
public long countByTestCaseId(long testCaseId)
- Description copied from interface:
ExecutionDao
- Returns the count of executions which ran a given test case.
- Specified by:
countByTestCaseId in interface ExecutionDao
- Returns:
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.