org.squashtest.tm.service.execution
Interface ExecutionFinder

All Known Subinterfaces:
ExecutionModificationService
All Known Implementing Classes:
ExecutionModificationServiceImpl

@Transactional(readOnly=true)
public interface ExecutionFinder


Method Summary
 org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.execution.Execution>> findAllByTestCaseId(long testCaseId, org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
          Fetches all the executions which ran a given test case and matching the given paging and sorting instructions.
 List<org.squashtest.tm.domain.execution.Execution> findAllByTestCaseIdOrderByRunDate(long testCaseId, org.squashtest.tm.core.foundation.collection.Paging paging)
           
 org.squashtest.tm.domain.execution.Execution findById(long id)
           
 int findExecutionRank(Long executionId)
           
 org.squashtest.tm.domain.execution.ExecutionStep findExecutionStepById(long id)
           
 List<org.squashtest.tm.domain.execution.ExecutionStep> findExecutionSteps(long executionId)
           
 

Method Detail

findById

org.squashtest.tm.domain.execution.Execution findById(long id)

findExecutionSteps

List<org.squashtest.tm.domain.execution.ExecutionStep> findExecutionSteps(long executionId)

findExecutionStepById

org.squashtest.tm.domain.execution.ExecutionStep findExecutionStepById(long id)

findAllByTestCaseIdOrderByRunDate

List<org.squashtest.tm.domain.execution.Execution> findAllByTestCaseIdOrderByRunDate(long testCaseId,
                                                                                     org.squashtest.tm.core.foundation.collection.Paging paging)
Parameters:
testCaseId -
paging -
Returns:

findExecutionRank

int findExecutionRank(Long executionId)

findAllByTestCaseId

org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.execution.Execution>> findAllByTestCaseId(long testCaseId,
                                                                                                                                           org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
Fetches all the executions which ran a given test case and matching the given paging and sorting instructions.

Parameters:
testCaseId -
pas - Paging and sorting data, should not be null
Returns:
a PagedCollectionHolder holding the results. Should never return null


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.