public class DefaultArchivedIssueSearchService extends Object implements ArchivedIssueSearchService
ArchivedIssueSearchService.ArchiveSearchRequest, ArchivedIssueSearchService.ValidationResult
Constructor and Description |
---|
DefaultArchivedIssueSearchService(IssueFactory issueFactory,
ProjectManager projectManager,
OfBizDelegator ofBizDelegator,
GlobalPermissionManager globalPermissionManager,
JiraAuthenticationContext authenticationContext,
ProjectService projectService,
I18nHelper.BeanFactory i18nFactory,
ConstantsManager constantsManager) |
Modifier and Type | Method and Description |
---|---|
List<Issue> |
getArchivedIssuesMatchingTypesInProjects(List<Long> projectIds,
List<String> issueTypeIds)
For the projects specified by
projectIds , finds archived issues that are of the types given by
issueTypIds . |
static io.atlassian.fugue.Either<Long,String> |
parse(String projectKeyOrId) |
java.util.stream.Stream<ArchivedIssue> |
search(ArchivedIssueSearchService.ValidationResult validationResult)
Search for issues in archive using given criteria.
|
ArchivedIssueSearchService.ValidationResult |
validateSearch(ArchivedIssueSearchService.ArchiveSearchRequest request)
Validate search request
|
public DefaultArchivedIssueSearchService(IssueFactory issueFactory, ProjectManager projectManager, OfBizDelegator ofBizDelegator, GlobalPermissionManager globalPermissionManager, JiraAuthenticationContext authenticationContext, ProjectService projectService, I18nHelper.BeanFactory i18nFactory, ConstantsManager constantsManager)
public List<Issue> getArchivedIssuesMatchingTypesInProjects(List<Long> projectIds, List<String> issueTypeIds)
ArchivedIssueSearchService
projectIds
, finds archived issues that are of the types given by
issueTypIds
.
TO be removed after implementation of searching/browsing archived projects by using it's API insteadgetArchivedIssuesMatchingTypesInProjects
in interface ArchivedIssueSearchService
projectIds
- unique identifiers for the projects whose issues we'd like to inspect.issueTypeIds
- unique identifiers for the issue types that we're looking for instances of in the projects.issueTypeIds
public ArchivedIssueSearchService.ValidationResult validateSearch(ArchivedIssueSearchService.ArchiveSearchRequest request)
ArchivedIssueSearchService
validateSearch
in interface ArchivedIssueSearchService
request
- search requestpublic java.util.stream.Stream<ArchivedIssue> search(ArchivedIssueSearchService.ValidationResult validationResult)
ArchivedIssueSearchService
search
in interface ArchivedIssueSearchService
validationResult
- of search in serviceCopyright © 2002-2019 Atlassian. All Rights Reserved.