org.squashtest.tm.service.internal.repository.hibernate
@Repository(value="CustomTestSuiteDao") public class HibernateTestSuiteDao extends HibernateEntityDao<org.squashtest.tm.domain.campaign.TestSuite> implements CustomTestSuiteDao
entityType| Constructor and Description |
|---|
HibernateTestSuiteDao() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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 filtering,
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 |
List<Long> |
findPlannedTestCasesIds(Long suiteId)
Will find the distinct ids of the test cases referenced in the suite matching the given id
|
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 filtering,
org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering) |
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> |
findTestPlanPaged(long testSuiteId,
org.squashtest.tm.core.foundation.collection.Paging paging) |
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> |
findTestPlanPartition(long testSuiteId,
List<Long> testPlanItemIds) |
org.squashtest.tm.domain.campaign.TestPlanStatistics |
getTestSuiteStatistics(long testSuiteId)
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 testSuiteId,
String userLogin)
Will fill a
TestPlanStatistics bean with the infos taken from the test plan of the TestSuite
matching the given id. |
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyNameclearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllByIds, findByIdclearFromCache, clearFromCache, flush, persist, persist, remove, removeAllpublic List<org.squashtest.tm.domain.campaign.TestSuite> findAllByIterationId(long iterationId)
findAllByIterationId in interface CustomTestSuiteDaopublic List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findLaunchableTestPlan(long testSuiteId)
CustomTestSuiteDao
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
findLaunchableTestPlan in interface CustomTestSuiteDaopublic List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findTestPlanPaged(long testSuiteId, org.squashtest.tm.core.foundation.collection.Paging paging)
public org.squashtest.tm.domain.campaign.TestPlanStatistics getTestSuiteStatistics(long testSuiteId)
CustomTestSuiteDaoTestPlanStatistics bean with infos taken from the test plan of the TestSuite matching
the given id.getTestSuiteStatistics in interface CustomTestSuiteDaotestSuiteId - : the id of the concerned TestSuiteTestPlanStatistics beanpublic org.squashtest.tm.domain.campaign.TestPlanStatistics getTestSuiteStatistics(long testSuiteId,
String userLogin)
CustomTestSuiteDaoTestPlanStatistics 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.getTestSuiteStatistics in interface CustomTestSuiteDaotestSuiteId - : the id of the concerned TestSuiteuserLogin - : the login of the user we want the IterationTestPlanItem to be assigned toTestPlanStatistics beanpublic List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findTestPlanPartition(long testSuiteId, List<Long> testPlanItemIds)
findTestPlanPartition in interface CustomTestSuiteDaopublic List<org.squashtest.tm.domain.execution.Execution> findAllExecutionByTestSuite(long testSuiteId)
findAllExecutionByTestSuite in interface CustomTestSuiteDaopublic List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> findAllTestPlanItemsPaged(long testSuiteId, org.squashtest.tm.core.foundation.collection.Paging paging)
findAllTestPlanItemsPaged in interface CustomTestSuiteDaopublic 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 filtering, org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
findTestPlan in interface CustomTestSuiteDaopublic List<IndexedIterationTestPlanItem> findIndexedTestPlan(long suiteId, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting, org.squashtest.tm.core.foundation.collection.Filtering filtering, org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
CustomTestSuiteDaoIndexedIterationTestPlanItemfindIndexedTestPlan in interface CustomTestSuiteDaopublic 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)
CustomTestSuiteDaoIndexedIterationTestPlanItemfindIndexedTestPlan in interface CustomTestSuiteDaopublic long countTestPlans(Long suiteId, org.squashtest.tm.core.foundation.collection.Filtering filtering)
countTestPlans in interface CustomTestSuiteDaopublic long findProjectIdBySuiteId(long suiteId)
findProjectIdBySuiteId in interface CustomTestSuiteDaopublic long countTestPlans(Long suiteId, org.squashtest.tm.core.foundation.collection.Filtering filtering, org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
countTestPlans in interface CustomTestSuiteDaopublic List<Long> findPlannedTestCasesIds(Long suiteId)
CustomTestSuiteDaofindPlannedTestCasesIds in interface CustomTestSuiteDaosuiteId - : the id of the concerned TestSuiteCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.