org.squashtest.tm.service.testcase
Interface TestCaseFinder

All Superinterfaces:
CustomTestCaseFinder
All Known Subinterfaces:
TestCaseModificationService

@Transactional(readOnly=true)
public interface TestCaseFinder
extends CustomTestCaseFinder

Author:
Gregory Fouquet

Method Summary
 List<org.squashtest.tm.domain.testcase.TestCase> findAllByIds(Collection<Long> ids)
          Fetches all the test cases matching the given list of ids.
 org.squashtest.tm.domain.testcase.TestCase findById(long testCaseId)
           
 
Methods inherited from interface org.squashtest.tm.service.testcase.CustomTestCaseFinder
findAllByAncestorIds, findAllCallingTestCases, findCallingTestCases, findStepsByTestCaseId, findStepsByTestCaseIdFiltered, findTestCaseFromStep, findTestCaseWithSteps
 

Method Detail

findById

@PostAuthorize(value="hasPermission(returnObject , \'READ\') or hasRole(\'ROLE_ADMIN\')")
org.squashtest.tm.domain.testcase.TestCase findById(long testCaseId)

findAllByIds

@PostFilter(value="hasPermission(filterObject , \'READ\') or hasRole(\'ROLE_ADMIN\')")
List<org.squashtest.tm.domain.testcase.TestCase> findAllByIds(@NotNull
                                                                         Collection<Long> ids)
Fetches all the test cases matching the given list of ids.

Parameters:
ids -
Returns:


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