com.atlassian.bamboo.resultsummary
Interface LinkedJiraIssueDao

All Superinterfaces:
BambooObjectDao<LinkedJiraIssue>
All Known Implementing Classes:
LinkedJiraIssueHibernateDao

@Internal
public interface LinkedJiraIssueDao
extends BambooObjectDao<LinkedJiraIssue>


Method Summary
 java.util.Collection<LinkedJiraIssue> getLinkedJiraIssuesForBuildNumberRange(PlanKey planKey, int firstBuildNumber, int currentBuildNumber)
          Find and retrieve all jira issues related to build results from specified range.
 long scrollJiraIssuesForExport(com.google.common.base.Function<LinkedJiraIssue,java.lang.Void> function)
          Scroll through and execute function for each of LinkedJiraIssue Objects passed to function are not fully initialized.
 
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll
 

Method Detail

scrollJiraIssuesForExport

long scrollJiraIssuesForExport(@NotNull
                               com.google.common.base.Function<LinkedJiraIssue,java.lang.Void> function)
Scroll through and execute function for each of LinkedJiraIssue Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.

Parameters:
function - function to be executed on each of the LinkedJiraIssue
Returns:
number of traversed rows

getLinkedJiraIssuesForBuildNumberRange

java.util.Collection<LinkedJiraIssue> getLinkedJiraIssuesForBuildNumberRange(@NotNull
                                                                             PlanKey planKey,
                                                                             int firstBuildNumber,
                                                                             int currentBuildNumber)
Find and retrieve all jira issues related to build results from specified range. Once off results are skipped.

Parameters:
planKey -
firstBuildNumber -
currentBuildNumber -
Returns:


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.