org.squashtest.tm.service.internal.repository.hibernate
@Repository public class HibernateExecutionDao extends HibernateEntityDao<org.squashtest.tm.domain.execution.Execution> implements ExecutionDao
entityType| Constructor and Description |
|---|
HibernateExecutionDao() |
| Modifier and Type | Method and Description |
|---|---|
long |
countByTestCaseId(long testCaseId)
Returns the count of executions which ran a given test case.
|
long |
countExecutionSteps(long executionId)
(non-Javadoc)
|
long |
countReady(long executionId) |
long |
countSuccess(long executionId) |
List<org.squashtest.tm.domain.execution.Execution> |
findAllByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
Returns the executions which ran the given test case using the given paging and sorting data
|
List<org.squashtest.tm.domain.execution.Execution> |
findAllByTestCaseIdOrderByRunDate(long testCaseId,
org.squashtest.tm.core.foundation.collection.Paging paging) |
List<org.squashtest.tm.domain.bugtracker.IssueDetector> |
findAllIssueDetectorsForExecution(Long execId) |
org.squashtest.tm.domain.execution.Execution |
findAndInit(long executionId) |
int |
findExecutionRank(long executionId) |
List<org.squashtest.tm.domain.execution.ExecutionStep> |
findExecutionSteps(long executionId) |
List<org.squashtest.tm.domain.execution.ExecutionStep> |
findStepsFiltered(Long executionId,
org.squashtest.tm.core.foundation.collection.Paging filter) |
org.squashtest.tm.domain.execution.ExecutionStatusReport |
getStatusReport(long executionId) |
boolean |
wasNeverRan(Long executionId)
Tells whether the execution is fresh new or not.
|
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyNameclearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllByIds, findByIdclearFromCache, clearFromCache, flush, persist, persist, remove, removeAllpublic List<org.squashtest.tm.domain.execution.ExecutionStep> findExecutionSteps(long executionId)
findExecutionSteps in interface ExecutionDaopublic org.squashtest.tm.domain.execution.Execution findAndInit(long executionId)
findAndInit in interface ExecutionDaopublic int findExecutionRank(long executionId)
findExecutionRank in interface ExecutionDaopublic org.squashtest.tm.domain.execution.ExecutionStatusReport getStatusReport(long executionId)
getStatusReport in interface ExecutionDaopublic long countSuccess(long executionId)
countSuccess in interface ExecutionDaopublic long countReady(long executionId)
countReady in interface ExecutionDaopublic List<org.squashtest.tm.domain.execution.ExecutionStep> findStepsFiltered(Long executionId, org.squashtest.tm.core.foundation.collection.Paging filter)
findStepsFiltered in interface ExecutionDaopublic List<org.squashtest.tm.domain.bugtracker.IssueDetector> findAllIssueDetectorsForExecution(Long execId)
findAllIssueDetectorsForExecution in interface ExecutionDaopublic long countExecutionSteps(long executionId)
countExecutionSteps in interface ExecutionDaoExecutionDao.countExecutionSteps(long)public List<org.squashtest.tm.domain.execution.Execution> findAllByTestCaseIdOrderByRunDate(long testCaseId, org.squashtest.tm.core.foundation.collection.Paging paging)
findAllByTestCaseIdOrderByRunDate in interface ExecutionDaoorg.squashtest.tm.service.internal.repository.ExecutionDao#findAllByTestCaseIdOrderByRunDate(long, org.squashtest.csp.core.infrastructure.collection.Paging)public List<org.squashtest.tm.domain.execution.Execution> findAllByTestCaseId(long testCaseId, org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
ExecutionDaofindAllByTestCaseId in interface ExecutionDaopas - non null paging and sorting datapublic long countByTestCaseId(long testCaseId)
ExecutionDaocountByTestCaseId in interface ExecutionDaopublic boolean wasNeverRan(Long executionId)
ExecutionDaowasNeverRan in interface ExecutionDaoCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.