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

All Superinterfaces:
EntityDao<org.squashtest.tm.domain.campaign.TestSuite>, GenericDao<org.squashtest.tm.domain.campaign.TestSuite>
All Known Subinterfaces:
TestSuiteDao
All Known Implementing Classes:
HibernateTestSuiteDao

public interface CustomTestSuiteDao
extends EntityDao<org.squashtest.tm.domain.campaign.TestSuite>


Method Summary
 long countTestPlans(Long suiteId, org.squashtest.tm.core.foundation.collection.Filtering filtering)
           
 long countTestPlans(Long suiteId, org.squashtest.tm.core.foundation.collection.Filtering filtering, org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
           
 List<org.squashtest.tm.domain.campaign.TestSuite> findAllByIterationId(long iterationId)
           
 List<org.squashtest.tm.domain.execution.Execution> findAllExecutionByTestSuite(long testSuiteId)
           
 List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findAllTestPlanItemsPaged(long testSuiteId, org.squashtest.tm.core.foundation.collection.Paging paging)
          Deprecated. 
 List<IndexedIterationTestPlanItem> findIndexedTestPlan(long suiteId, org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting, org.squashtest.tm.core.foundation.collection.Filtering filtering, org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
          Returns the paged list of [index, IterationTestPlanItem] wrapped in an IndexedIterationTestPlanItem
 List<IndexedIterationTestPlanItem> findIndexedTestPlan(long suiteId, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting, org.squashtest.tm.core.foundation.collection.Filtering filter, org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
          Returns the paged list of [index, IterationTestPlanItem] wrapped in an IndexedIterationTestPlanItem
 List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findLaunchableTestPlan(long testSuiteId)
           return a list of ordered iteration_test_plan_items that are linked to a test case or have an execution
making it the launchable test plan of the test suite
 long findProjectIdBySuiteId(long suiteId)
           
 List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findTestPlan(long suiteId, org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting, org.squashtest.tm.core.foundation.collection.Filtering filter, org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
           
 List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findTestPlanPartition(long testSuiteId, List<Long> testPlanItemIds)
           
 org.squashtest.tm.domain.campaign.TestPlanStatistics getTestSuiteStatistics(long testSuitId)
          Will fill a TestPlanStatistics bean with infos taken from the test plan of the TestSuite matching the given id.
 org.squashtest.tm.domain.campaign.TestPlanStatistics getTestSuiteStatistics(long suiteId, String userLogin)
          Will fill a TestPlanStatistics bean with the infos taken from the test plan of the TestSuite matching the given id.
 
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

findAllByIterationId

List<org.squashtest.tm.domain.campaign.TestSuite> findAllByIterationId(long iterationId)

findLaunchableTestPlan

List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findLaunchableTestPlan(long testSuiteId)

return a list of ordered iteration_test_plan_items that are linked to a test case or have an execution
making it the launchable test plan of the test suite

Parameters:
testSuiteId -
Returns:

getTestSuiteStatistics

org.squashtest.tm.domain.campaign.TestPlanStatistics getTestSuiteStatistics(long testSuitId)
Will fill a TestPlanStatistics bean with infos taken from the test plan of the TestSuite matching the given id.

Parameters:
testSuitId - : the id of the concerned TestSuite
Returns:
the filled TestPlanStatistics bean

getTestSuiteStatistics

org.squashtest.tm.domain.campaign.TestPlanStatistics getTestSuiteStatistics(long suiteId,
                                                                            String userLogin)
Will fill a TestPlanStatistics bean with the infos taken from the test plan of the TestSuite matching the given id. But the infos will be taken only from the IterationTestPlanItem that are assigned to the user matching the given login.

Parameters:
suiteId - : the id of the concerned TestSuite
userLogin - : the login of the user we want the IterationTestPlanItem to be assigned to
Returns:
the fielled TestPlanStatistics bean

findTestPlanPartition

List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findTestPlanPartition(long testSuiteId,
                                                                                    List<Long> testPlanItemIds)

findAllExecutionByTestSuite

List<org.squashtest.tm.domain.execution.Execution> findAllExecutionByTestSuite(long testSuiteId)

findAllTestPlanItemsPaged

@Deprecated
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findAllTestPlanItemsPaged(long testSuiteId,
                                                                                                   org.squashtest.tm.core.foundation.collection.Paging paging)
Deprecated. 


findTestPlan

List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findTestPlan(long suiteId,
                                                                           org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting,
                                                                           org.squashtest.tm.core.foundation.collection.Filtering filter,
                                                                           org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)

findIndexedTestPlan

List<IndexedIterationTestPlanItem> findIndexedTestPlan(long suiteId,
                                                       org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting,
                                                       org.squashtest.tm.core.foundation.collection.Filtering filtering,
                                                       org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
Returns the paged list of [index, IterationTestPlanItem] wrapped in an IndexedIterationTestPlanItem

Parameters:
iterationId -
sorting -
filtering -
Returns:

findIndexedTestPlan

List<IndexedIterationTestPlanItem> findIndexedTestPlan(long suiteId,
                                                       org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting,
                                                       org.squashtest.tm.core.foundation.collection.Filtering filter,
                                                       org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
Returns the paged list of [index, IterationTestPlanItem] wrapped in an IndexedIterationTestPlanItem

Parameters:
iterationId -
sorting -
filtering -
Returns:

countTestPlans

long countTestPlans(Long suiteId,
                    org.squashtest.tm.core.foundation.collection.Filtering filtering)

countTestPlans

long countTestPlans(Long suiteId,
                    org.squashtest.tm.core.foundation.collection.Filtering filtering,
                    org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)

findProjectIdBySuiteId

long findProjectIdBySuiteId(long suiteId)


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