public class TestsHibernateDao extends BambooHibernateObjectDao<TestClass> implements TestsDao
| Constructor and Description |
|---|
TestsHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
long |
countTestClasses() |
Collection<? extends TestClass> |
findAll() |
TestClass |
findById(long testClassId) |
List<TestClass> |
getTestClassesForPlan(Plan plan)
Retrieve all test classes attached to a specific plan
|
long |
scrollTestClassesForExport(com.google.common.base.Function<TestClass,Void> function) |
countAll, countWithRestriction, delete, deleteAll, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAllgetCacheAwareHibernateTemplatecheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll@Nullable public TestClass findById(long testClassId)
@NotNull public Collection<? extends TestClass> findAll()
@NotNull public List<TestClass> getTestClassesForPlan(Plan plan)
getTestClassesForPlan in interface TestsDaoplan - the tests are attached topublic long countTestClasses()
countTestClasses in interface TestsDaopublic long scrollTestClassesForExport(@NotNull
com.google.common.base.Function<TestClass,Void> function)
scrollTestClassesForExport in interface TestsDaoCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.