public class

RemoteVersionLinkResource

extends AbstractRemoteEntityLinkResource<S, T extends RemoteEntityLink<S>>
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.entity.AbstractRemoteEntityLinkResource<S, T extends com.atlassian.jira.entity.remotelink.RemoteEntityLink<S>>
     ↳ com.atlassian.jira.rest.v2.issue.version.RemoteVersionLinkResource

Class Overview

Responsible for handling REST calls relating to remote issue links.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.rest.v2.entity.AbstractRemoteEntityLinkResource
Public Constructors
RemoteVersionLinkResource(I18nHelper i18n, JiraAuthenticationContext jiraAuthenticationContext, RemoteVersionLinkService remoteVersionLinkService, JsonEntityPropertyManager jsonEntityPropertyManager, ContextUriInfo contextUriInfo)
Public Methods
Response deleteRemoteVersionLink(long versionId, String globalId)
Response deleteRemoteVersionLinksByVersionId(long versionId)
Response getRemoteVersionLink(long versionId, String globalId)
Response getRemoteVersionLinksByGlobalId(String globalId)
Response getRemoteVersionLinksByVersionId(long versionId)
Response putRemoteVersionLink(long versionId, String globalId, String json)
Protected Methods
URI createSelfLink(RemoteVersionLink link)
Forms the self URI for a link.
[Expand]
Inherited Methods
From class com.atlassian.jira.rest.v2.entity.AbstractRemoteEntityLinkResource
From class java.lang.Object

Public Constructors

public RemoteVersionLinkResource (I18nHelper i18n, JiraAuthenticationContext jiraAuthenticationContext, RemoteVersionLinkService remoteVersionLinkService, JsonEntityPropertyManager jsonEntityPropertyManager, ContextUriInfo contextUriInfo)

Public Methods

public Response deleteRemoteVersionLink (long versionId, String globalId)

public Response deleteRemoteVersionLinksByVersionId (long versionId)

public Response getRemoteVersionLink (long versionId, String globalId)

public Response getRemoteVersionLinksByGlobalId (String globalId)

public Response getRemoteVersionLinksByVersionId (long versionId)

public Response putRemoteVersionLink (long versionId, String globalId, String json)

Protected Methods

protected URI createSelfLink (RemoteVersionLink link)

Forms the self URI for a link.

Parameters
link the link to be rendered as a URI
Returns
  • the self URI for the link