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
 RemoteIssueLink createRemoteIssueLink(RemoteIssueLink remoteIssueLink)
           
 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)
           
 void removeRemoteIssueLink(Long remoteIssueLinkId)
           
 void updateRemoteIssueLink(RemoteIssueLink remoteIssueLink)
           
 

Method Detail

getRemoteIssueLink

RemoteIssueLink getRemoteIssueLink(Long remoteIssueLinkId)

getRemoteIssueLinksForIssue

List<RemoteIssueLink> getRemoteIssueLinksForIssue(Issue issue)

getRemoteIssueLinksByGlobalId

List<RemoteIssueLink> getRemoteIssueLinksByGlobalId(Issue issue,
                                                    String globalId)
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 search
globalId - globalId to search
Returns:
remote issue links sorted by id.

createRemoteIssueLink

RemoteIssueLink createRemoteIssueLink(RemoteIssueLink remoteIssueLink)

updateRemoteIssueLink

void updateRemoteIssueLink(RemoteIssueLink remoteIssueLink)

removeRemoteIssueLink

void removeRemoteIssueLink(Long remoteIssueLinkId)


Copyright © 2002-2013 Atlassian. All Rights Reserved.