public class TestResultsHibernateDao extends BambooHibernateObjectDao<TestClassResult> implements TestResultsDao
| Constructor and Description |
|---|
TestResultsHibernateDao(BambooTransactionHibernateTemplate transactionTemplate) |
| Modifier and Type | Method and Description |
|---|---|
long |
countTestClassResults() |
long |
countTestClassResults(PlanKey planKey) |
Collection<? extends TestClassResult> |
findAll() |
TestClassResult |
findById(long testClassId) |
List<TestClassResult> |
getTestClassResults(PlanResultKey planResultKey) |
int |
removeTestClassResultsByPlan(PlanKey planKey) |
int |
removeTestClassResultsByResult(long buildResultSummaryId) |
long |
scrollTestClassResultsForExport(com.google.common.base.Function<TestClassResult,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, saveAllpublic TestResultsHibernateDao(BambooTransactionHibernateTemplate transactionTemplate)
public TestClassResult findById(long testClassId)
findById in interface TestResultsDao@NotNull public Collection<? extends TestClassResult> findAll()
findAll in interface TestResultsDaopublic long countTestClassResults()
countTestClassResults in interface TestResultsDaopublic long countTestClassResults(@NotNull
PlanKey planKey)
countTestClassResults in interface TestResultsDaopublic long scrollTestClassResultsForExport(@NotNull
com.google.common.base.Function<TestClassResult,Void> function)
scrollTestClassResultsForExport in interface TestResultsDao@NotNull public List<TestClassResult> getTestClassResults(@NotNull PlanResultKey planResultKey)
getTestClassResults in interface TestResultsDaopublic int removeTestClassResultsByPlan(@NotNull
PlanKey planKey)
removeTestClassResultsByPlan in interface TestResultsDaopublic int removeTestClassResultsByResult(long buildResultSummaryId)
removeTestClassResultsByResult in interface TestResultsDaoCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.