public interface RemoteIssueLinkStore
Modifier and Type | Method and Description |
---|---|
RemoteIssueLink |
createRemoteIssueLink(RemoteIssueLink remoteIssueLink) |
List<RemoteIssueLink> |
findRemoteIssueLinksByGlobalIds(Collection<String> globalIds)
Returns remote issue links in given issue with any of the given globalIds, sorted by id.
|
RemoteIssueLink |
getRemoteIssueLink(Long remoteIssueLinkId) |
List<RemoteIssueLink> |
getRemoteIssueLinksByGlobalId(Issue issue,
String globalId)
Returns remote issue links in given issue with given globalId sorted by id.
|
List<RemoteIssueLink> |
getRemoteIssueLinksForIssue(Issue issue) |
long |
getTotalRemoteIssueLinkCountByGlobalId(String globalId) |
void |
removeRemoteIssueLink(Long remoteIssueLinkId) |
void |
updateRemoteIssueLink(RemoteIssueLink remoteIssueLink) |
RemoteIssueLink getRemoteIssueLink(Long remoteIssueLinkId)
List<RemoteIssueLink> getRemoteIssueLinksForIssue(Issue issue)
List<RemoteIssueLink> getRemoteIssueLinksByGlobalId(Issue issue, String globalId)
As the index for enforcing these to be unique would be too long, we have to get by without, and presume that duplicates might appear any time.
issue
- issue to searchglobalId
- globalId to searchList<RemoteIssueLink> findRemoteIssueLinksByGlobalIds(Collection<String> globalIds)
As the index for enforcing these to be unique would be too long, we have to get by without, and presume that duplicates might appear any time.
globalIds
- the globalIds to searchRemoteIssueLink createRemoteIssueLink(RemoteIssueLink remoteIssueLink)
void updateRemoteIssueLink(RemoteIssueLink remoteIssueLink)
void removeRemoteIssueLink(Long remoteIssueLinkId)
long getTotalRemoteIssueLinkCountByGlobalId(String globalId)
Copyright © 2002-2017 Atlassian. All Rights Reserved.