org.squashtest.tm.service.internal.repository
Interface TestCaseDao

All Superinterfaces:
CustomTestCaseDao, EntityDao<org.squashtest.tm.domain.testcase.TestCase>, GenericDao<org.squashtest.tm.domain.testcase.TestCase>

public interface TestCaseDao
extends CustomTestCaseDao


Method Summary
 long countCallingTestSteps(long testCaseId)
          Counts the calling test steps of a test case
 List<Long> findAllDistinctTestCasesIdsCalledByTestCase(long testCaseId)
           
 List<Long> findAllDistinctTestCasesIdsCallingTestCase(long testCaseId)
           
 List<Long> findAllTestCaseIdsByLibraries(Collection<Long> libraryIds)
           
 org.squashtest.tm.domain.testcase.TestCase findByIdWithInitializedSteps(long testCaseId)
           
 
Methods inherited from interface org.squashtest.tm.service.internal.repository.CustomTestCaseDao
countByVerifiedRequirementVersion, findAllByNameContaining, findAllByRequirement, findAllByVerifiedRequirementVersion, findAllCallingTestCases, findAllCallingTestCases, findAllExecutionByTestCase, findAllLinkedToIteration, findAllStepsByIdFiltered, findAllTestCaseIdsByNodeIds, findAllTestCasesIdsByLibrary, findAllTestCasesIdsCalledByTestCases, findAllTestCasesIdsCallingTestCases, findAndInit, findBySearchCriteria, findCalledTestCaseOfCallSteps, findTestCaseByTestStepId, findTestCasesHavingCaller, findTestCasesHavingCallerDetails, findTestCaseToExportFromLibrary, findTestCaseToExportFromNodes, findUnsortedAllByVerifiedRequirementVersion, persistTestCaseAndSteps, safePersist
 
Methods inherited from interface org.squashtest.tm.service.internal.repository.EntityDao
findAll, findAllByIds, findById
 
Methods inherited from interface org.squashtest.tm.service.internal.repository.GenericDao
clearFromCache, clearFromCache, flush, persist, persist, remove, removeAll
 

Method Detail

findByIdWithInitializedSteps

org.squashtest.tm.domain.testcase.TestCase findByIdWithInitializedSteps(long testCaseId)

countCallingTestSteps

long countCallingTestSteps(long testCaseId)
Counts the calling test steps of a test case

Parameters:
testCaseId -
Returns:

findAllDistinctTestCasesIdsCalledByTestCase

List<Long> findAllDistinctTestCasesIdsCalledByTestCase(long testCaseId)

findAllDistinctTestCasesIdsCallingTestCase

List<Long> findAllDistinctTestCasesIdsCallingTestCase(long testCaseId)

findAllTestCaseIdsByLibraries

List<Long> findAllTestCaseIdsByLibraries(Collection<Long> libraryIds)


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