com.atlassian.greenhopper.web.rapid.sprint
Class SprintQueryResource

java.lang.Object
  extended by com.atlassian.greenhopper.web.AbstractResource
      extended by com.atlassian.greenhopper.web.rapid.sprint.SprintQueryResource

public class SprintQueryResource
extends AbstractResource


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET, log
 
Constructor Summary
SprintQueryResource(RapidViewService rapidViewService, SprintEntryFactory sprintEntryFactory, RapidViewSprintQueryService rapidViewSprintQueryService)
           
 
Method Summary
 javax.ws.rs.core.Response getAllSprintsForRapidView(java.lang.Long rapidViewId, boolean includeHistoricSprints, boolean includeFutureSprints)
          Returns all the sprints for a given rapid view.
 
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, wireAuthenticationContext, wireI18nFactoryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SprintQueryResource

public SprintQueryResource(RapidViewService rapidViewService,
                           SprintEntryFactory sprintEntryFactory,
                           RapidViewSprintQueryService rapidViewSprintQueryService)
Method Detail

getAllSprintsForRapidView

public javax.ws.rs.core.Response getAllSprintsForRapidView(java.lang.Long rapidViewId,
                                                           boolean includeHistoricSprints,
                                                           boolean includeFutureSprints)
Returns all the sprints for a given rapid view.

Parameters:
rapidViewId - The ID of a rapid view for which all sprints should be returned
includeHistoricSprints - if true sprints previously assigned to issues in the board will be returned too
includeFutureSprints - if true fututre sprints will be returned too
Returns:
A model containing all the sprints belonging to a certain rapid view.


Copyright © 2007-2013 Atlassian. All Rights Reserved.