public class

SearchContextFactoryImpl

extends Object
implements SearchContextFactory
java.lang.Object
   ↳ com.atlassian.jira.issue.search.SearchContextFactoryImpl

Class Overview

Use this factory to construct a SearchContext.

Summary

Public Constructors
SearchContextFactoryImpl()
Public Methods
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.
SearchContext create()
Creates an empty SearchContext
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.search.SearchContextFactory

Public Constructors

public SearchContextFactoryImpl ()

Public Methods

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

public SearchContext create ()

Creates an empty SearchContext

Returns