public class JqlIssueSupportImpl extends Object implements JqlIssueSupport
JqlIssueSupport.| Constructor and Description |
|---|
JqlIssueSupportImpl(IssueManager issueManager,
PermissionManager permissionManager) |
| Modifier and Type | Method and Description |
|---|---|
Set<Long> |
getIdsOfMissingIssues(Set<Long> issueIds)
Check existence of issues for the given set of IDs
|
Issue |
getIssue(long id)
Get the issue given its id.
|
Issue |
getIssue(long id,
ApplicationUser user)
Get the issue given its id if the passed user can see it.
|
Issue |
getIssue(String issueKey)
Get the issue with the passed key.
|
Issue |
getIssue(String issueKey,
ApplicationUser user)
Get the issue with the passed key if the passed user can see it.
|
List<Issue> |
getIssues(String issueKey)
Get the issues with the passed key.
|
List<Issue> |
getIssues(String issueKey,
ApplicationUser user)
Get the issues with the passed key if the passed user can see it.
|
Set<String> |
getKeysOfMissingIssues(Set<String> issueKeys)
Check existence of issues for the given set of keys
|
Set<Pair<Long,String>> |
getProjectIssueTypePairsByIds(Set<Long> issueIds)
Returns a set of project ID / issue type combinations that given issue IDs cover.
|
Set<Pair<Long,String>> |
getProjectIssueTypePairsByKeys(Set<String> issueKeys)
Returns a set of project ID / issue type combinations that given issue keys cover.
|
public JqlIssueSupportImpl(IssueManager issueManager, PermissionManager permissionManager)
public Issue getIssue(long id, ApplicationUser user)
JqlIssueSupportgetIssue in interface JqlIssueSupportid - the id of the issue to retreieve. A null key is assumed not to exist within JIRA.user - the user who must have permission to see the issue.public Issue getIssue(long id)
JqlIssueSupportgetIssue in interface JqlIssueSupportid - the id of the issue to retrieve.public List<Issue> getIssues(String issueKey, ApplicationUser user)
JqlIssueSupportgetIssues in interface JqlIssueSupportissueKey - they key of the issue to retrieve. A null key is assumed not to exist within JIRA.user - the user who must have permission to see the issue.for a version with no permission checkpublic List<Issue> getIssues(String issueKey)
JqlIssueSupportgetIssues in interface JqlIssueSupportissueKey - they key of the issue to retreieve. A null key is assumed not to exist within JIRA.for a version with permission checkspublic Issue getIssue(String issueKey, ApplicationUser user)
JqlIssueSupportgetIssue in interface JqlIssueSupportissueKey - they key of the issue to retrieve. A null key is assumed not to exist within JIRA.user - the user who must have permission to see the issue.for a version with no permission checkpublic Issue getIssue(String issueKey)
JqlIssueSupportgetIssue in interface JqlIssueSupportissueKey - they key of the issue to retrieve. A null key is assumed not to exist within JIRA.for a version with permission checks@Nonnull public Set<Pair<Long,String>> getProjectIssueTypePairsByKeys(@Nonnull Set<String> issueKeys)
JqlIssueSupportgetProjectIssueTypePairsByKeys in interface JqlIssueSupportissueKeys - Set of issue keys@Nonnull public Set<Pair<Long,String>> getProjectIssueTypePairsByIds(@Nonnull Set<Long> issueIds)
JqlIssueSupportgetProjectIssueTypePairsByIds in interface JqlIssueSupportissueIds - Set of issue IDs@Nonnull public Set<String> getKeysOfMissingIssues(@Nonnull Set<String> issueKeys)
JqlIssueSupportgetKeysOfMissingIssues in interface JqlIssueSupportissueKeys - Set of issue keys@Nonnull public Set<Long> getIdsOfMissingIssues(@Nonnull Set<Long> issueIds)
JqlIssueSupportgetIdsOfMissingIssues in interface JqlIssueSupportissueIds - Set of issue IDsCopyright © 2002-2024 Atlassian. All Rights Reserved.