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)
-
Field Summary
Fields inherited from class com.atlassian.jira.rest.v2.entity.AbstractRemoteEntityLinkResource
contextUriInfo, i18n, jiraAuthenticationContext, jsonEntityPropertyManager -
Constructor Summary
ConstructorsConstructorDescriptionRemoteVersionLinkResource(I18nHelper i18n, JiraAuthenticationContext jiraAuthenticationContext, RemoteVersionLinkService remoteVersionLinkService, JsonEntityPropertyManager jsonEntityPropertyManager, jakarta.ws.rs.core.UriInfo contextUriInfo, ResourceUriBuilder resourceUriBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected URIForms theselfURI for a link.jakarta.ws.rs.core.ResponsedeleteRemoteVersionLink(long versionId, String globalId) jakarta.ws.rs.core.ResponsedeleteRemoteVersionLinksByVersionId(long versionId) jakarta.ws.rs.core.ResponsegetRemoteVersionLink(long versionId, String globalId) jakarta.ws.rs.core.ResponsegetRemoteVersionLinksByGlobalId(String globalId) jakarta.ws.rs.core.ResponsegetRemoteVersionLinksByVersionId(long versionId) jakarta.ws.rs.core.ResponseputRemoteVersionLink(long versionId, String globalId, String json) Methods inherited from class com.atlassian.jira.rest.v2.entity.AbstractRemoteEntityLinkResource
getUser, toBean, toBean, toResponse, toResponse, toResponse, toSuccessfulDeleteResponse, toSuccessfulPostResponse, valid
-
Constructor Details
-
RemoteVersionLinkResource
@Inject public RemoteVersionLinkResource(I18nHelper i18n, JiraAuthenticationContext jiraAuthenticationContext, RemoteVersionLinkService remoteVersionLinkService, JsonEntityPropertyManager jsonEntityPropertyManager, jakarta.ws.rs.core.UriInfo contextUriInfo, ResourceUriBuilder resourceUriBuilder)
-
-
Method Details
-
getRemoteVersionLink
-
getRemoteVersionLinksByVersionId
public jakarta.ws.rs.core.Response getRemoteVersionLinksByVersionId(long versionId) -
getRemoteVersionLinksByGlobalId
-
putRemoteVersionLink
-
deleteRemoteVersionLinksByVersionId
public jakarta.ws.rs.core.Response deleteRemoteVersionLinksByVersionId(long versionId) -
deleteRemoteVersionLink
-
createSelfLink
Description copied from class:AbstractRemoteEntityLinkResourceForms theselfURI for a link.- Specified by:
createSelfLinkin classAbstractRemoteEntityLinkResource<Version,RemoteVersionLink> - Parameters:
link- the link to be rendered as a URI- Returns:
- the self URI for the link
-