com.atlassian.jira.issue.fields.rest
Class IssueFinderImpl
java.lang.Object
com.atlassian.jira.issue.fields.rest.IssueFinderImpl
- All Implemented Interfaces:
- IssueFinder
public class IssueFinderImpl
- extends Object
- implements IssueFinder
Finds issues by id or key.
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueFinderImpl
public IssueFinderImpl(JiraAuthenticationContext authContext,
IssueManager issueManager,
ChangeHistoryManager changeHistoryManager,
PermissionManager permissionManager)
findIssue
public MutableIssue findIssue(@Nonnull
IssueRefJsonBean issueRef,
@Nonnull
ErrorCollection errorCollection)
- Description copied from interface:
IssueFinder
- Finds an issue based on the passed-in id or key.
- Specified by:
findIssue
in interface IssueFinder
- Parameters:
issueRef
- an IssueRefJsonBean that contains either an id or keyerrorCollection
- an ErrorCollection where any errors will be added
- Returns:
- an Issue or null
findIssue
public MutableIssue findIssue(@Nonnull
String issueIdOrKey,
@Nonnull
ErrorCollection errorCollection)
- Description copied from interface:
IssueFinder
- Finds an issue based on the passed-in id or key.
- Specified by:
findIssue
in interface IssueFinder
- Parameters:
issueIdOrKey
- a string that may be an an id or keyerrorCollection
- an ErrorCollection where any errors will be added
- Returns:
- an Issue or null
findIssueById
public MutableIssue findIssueById(@Nonnull
Long id,
@Nonnull
ErrorCollection errorCollection)
findIssueByKey
public MutableIssue findIssueByKey(@Nonnull
String key,
@Nonnull
ErrorCollection errorCollection)
Copyright © 2002-2012 Atlassian. All Rights Reserved.