public interface

SearchContextFactory

com.atlassian.jira.issue.search.SearchContextFactory
Known Indirect Subclasses

Class Overview

Use this factory to construct a SearchContext.

Summary

Public Methods
SearchContext create()
Creates an empty SearchContext
SearchContext create(SearchContext searchContext)
Creates a search context based on the given SearchContext.
SearchContext create(List projectCategoryIds, List projectIds, List issueTypeIds)
Creates a SearchContext with the given project categories, projects and issue types.

Public Methods

public SearchContext create ()

Creates an empty SearchContext

Returns

public SearchContext create (SearchContext searchContext)

Creates a search context based on the given SearchContext.

Parameters
searchContext an existing SearchContext.
Returns

public SearchContext create (List projectCategoryIds, List projectIds, List issueTypeIds)

Creates a SearchContext with the given project categories, projects and issue types.

Parameters
projectCategoryIds the ids of the project categories.
projectIds the project ids.
issueTypeIds the issue type ids.
Returns