com.atlassian.jira.issue.link
Class RemoteIssueLinkStoreImpl
java.lang.Object
com.atlassian.jira.issue.link.RemoteIssueLinkStoreImpl
- All Implemented Interfaces:
- RemoteIssueLinkStore
public class RemoteIssueLinkStoreImpl
- extends Object
- implements RemoteIssueLinkStore
Deals with DB operations on RemoteIssueLinks
- Since:
- v5.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
RemoteIssueLinkStoreImpl
public RemoteIssueLinkStoreImpl(EntityEngine entityEngine)
getRemoteIssueLink
public RemoteIssueLink getRemoteIssueLink(Long remoteIssueLinkId)
- Specified by:
getRemoteIssueLink in interface RemoteIssueLinkStore
getRemoteIssueLinksForIssue
public List<RemoteIssueLink> getRemoteIssueLinksForIssue(Issue issue)
- Specified by:
getRemoteIssueLinksForIssue in interface RemoteIssueLinkStore
getRemoteIssueLinksByGlobalId
public List<RemoteIssueLink> getRemoteIssueLinksByGlobalId(Issue issue,
String globalId)
- Description copied from interface:
RemoteIssueLinkStore
- 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.
- Specified by:
getRemoteIssueLinksByGlobalId in interface RemoteIssueLinkStore
- Parameters:
issue - issue to searchglobalId - globalId to search
- Returns:
- remote issue links sorted by id.
findRemoteIssueLinksByGlobalIds
public List<RemoteIssueLink> findRemoteIssueLinksByGlobalIds(Collection<String> globalIds)
- Description copied from interface:
RemoteIssueLinkStore
- 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.
- Specified by:
findRemoteIssueLinksByGlobalIds in interface RemoteIssueLinkStore
- Parameters:
globalIds - the globalIds to search
- Returns:
- remote issue links sorted by id.
createRemoteIssueLink
public RemoteIssueLink createRemoteIssueLink(RemoteIssueLink remoteIssueLink)
- Specified by:
createRemoteIssueLink in interface RemoteIssueLinkStore
updateRemoteIssueLink
public void updateRemoteIssueLink(RemoteIssueLink remoteIssueLink)
- Specified by:
updateRemoteIssueLink in interface RemoteIssueLinkStore
removeRemoteIssueLink
public void removeRemoteIssueLink(Long remoteIssueLinkId)
- Specified by:
removeRemoteIssueLink in interface RemoteIssueLinkStore
getTotalRemoteIssueLinkCountByGlobalId
public long getTotalRemoteIssueLinkCountByGlobalId(String globalId)
- Specified by:
getTotalRemoteIssueLinkCountByGlobalId in interface RemoteIssueLinkStore
Copyright © 2002-2014 Atlassian. All Rights Reserved.