public class IssueDaoImpl extends Object implements CustomIssueDao
| Constructor and Description |
|---|
IssueDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<org.squashtest.tm.domain.bugtracker.Issue> |
findAllByExecutionStep(org.squashtest.tm.domain.execution.ExecutionStep executionStep,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter) |
List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> |
findAllDeclaredExecutionIssuePairsByExecution(org.squashtest.tm.domain.execution.Execution execution,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
Finds all issues for a execution (not execution and steps !)
|
List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> |
findAllExecutionIssuePairsByCampaign(org.squashtest.tm.domain.campaign.Campaign campaign,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
Finds all issues for a campaign along with the declaring execution and returns them as pairs.
|
List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> |
findAllExecutionIssuePairsByCampaignFolder(org.squashtest.tm.domain.campaign.CampaignFolder folder,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter) |
List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> |
findAllExecutionIssuePairsByIteration(org.squashtest.tm.domain.campaign.Iteration iteration,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter) |
List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> |
findAllExecutionIssuePairsByTestCase(org.squashtest.tm.domain.testcase.TestCase testCase,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter) |
List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> |
findAllExecutionIssuePairsByTestSuite(org.squashtest.tm.domain.campaign.TestSuite testSuite,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter) |
List<Pair<org.squashtest.tm.domain.execution.ExecutionStep,org.squashtest.tm.domain.bugtracker.Issue>> |
findAllExecutionStepIssuePairsByExecution(org.squashtest.tm.domain.execution.Execution execution,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter) |
org.squashtest.tm.domain.execution.Execution |
findExecutionRelatedToIssue(long id) |
org.squashtest.tm.domain.bugtracker.IssueDetector |
findIssueDetectorByIssue(long id)
Will return the Execution or the ExecutionStep that holds the Issue of the given id.
|
List<org.squashtest.tm.domain.bugtracker.Issue> |
findIssueListByRemoteIssue(String remoteid,
org.squashtest.csp.core.bugtracker.domain.BugTracker bugtracker) |
List<org.squashtest.tm.domain.bugtracker.Issue> |
findSortedIssuesFromExecutionAndExecutionSteps(List<Long> executionsIds,
List<Long> executionStepsIds,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
Will find all issues belonging to the executions/executionSteps of the given ids, and, return a list of
Object[] that have the following structure : [IssueList.id, Issue.remoteIssueId , Issue.bugtracker.id]
The issues are also filtered over the bug-tracker parameter: only issues linked to the bug-tracker active for the given execution/executionSteps's project's bug-tracker are retained. |
List<org.squashtest.tm.domain.bugtracker.Issue> |
findSortedIssuesFromIssuesLists(Collection<Long> issueListIds,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter,
Long bugtrackerId)
Will find all issues belonging to the issue-lists of the given ids, and, return a list of
Object[] that have the following structure : [IssueList.id, Issue.remoteIssueId, Issue.id]
The issues are also filtered over the bug-tracker parameter: only issues linked to the bug-tracker of the given id are retained. |
org.squashtest.tm.domain.testcase.TestCase |
findTestCaseRelatedToIssue(long id) |
List<org.squashtest.tm.domain.bugtracker.Issue> |
getAllIssueFromBugTrackerId(Long bugtrackerId) |
public List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> findAllExecutionIssuePairsByCampaign(org.squashtest.tm.domain.campaign.Campaign campaign, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
CustomIssueDaofindAllExecutionIssuePairsByCampaign in interface CustomIssueDaopublic List<org.squashtest.tm.domain.bugtracker.Issue> findSortedIssuesFromIssuesLists(Collection<Long> issueListIds, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter, Long bugtrackerId)
CustomIssueDaoObject[] that have the following structure : [IssueList.id, Issue.remoteIssueId, Issue.id]
findSortedIssuesFromIssuesLists in interface CustomIssueDaoissueListIds - the list of the ids of the IssueListsorter - : will sort and filter the result setbugtrackerId - the id of the bug-tracker we want the issues to be connected-toIssuepublic List<org.squashtest.tm.domain.bugtracker.Issue> findSortedIssuesFromExecutionAndExecutionSteps(List<Long> executionsIds, List<Long> executionStepsIds, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
CustomIssueDaoObject[] that have the following structure : [IssueList.id, Issue.remoteIssueId , Issue.bugtracker.id]
findSortedIssuesFromExecutionAndExecutionSteps in interface CustomIssueDaoexecutionsIds - : ids of executions we will extract Issues fromexecutionStepsIds - : ids of executionSteps we will extract Issues fromsorter - : holds the sort parameters for the queryObject[] which have the following structure [IssueList.id, Issue.remoteIssueId , Issue.bugtracker.id]IssueDao#findSortedIssuesFromExecutionAndExecutionSteps(List, List, PagingAndSorting)public org.squashtest.tm.domain.bugtracker.IssueDetector findIssueDetectorByIssue(long id)
CustomIssueDaofindIssueDetectorByIssue in interface CustomIssueDaoid - : the id of the Issue we want the owner of.null.public org.squashtest.tm.domain.testcase.TestCase findTestCaseRelatedToIssue(long id)
findTestCaseRelatedToIssue in interface CustomIssueDaopublic org.squashtest.tm.domain.execution.Execution findExecutionRelatedToIssue(long id)
findExecutionRelatedToIssue in interface CustomIssueDaopublic List<org.squashtest.tm.domain.bugtracker.Issue> getAllIssueFromBugTrackerId(Long bugtrackerId)
getAllIssueFromBugTrackerId in interface CustomIssueDaopublic List<org.squashtest.tm.domain.bugtracker.Issue> findIssueListByRemoteIssue(String remoteid, org.squashtest.csp.core.bugtracker.domain.BugTracker bugtracker)
findIssueListByRemoteIssue in interface CustomIssueDaopublic List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> findAllDeclaredExecutionIssuePairsByExecution(org.squashtest.tm.domain.execution.Execution execution, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
CustomIssueDaofindAllDeclaredExecutionIssuePairsByExecution in interface CustomIssueDaopublic List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> findAllExecutionIssuePairsByIteration(org.squashtest.tm.domain.campaign.Iteration iteration, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
findAllExecutionIssuePairsByIteration in interface CustomIssueDaopublic List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> findAllExecutionIssuePairsByTestSuite(org.squashtest.tm.domain.campaign.TestSuite testSuite, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
findAllExecutionIssuePairsByTestSuite in interface CustomIssueDaopublic List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> findAllExecutionIssuePairsByCampaignFolder(org.squashtest.tm.domain.campaign.CampaignFolder folder, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
findAllExecutionIssuePairsByCampaignFolder in interface CustomIssueDaopublic List<Pair<org.squashtest.tm.domain.execution.Execution,org.squashtest.tm.domain.bugtracker.Issue>> findAllExecutionIssuePairsByTestCase(org.squashtest.tm.domain.testcase.TestCase testCase, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
findAllExecutionIssuePairsByTestCase in interface CustomIssueDaopublic List<org.squashtest.tm.domain.bugtracker.Issue> findAllByExecutionStep(org.squashtest.tm.domain.execution.ExecutionStep executionStep, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
findAllByExecutionStep in interface CustomIssueDaopublic List<Pair<org.squashtest.tm.domain.execution.ExecutionStep,org.squashtest.tm.domain.bugtracker.Issue>> findAllExecutionStepIssuePairsByExecution(org.squashtest.tm.domain.execution.Execution execution, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorter)
findAllExecutionStepIssuePairsByExecution in interface CustomIssueDaoCopyright © 2010–2017 Henix, henix.fr. All rights reserved.