com.atlassian.greenhopper.service.sprint
Interface SprintQueryService

All Known Implementing Classes:
SprintQueryServiceImpl

public interface SprintQueryService

Sprint querying functionality


Method Summary
 ServiceOutcome<java.util.List<Sprint>> getClosedSprints(com.atlassian.crowd.embedded.api.User user, com.atlassian.query.Query jql)
          Get all closed sprints applicable to a given jql.
 com.atlassian.query.clause.Clause getInOpenSprintClause()
          Get a clause that includes all issues currently in an open sprint
 com.atlassian.query.clause.Clause getInSprintClause()
          Add a clause that includes all issues in at least one sprint (open or closed)
 com.atlassian.query.clause.Clause getNotInOpenSprintClause()
          Get a clause that includes all issues currently in a closed sprint
 com.atlassian.query.clause.Clause getNotInSprint()
          Add a clause that includes for all issues not in any sprint
 ServiceOutcome<com.atlassian.fugue.Pair<java.util.List<Sprint>,java.util.Set<java.lang.Long>>> getOpenSprintsAndBacklogProjects(com.atlassian.crowd.embedded.api.User user, com.atlassian.query.Query jql)
          Get all open sprints applicable to a given jql.
 ServiceOutcome<java.util.Map<Sprint,java.util.Set<com.atlassian.jira.project.Project>>> getProjects(com.atlassian.crowd.embedded.api.User user, java.util.List<Sprint> sprints)
          Get all sprints and associated projects for a given jql
 ServiceOutcome<java.util.Set<com.atlassian.jira.project.Project>> getProjects(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
          Get all projects for a given sprint
 ServiceOutcome<java.util.Map<Sprint,java.util.Set<com.atlassian.jira.project.Project>>> getProjectsOverrideSecurity(com.atlassian.crowd.embedded.api.User user, java.util.List<Sprint> sprints)
          Get all sprints and associated projects for a given jql Note: This method runs with security disabled
 ServiceOutcome<java.util.Set<com.atlassian.jira.project.Project>> getProjectsOverrideSecurity(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
          Get all projects for a given sprint
 com.atlassian.query.clause.Clause getSprintClause(Sprint sprint)
          Add a clause that includes all issues of a given sprint
 ServiceOutcome<java.util.List<Sprint>> getSprints(com.atlassian.crowd.embedded.api.User user, com.atlassian.query.Query jql)
          Get all sprints applicable to a given jql.
 com.atlassian.query.clause.Clause getSprintsClause(java.util.Collection<Sprint> sprints)
          Add a clause that includes all issues of a given sprints
 

Method Detail

getSprints

@NotNull
ServiceOutcome<java.util.List<Sprint>> getSprints(com.atlassian.crowd.embedded.api.User user,
                                                          com.atlassian.query.Query jql)
Get all sprints applicable to a given jql. This will check all issues in the given jql, returning all sprints assigned to the issues


getClosedSprints

@NotNull
ServiceOutcome<java.util.List<Sprint>> getClosedSprints(com.atlassian.crowd.embedded.api.User user,
                                                                com.atlassian.query.Query jql)
Get all closed sprints applicable to a given jql. This will check all issues in the given jql, returning all closed sprints assigned to the issues


getOpenSprintsAndBacklogProjects

@NotNull
ServiceOutcome<com.atlassian.fugue.Pair<java.util.List<Sprint>,java.util.Set<java.lang.Long>>> getOpenSprintsAndBacklogProjects(com.atlassian.crowd.embedded.api.User user,
                                                                                                                                        com.atlassian.query.Query jql)
Get all open sprints applicable to a given jql. This will check all issues in the given jql, returning all open sprints assigned to the issues


getProjects

@NotNull
ServiceOutcome<java.util.Set<com.atlassian.jira.project.Project>> getProjects(com.atlassian.crowd.embedded.api.User user,
                                                                                      Sprint sprint)
Get all projects for a given sprint


getProjectsOverrideSecurity

@NotNull
ServiceOutcome<java.util.Set<com.atlassian.jira.project.Project>> getProjectsOverrideSecurity(com.atlassian.crowd.embedded.api.User user,
                                                                                                      Sprint sprint)
Get all projects for a given sprint


getProjects

@NotNull
ServiceOutcome<java.util.Map<Sprint,java.util.Set<com.atlassian.jira.project.Project>>> getProjects(com.atlassian.crowd.embedded.api.User user,
                                                                                                            java.util.List<Sprint> sprints)
Get all sprints and associated projects for a given jql


getProjectsOverrideSecurity

@NotNull
ServiceOutcome<java.util.Map<Sprint,java.util.Set<com.atlassian.jira.project.Project>>> getProjectsOverrideSecurity(com.atlassian.crowd.embedded.api.User user,
                                                                                                                            java.util.List<Sprint> sprints)
Get all sprints and associated projects for a given jql Note: This method runs with security disabled


getInOpenSprintClause

com.atlassian.query.clause.Clause getInOpenSprintClause()
Get a clause that includes all issues currently in an open sprint


getNotInOpenSprintClause

com.atlassian.query.clause.Clause getNotInOpenSprintClause()
Get a clause that includes all issues currently in a closed sprint


getInSprintClause

com.atlassian.query.clause.Clause getInSprintClause()
Add a clause that includes all issues in at least one sprint (open or closed)


getNotInSprint

com.atlassian.query.clause.Clause getNotInSprint()
Add a clause that includes for all issues not in any sprint


getSprintClause

com.atlassian.query.clause.Clause getSprintClause(Sprint sprint)
Add a clause that includes all issues of a given sprint


getSprintsClause

com.atlassian.query.clause.Clause getSprintsClause(java.util.Collection<Sprint> sprints)
Add a clause that includes all issues of a given sprints



Copyright © 2007-2012 Atlassian. All Rights Reserved.