com.atlassian.greenhopper.web.rapid.list
Class RapidIssueEntryQueryServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.web.rapid.list.RapidIssueEntryQueryServiceImpl
All Implemented Interfaces:
RapidIssueEntryQueryService

@Service
public class RapidIssueEntryQueryServiceImpl
extends AbstractLoggable
implements RapidIssueEntryQueryService

Provides calculation of swimlane contents functionality


Field Summary
protected  org.slf4j.Logger performanceLogger
           
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
RapidIssueEntryQueryServiceImpl()
           
 
Method Summary
 ServiceOutcome<CollectIssuesResult> collectBacklogIssues(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<java.lang.Long> activeQuickFilters)
          Get all issues in the backlog
 ServiceOutcome<CollectIssuesResult> collectEpicIssues(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
          Queries the epics for a board
 ServiceOutcome<CollectIssuesResult> collectOpenSprintIssues(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<java.lang.Long> activeQuickFilters, IssueDataCallback additionalCallback)
          Get all issues of the open sprints (for the plan mode)
 ServiceOutcome<CollectIssuesResult> collectWorkModeIssues(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, WorkFilters workFilters)
          Get the issues and the order in one go
 ServiceOutcome<RapidIssueEntry> getIssueById(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, long issueId, boolean loadDaysInColumn)
          Collects a single issue
 ServiceOutcome<CollectIssuesResult> getIssuesByKeys(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<java.lang.String> issueKeys)
          Loads issues based on the provided keys, ordered by issueKey
 ServiceOutcome<java.util.Set<RapidIssueEntry>> getMissingParents(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.List<RapidIssueEntry> issues)
          Loads all missing parents for a given list of issues.
 ServiceOutcome<java.lang.Void> loadBacklogTrackingStatisticValues(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, RapidIssueEntry entry)
          Load the aggregate tracking statistic for a single issue
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

performanceLogger

protected org.slf4j.Logger performanceLogger
Constructor Detail

RapidIssueEntryQueryServiceImpl

public RapidIssueEntryQueryServiceImpl()
Method Detail

collectWorkModeIssues

@NotNull
public ServiceOutcome<CollectIssuesResult> collectWorkModeIssues(com.atlassian.crowd.embedded.api.User user,
                                                                         RapidView rapidView,
                                                                         WorkFilters workFilters)
Get the issues and the order in one go

Specified by:
collectWorkModeIssues in interface RapidIssueEntryQueryService

collectBacklogIssues

@NotNull
public ServiceOutcome<CollectIssuesResult> collectBacklogIssues(com.atlassian.crowd.embedded.api.User user,
                                                                        RapidView rapidView,
                                                                        java.util.Set<java.lang.Long> activeQuickFilters)
Get all issues in the backlog

Specified by:
collectBacklogIssues in interface RapidIssueEntryQueryService

collectOpenSprintIssues

public ServiceOutcome<CollectIssuesResult> collectOpenSprintIssues(com.atlassian.crowd.embedded.api.User user,
                                                                   RapidView rapidView,
                                                                   java.util.Set<java.lang.Long> activeQuickFilters,
                                                                   IssueDataCallback additionalCallback)
Get all issues of the open sprints (for the plan mode)

Specified by:
collectOpenSprintIssues in interface RapidIssueEntryQueryService

collectEpicIssues

public ServiceOutcome<CollectIssuesResult> collectEpicIssues(com.atlassian.crowd.embedded.api.User user,
                                                             RapidView rapidView)
Queries the epics for a board

Specified by:
collectEpicIssues in interface RapidIssueEntryQueryService

getMissingParents

@NotNull
public ServiceOutcome<java.util.Set<RapidIssueEntry>> getMissingParents(com.atlassian.crowd.embedded.api.User user,
                                                                                RapidView rapidView,
                                                                                java.util.List<RapidIssueEntry> issues)
Description copied from interface: RapidIssueEntryQueryService
Loads all missing parents for a given list of issues. Note that the parents are in no particular order and currently don't contain days in column information

Specified by:
getMissingParents in interface RapidIssueEntryQueryService

getIssuesByKeys

public ServiceOutcome<CollectIssuesResult> getIssuesByKeys(com.atlassian.crowd.embedded.api.User user,
                                                           RapidView rapidView,
                                                           java.util.Set<java.lang.String> issueKeys)
Description copied from interface: RapidIssueEntryQueryService
Loads issues based on the provided keys, ordered by issueKey

Specified by:
getIssuesByKeys in interface RapidIssueEntryQueryService

getIssueById

public ServiceOutcome<RapidIssueEntry> getIssueById(com.atlassian.crowd.embedded.api.User user,
                                                    RapidView rapidView,
                                                    long issueId,
                                                    boolean loadDaysInColumn)
Collects a single issue

Specified by:
getIssueById in interface RapidIssueEntryQueryService

loadBacklogTrackingStatisticValues

public ServiceOutcome<java.lang.Void> loadBacklogTrackingStatisticValues(com.atlassian.crowd.embedded.api.User user,
                                                                         RapidView rapidView,
                                                                         RapidIssueEntry entry)
Load the aggregate tracking statistic for a single issue

Specified by:
loadBacklogTrackingStatisticValues in interface RapidIssueEntryQueryService


Copyright © 2007-2012 Atlassian. All Rights Reserved.