@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) |
boolean |
exists(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<Long> |
findAllExecutionIdHavingStepWithStatus(Long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus source) |
List<org.squashtest.tm.domain.execution.ExecutionStep> |
findAllExecutionStepsWithStatus(Long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus) |
List<org.squashtest.tm.domain.bugtracker.IssueDetector> |
findAllIssueDetectorsForExecution(Long execId) |
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> |
findAllIterationTestPlanItemsWithStatus(Long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus) |
org.squashtest.tm.domain.execution.Execution |
findAndInit(long executionId) |
int |
findExecutionRank(long executionId) |
List<org.squashtest.tm.domain.execution.ExecutionStep> |
findExecutionSteps(Collection<Long> executionIds) |
List<org.squashtest.tm.domain.execution.ExecutionStep> |
findExecutionSteps(long executionId) |
List<Long> |
findOriginalStepIds(long executionId) |
List<org.squashtest.tm.domain.testcase.ActionTestStep> |
findOriginalSteps(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 |
projectUsesExecutionStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus) |
void |
replaceExecutionStepStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus oldStatus,
org.squashtest.tm.domain.execution.ExecutionStatus newStatus) |
void |
replaceTestPlanStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus oldStatus,
org.squashtest.tm.domain.execution.ExecutionStatus newStatus) |
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 List<org.squashtest.tm.domain.execution.ExecutionStep> findExecutionSteps(Collection<Long> executionIds)
findExecutionSteps in interface ExecutionDaopublic List<org.squashtest.tm.domain.testcase.ActionTestStep> findOriginalSteps(long executionId)
findOriginalSteps in interface ExecutionDaopublic List<Long> findOriginalStepIds(long executionId)
findOriginalStepIds 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.execution.ExecutionStep> findAllExecutionStepsWithStatus(Long projectId, org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
findAllExecutionStepsWithStatus in interface ExecutionDaopublic List<Long> findAllExecutionIdHavingStepWithStatus(Long projectId, org.squashtest.tm.domain.execution.ExecutionStatus source)
findAllExecutionIdHavingStepWithStatus in interface ExecutionDaopublic List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findAllIterationTestPlanItemsWithStatus(Long projectId, org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
findAllIterationTestPlanItemsWithStatus in interface ExecutionDaopublic boolean projectUsesExecutionStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus executionStatus)
projectUsesExecutionStatus in interface ExecutionDaopublic void replaceExecutionStepStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus oldStatus,
org.squashtest.tm.domain.execution.ExecutionStatus newStatus)
replaceExecutionStepStatus in interface ExecutionDaopublic void replaceTestPlanStatus(long projectId,
org.squashtest.tm.domain.execution.ExecutionStatus oldStatus,
org.squashtest.tm.domain.execution.ExecutionStatus newStatus)
replaceTestPlanStatus 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 ExecutionDaopublic boolean exists(long executionId)
exists in interface ExecutionDaoCopyright © 2010–2016 Henix, henix.fr. All rights reserved.