com.atlassian.jira.rest.v2.issue.version
Class RemoteVersionLinkResource
java.lang.Object
com.atlassian.jira.rest.v2.entity.AbstractRemoteEntityLinkResource<Version,RemoteVersionLink>
com.atlassian.jira.rest.v2.issue.version.RemoteVersionLinkResource
public class RemoteVersionLinkResource
- extends AbstractRemoteEntityLinkResource<Version,RemoteVersionLink>
Responsible for handling REST calls relating to remote issue links.
- Since:
- JIRA REST v6.5.1 (in JIRA 6.1.1)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteVersionLinkResource
public RemoteVersionLinkResource(I18nHelper i18n,
JiraAuthenticationContext jiraAuthenticationContext,
RemoteVersionLinkService remoteVersionLinkService,
JsonEntityPropertyManager jsonEntityPropertyManager,
ContextUriInfo contextUriInfo)
getRemoteVersionLink
public javax.ws.rs.core.Response getRemoteVersionLink(long versionId,
String globalId)
getRemoteVersionLinksByVersionId
public javax.ws.rs.core.Response getRemoteVersionLinksByVersionId(long versionId)
getRemoteVersionLinksByGlobalId
public javax.ws.rs.core.Response getRemoteVersionLinksByGlobalId(String globalId)
putRemoteVersionLink
public javax.ws.rs.core.Response putRemoteVersionLink(long versionId,
String globalId,
String json)
deleteRemoteVersionLinksByVersionId
public javax.ws.rs.core.Response deleteRemoteVersionLinksByVersionId(long versionId)
deleteRemoteVersionLink
public javax.ws.rs.core.Response deleteRemoteVersionLink(long versionId,
String globalId)
createSelfLink
protected URI createSelfLink(RemoteVersionLink link)
- Description copied from class:
AbstractRemoteEntityLinkResource
- Forms the
self
URI for a link.
- Specified by:
createSelfLink
in class AbstractRemoteEntityLinkResource<Version,RemoteVersionLink>
- Parameters:
link
- the link to be rendered as a URI
- Returns:
- the self URI for the link
Copyright © 2002-2014 Atlassian. All Rights Reserved.