Package com.atlassian.jira.issue.search
Interface SearchContextFactory
- All Known Implementing Classes:
SearchContextFactoryImpl
public interface SearchContextFactory
Use this factory to construct a
SearchContext.- Since:
- v5.0
-
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates an emptySearchContextcreate(SearchContext searchContext) Creates a search context based on the givenSearchContext.Creates aSearchContextwith the given project categories, projects and issue types.
-
Method Details
-
create
Creates aSearchContextwith 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:
- the
SearchContext
-
create
SearchContext create()Creates an emptySearchContext- Returns:
- the
SearchContext
-
create
Creates a search context based on the givenSearchContext.- Parameters:
searchContext- an existingSearchContext.- Returns:
- a new
SearchContextbased on the given search context.
-