public class RemoteIssueLinkStoreImpl extends Object implements RemoteIssueLinkStore
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_NAME |
| Constructor and Description |
|---|
RemoteIssueLinkStoreImpl(EntityEngine entityEngine) |
| 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) |
public static final String ENTITY_NAME
public RemoteIssueLinkStoreImpl(EntityEngine entityEngine)
public RemoteIssueLink getRemoteIssueLink(Long remoteIssueLinkId)
getRemoteIssueLink in interface RemoteIssueLinkStorepublic List<RemoteIssueLink> getRemoteIssueLinksForIssue(Issue issue)
getRemoteIssueLinksForIssue in interface RemoteIssueLinkStorepublic List<RemoteIssueLink> getRemoteIssueLinksByGlobalId(Issue issue, String globalId)
RemoteIssueLinkStoreAs 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.
getRemoteIssueLinksByGlobalId in interface RemoteIssueLinkStoreissue - issue to searchglobalId - globalId to searchpublic List<RemoteIssueLink> findRemoteIssueLinksByGlobalIds(Collection<String> globalIds)
RemoteIssueLinkStoreAs 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.
findRemoteIssueLinksByGlobalIds in interface RemoteIssueLinkStoreglobalIds - the globalIds to searchpublic RemoteIssueLink createRemoteIssueLink(RemoteIssueLink remoteIssueLink)
createRemoteIssueLink in interface RemoteIssueLinkStorepublic void updateRemoteIssueLink(RemoteIssueLink remoteIssueLink)
updateRemoteIssueLink in interface RemoteIssueLinkStorepublic void removeRemoteIssueLink(Long remoteIssueLinkId)
removeRemoteIssueLink in interface RemoteIssueLinkStorepublic long getTotalRemoteIssueLinkCountByGlobalId(String globalId)
getTotalRemoteIssueLinkCountByGlobalId in interface RemoteIssueLinkStoreCopyright © 2002-2018 Atlassian. All Rights Reserved.