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

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

public class SprintPagesResource
extends AbstractResource


Nested Class Summary
static class SprintPagesResource.LinkPageToSprintModel
           
 
Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET, log
 
Constructor Summary
SprintPagesResource(SprintService sprintService, SprintPermissionService sprintPermissionService, SprintLinkedPagesModelFactory sprintLinkedPagesModelFactory, com.atlassian.jira.issue.fields.rest.json.beans.JiraBaseUrls jiraBaseUrls, com.atlassian.applinks.host.spi.InternalHostApplication internalHostApplication)
           
 
Method Summary
 javax.ws.rs.core.Response getPages(java.lang.Long sprintId)
          Returns all the confluence pages linked to the given sprint
 javax.ws.rs.core.Response linkPage(java.lang.Long sprintId, SprintPagesResource.LinkPageToSprintModel model)
           
 javax.ws.rs.core.Response removePage(java.lang.Long sprintId, SprintPagesResource.LinkPageToSprintModel model)
           
 
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

SprintPagesResource

public SprintPagesResource(SprintService sprintService,
                           SprintPermissionService sprintPermissionService,
                           SprintLinkedPagesModelFactory sprintLinkedPagesModelFactory,
                           com.atlassian.jira.issue.fields.rest.json.beans.JiraBaseUrls jiraBaseUrls,
                           com.atlassian.applinks.host.spi.InternalHostApplication internalHostApplication)
Method Detail

removePage

public javax.ws.rs.core.Response removePage(java.lang.Long sprintId,
                                            SprintPagesResource.LinkPageToSprintModel model)

linkPage

public javax.ws.rs.core.Response linkPage(java.lang.Long sprintId,
                                          SprintPagesResource.LinkPageToSprintModel model)

getPages

public javax.ws.rs.core.Response getPages(java.lang.Long sprintId)
Returns all the confluence pages linked to the given sprint

Parameters:
sprintId -
Returns:


Copyright © 2007-2014 Atlassian. All Rights Reserved.