org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateTestSuiteDao
java.lang.Object
org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<TestSuite>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateTestSuiteDao
- All Implemented Interfaces:
- CustomTestSuiteDao, EntityDao<TestSuite>, GenericDao<TestSuite>
@Repository(value="CustomTestSuiteDao")
public class HibernateTestSuiteDao
- extends HibernateEntityDao<TestSuite>
- implements CustomTestSuiteDao
| Methods inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao |
clearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeEntity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateTestSuiteDao
public HibernateTestSuiteDao()
findAllByIterationId
public List<TestSuite> findAllByIterationId(long iterationId)
- Specified by:
findAllByIterationId in interface CustomTestSuiteDao
findLaunchableTestPlan
public List<IterationTestPlanItem> findLaunchableTestPlan(long testSuiteId)
- Description copied from interface:
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
- Specified by:
findLaunchableTestPlan in interface CustomTestSuiteDao
- Returns:
findTestPlanPaged
public List<IterationTestPlanItem> findTestPlanPaged(long testSuiteId,
org.squashtest.tm.core.foundation.collection.Paging paging)
getTestSuiteStatistics
public TestPlanStatistics getTestSuiteStatistics(long testSuiteId)
- Specified by:
getTestSuiteStatistics in interface CustomTestSuiteDao
findTestPlanPartition
public List<IterationTestPlanItem> findTestPlanPartition(long testSuiteId,
List<Long> testPlanItemIds)
- Specified by:
findTestPlanPartition in interface CustomTestSuiteDao
findAllExecutionByTestSuite
public List<Execution> findAllExecutionByTestSuite(long testSuiteId)
- Specified by:
findAllExecutionByTestSuite in interface CustomTestSuiteDao
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.