public interface IssueDao extends org.springframework.data.jpa.repository.JpaRepository<org.squashtest.tm.domain.bugtracker.Issue,Long>, CustomIssueDao
| Modifier and Type | Method and Description |
|---|---|
long |
countByCampaign(org.squashtest.tm.domain.campaign.Campaign campaign)
Counts all issues for a campaign
|
long |
countByCampaignFolder(org.squashtest.tm.domain.campaign.CampaignFolder folder) |
long |
countByExecutionAndSteps(org.squashtest.tm.domain.execution.Execution execution)
Counts all issues for an execution and its steps
|
long |
countByIteration(org.squashtest.tm.domain.campaign.Iteration iteration) |
long |
countByTestCase(org.squashtest.tm.domain.testcase.TestCase testCase) |
long |
countByTestSuite(org.squashtest.tm.domain.campaign.TestSuite testSuite) |
Integer |
countIssuesfromEmptyExecutions(List<Long> executionsIds)
Will count all Issues from the given executions if they have no steps at all
Used to prevent empty list exception from MySQL with the request countIssuesfromExecutionAndExecutionSteps
|
Integer |
countIssuesfromExecutionAndExecutionSteps(List<Long> executionsIds,
List<Long> executionStepsIds)
Will count all Issues from the given executions and execution-steps concerned by the active bug-tracker for each
execution/execution-step's project.
|
Integer |
countIssuesfromExecutionSteps(List<Long> executionStepsIds) |
Integer |
countIssuesfromIssueList(Collection<Long> issueListIds,
Long bugTrackerId)
Will count the total number of issues related to the given IssueList, for the given bugtracker
TODO looks like it's only used in tests.
|
Integer |
countIssuesfromIssueList(List<Long> issueListIds)
Will count the total number of issues related to the given IssueList.
|
List<org.squashtest.tm.domain.bugtracker.Issue> |
findAllForIteration(Long id)
Will find all issues declared in the iteration of the given id.
|
List<org.squashtest.tm.domain.bugtracker.Issue> |
findAllForTestSuite(Long id)
Will find all issues declared in the test suite of the given id.
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllcount, delete, delete, delete, deleteAll, exists, findOne, savecount, exists, findAll, findOnefindAllByExecutionStep, findAllDeclaredExecutionIssuePairsByExecution, findAllExecutionIssuePairsByCampaign, findAllExecutionIssuePairsByCampaignFolder, findAllExecutionIssuePairsByIteration, findAllExecutionIssuePairsByTestCase, findAllExecutionIssuePairsByTestSuite, findAllExecutionStepIssuePairsByExecution, findExecutionRelatedToIssue, findIssueDetectorByIssue, findIssueListByRemoteIssue, findSortedIssuesFromExecutionAndExecutionSteps, findSortedIssuesFromIssuesLists, findTestCaseRelatedToIssue, getAllIssueFromBugTrackerId@Query(name="issueList.countIssues") Integer countIssuesfromIssueList(@Param(value="issueListIds") List<Long> issueListIds)
issueListIds - the id of the issue lists.@Query(name="issueList.countIssuesByTracker") Integer countIssuesfromIssueList(@Param(value="issueListIds") Collection<Long> issueListIds, @Param(value="bugTrackerId") Long bugTrackerId)
issueListIds - the id of the issue lists.bugTrackerId - the id of the bug-tracker we are filtering on@Query Integer countIssuesfromExecutionAndExecutionSteps(@Param(value="executionsIds") List<Long> executionsIds, @Param(value="executionStepsIds") List<Long> executionStepsIds)
@Query Integer countIssuesfromEmptyExecutions(@Param(value="executionsIds") List<Long> executionsIds)
@Query
long countByCampaign(@Param(value="campaign")
org.squashtest.tm.domain.campaign.Campaign campaign)
@Query List<org.squashtest.tm.domain.bugtracker.Issue> findAllForIteration(@Param(value="id") Long id)
id - : the id of the concerned IterationIssues@Query List<org.squashtest.tm.domain.bugtracker.Issue> findAllForTestSuite(@Param(value="id") Long id)
id - : the id of the concerned TestSuiteIssues@Query Integer countIssuesfromExecutionSteps(@Param(value="executionStepsIds") List<Long> executionStepsIds)
@Query
long countByExecutionAndSteps(@Param(value="execution")
org.squashtest.tm.domain.execution.Execution execution)
@Query
long countByIteration(@Param(value="iteration")
org.squashtest.tm.domain.campaign.Iteration iteration)
@Query
long countByTestSuite(@Param(value="testSuite")
org.squashtest.tm.domain.campaign.TestSuite testSuite)
@Query
long countByCampaignFolder(@Param(value="folder")
org.squashtest.tm.domain.campaign.CampaignFolder folder)
@Query
long countByTestCase(@Param(value="testCase")
org.squashtest.tm.domain.testcase.TestCase testCase)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.