public class RemoteVersionLinkResource extends AbstractRemoteEntityLinkResource<Version,RemoteVersionLink>
contextUriInfo, i18n, jiraAuthenticationContext, jsonEntityPropertyManager| Constructor and Description |
|---|
RemoteVersionLinkResource(I18nHelper i18n,
JiraAuthenticationContext jiraAuthenticationContext,
RemoteVersionLinkService remoteVersionLinkService,
JsonEntityPropertyManager jsonEntityPropertyManager,
ContextUriInfo contextUriInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected URI |
createSelfLink(RemoteVersionLink link)
Forms the
self URI for a link. |
javax.ws.rs.core.Response |
deleteRemoteVersionLink(long versionId,
String globalId) |
javax.ws.rs.core.Response |
deleteRemoteVersionLinksByVersionId(long versionId) |
javax.ws.rs.core.Response |
getRemoteVersionLink(long versionId,
String globalId) |
javax.ws.rs.core.Response |
getRemoteVersionLinksByGlobalId(String globalId) |
javax.ws.rs.core.Response |
getRemoteVersionLinksByVersionId(long versionId) |
javax.ws.rs.core.Response |
putRemoteVersionLink(long versionId,
String globalId,
String json) |
getUser, toBean, toBean, toResponse, toResponse, toResponse, toSuccessfulDeleteResponse, toSuccessfulPostResponse, validpublic RemoteVersionLinkResource(I18nHelper i18n, JiraAuthenticationContext jiraAuthenticationContext, RemoteVersionLinkService remoteVersionLinkService, JsonEntityPropertyManager jsonEntityPropertyManager, ContextUriInfo contextUriInfo)
public javax.ws.rs.core.Response getRemoteVersionLink(long versionId,
String globalId)
public javax.ws.rs.core.Response getRemoteVersionLinksByVersionId(long versionId)
public javax.ws.rs.core.Response getRemoteVersionLinksByGlobalId(String globalId)
public javax.ws.rs.core.Response putRemoteVersionLink(long versionId,
String globalId,
String json)
public javax.ws.rs.core.Response deleteRemoteVersionLinksByVersionId(long versionId)
public javax.ws.rs.core.Response deleteRemoteVersionLink(long versionId,
String globalId)
protected URI createSelfLink(RemoteVersionLink link)
AbstractRemoteEntityLinkResourceself URI for a link.createSelfLink in class AbstractRemoteEntityLinkResource<Version,RemoteVersionLink>link - the link to be rendered as a URICopyright © 2002-2022 Atlassian. All Rights Reserved.