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

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

public class SprintRankResource
extends AbstractResource


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET, log
 
Constructor Summary
SprintRankResource(RankHelper rankHelper, IssueHelper issueHelper, SprintService sprintService, RankService rankService, SprintIssueService sprintIssueService, RankableFactory rankableFactory, RapidViewService rapidViewService, SprintHelper sprintHelper, SprintEntryFactory sprintEntryFactory, SprintPermissionService sprintPermissionService)
           
 
Method Summary
 javax.ws.rs.core.Response getRemoveFromSprintData(java.lang.Long rapidViewId, java.util.List<java.lang.String> issueKeys)
          Get a model of the outcome of a remove from sprint operation
 javax.ws.rs.core.Response removeFromSprint(RemoveFromSprintRequest request)
          Removes issues from their currently active/future sprint.
 javax.ws.rs.core.Response updateSprintAndRank(SprintRankRequest request)
          Smart sprint/rank resources.
 
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

SprintRankResource

public SprintRankResource(RankHelper rankHelper,
                          IssueHelper issueHelper,
                          SprintService sprintService,
                          RankService rankService,
                          SprintIssueService sprintIssueService,
                          RankableFactory rankableFactory,
                          RapidViewService rapidViewService,
                          SprintHelper sprintHelper,
                          SprintEntryFactory sprintEntryFactory,
                          SprintPermissionService sprintPermissionService)
Method Detail

updateSprintAndRank

public javax.ws.rs.core.Response updateSprintAndRank(SprintRankRequest request)
Smart sprint/rank resources. Handles null sprintId, before or after


getRemoveFromSprintData

public javax.ws.rs.core.Response getRemoveFromSprintData(java.lang.Long rapidViewId,
                                                         java.util.List<java.lang.String> issueKeys)
Get a model of the outcome of a remove from sprint operation


removeFromSprint

public javax.ws.rs.core.Response removeFromSprint(RemoveFromSprintRequest request)
Removes issues from their currently active/future sprint. Issues get ranked to the top of the first/next future sprint according to the provided rapidViewId



Copyright © 2007-2014 Atlassian. All Rights Reserved.