Package com.atlassian.jira.issue.link
Interface RemoteIssueLinkStore
- All Known Implementing Classes:
MemoryRemoteIssueLinkStore,RemoteIssueLinkStoreImpl
public interface RemoteIssueLinkStore
Deals with DB operations on RemoteIssueLinks
- Since:
- v5.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateRemoteIssueLink(RemoteIssueLink remoteIssueLink) findRemoteIssueLinksByGlobalIds(Collection<String> globalIds) Returns remote issue links in given issue with any of the given globalIds, sorted by id.getRemoteIssueLink(Long remoteIssueLinkId) getRemoteIssueLinksByGlobalId(Issue issue, String globalId) Returns remote issue links in given issue with given globalId sorted by id.getRemoteIssueLinksForIssue(Issue issue) longgetTotalRemoteIssueLinkCountByGlobalId(String globalId) voidremoveRemoteIssueLink(Long remoteIssueLinkId) voidupdateRemoteIssueLink(RemoteIssueLink remoteIssueLink)
-
Method Details
-
getRemoteIssueLink
-
getRemoteIssueLinksForIssue
-
getRemoteIssueLinksByGlobalId
Returns remote issue links in given issue with given globalId sorted by id.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.
- Parameters:
issue- issue to searchglobalId- globalId to search- Returns:
- remote issue links sorted by id.
-
findRemoteIssueLinksByGlobalIds
Returns remote issue links in given issue with any of the given globalIds, sorted by id.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.
- Parameters:
globalIds- the globalIds to search- Returns:
- remote issue links sorted by id.
- Since:
- v6.1
-
createRemoteIssueLink
-
updateRemoteIssueLink
-
removeRemoteIssueLink
-
getTotalRemoteIssueLinkCountByGlobalId
-