com.atlassian.greenhopper.web.api
Class RemoteEpicLinkResource

java.lang.Object
  extended by com.atlassian.greenhopper.web.AbstractResource
      extended by com.atlassian.greenhopper.web.api.RemoteEpicLinkResource

public class RemoteEpicLinkResource
extends AbstractResource

Exposes functionality to manage remote epic links


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET, log
 
Constructor Summary
RemoteEpicLinkResource(com.atlassian.jira.bc.issue.link.RemoteIssueLinkService remoteIssueLinkService, RemoteLinkConversationService remoteLinkConversationService, com.atlassian.jira.issue.IssueManager issueManager)
           
 
Method Summary
 javax.ws.rs.core.Response createEpicLinkChecked(java.lang.String epicIdOrKey, RemoteLinkCreateRequest request)
          Creates an existing remote epic link.
 
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

RemoteEpicLinkResource

public RemoteEpicLinkResource(com.atlassian.jira.bc.issue.link.RemoteIssueLinkService remoteIssueLinkService,
                              RemoteLinkConversationService remoteLinkConversationService,
                              com.atlassian.jira.issue.IssueManager issueManager)
Method Detail

createEpicLinkChecked

public javax.ws.rs.core.Response createEpicLinkChecked(java.lang.String epicIdOrKey,
                                                       RemoteLinkCreateRequest request)
Creates an existing remote epic link.

It checks that the provided RemoteLinkCreateRequest.creationToken matches a started conversation.



Copyright © 2007-2014 Atlassian. All Rights Reserved.