org.squashtest.csp.tm.service
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<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<Execution> findAllByTestCaseIdOrderByRunDate(long testCaseId, org.squashtest.tm.core.foundation.collection.Paging paging)
           
 Execution findById(long id)
           
 int findExecutionRank(Long executionId)
           
 ExecutionStep findExecutionStepById(long id)
           
 List<ExecutionStep> findExecutionSteps(long executionId)
           
 

Method Detail

findById

Execution findById(long id)

findExecutionSteps

List<ExecutionStep> findExecutionSteps(long executionId)

findExecutionStepById

ExecutionStep findExecutionStepById(long id)

findAllByTestCaseIdOrderByRunDate

List<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<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 FilteredCollectionHolder holding the results. Should never return null


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