|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.rest.v2.issue.RemoteIssueLinkResource
public class RemoteIssueLinkResource
Responsible for handling REST calls relating to remote issue links.
Constructor Summary | |
---|---|
RemoteIssueLinkResource(RemoteIssueLinkService remoteIssueLinkService,
BeanBuilderFactory beanBuilderFactory,
ContextI18n i18n,
JiraAuthenticationContext jiraAuthenticationContext)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
createOrUpdateRemoteIssueLink(Issue issue,
RemoteIssueLinkCreateOrUpdateRequest request,
ContextUriInfo contextUriInfo)
Creates or updates a remote issue link from a JSON representation. |
javax.ws.rs.core.Response |
deleteRemoteIssueLinkByGlobalId(Issue issue,
String globalId)
|
javax.ws.rs.core.Response |
deleteRemoteIssueLinkById(Issue issue,
String idString)
Deletes a remote issue link. |
javax.ws.rs.core.Response |
getRemoteIssueLinkById(Issue issue,
String idString)
Gets the remote issue link with the given id for the given issue. |
javax.ws.rs.core.Response |
getRemoteIssueLinks(Issue issue,
String globalId)
Gets all the remote issue links for the given issue, and filter by the other parameters. |
javax.ws.rs.core.Response |
updateRemoteIssueLink(Issue issue,
String idString,
RemoteIssueLinkCreateOrUpdateRequest request)
Updates a remote issue link. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteIssueLinkResource(RemoteIssueLinkService remoteIssueLinkService, BeanBuilderFactory beanBuilderFactory, ContextI18n i18n, JiraAuthenticationContext jiraAuthenticationContext)
Method Detail |
---|
public javax.ws.rs.core.Response getRemoteIssueLinks(Issue issue, String globalId)
issue
- the issueglobalId
- if not null, return only the remote issue link with this globalId
public javax.ws.rs.core.Response getRemoteIssueLinkById(Issue issue, String idString)
issue
- the issueidString
- the id of the remote issue link
public javax.ws.rs.core.Response createOrUpdateRemoteIssueLink(Issue issue, RemoteIssueLinkCreateOrUpdateRequest request, ContextUriInfo contextUriInfo)
issue
- the issue to create the link withrequest
- the request, containing the values of the remote issue link to be created/updatedcontextUriInfo
- uri context, for building the self link
public javax.ws.rs.core.Response updateRemoteIssueLink(Issue issue, String idString, RemoteIssueLinkCreateOrUpdateRequest request)
issue
- the issue to update the link withidString
- the id of the remote issue linkrequest
- the request, containing the values of the remote issue link to be updated
public javax.ws.rs.core.Response deleteRemoteIssueLinkById(Issue issue, String idString)
issue
- the issueidString
- the id of the remote issue link
public javax.ws.rs.core.Response deleteRemoteIssueLinkByGlobalId(Issue issue, String globalId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |