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
 SearchContext create()
          Creates an empty SearchContext
 SearchContext create(List projectCategoryIds, List projectIds, List issueTypeIds)
          Creates a SearchContext with the given project categories, projects and issue types.
 SearchContext create(SearchContext searchContext)
          Creates a search context based on the given SearchContext.
 

Method Detail

create

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:
the SearchContext

create

SearchContext create()
Creates an empty SearchContext

Returns:
the SearchContext

create

SearchContext create(SearchContext searchContext)
Creates a search context based on the given SearchContext.

Parameters:
searchContext - an existing SearchContext.
Returns:
a new SearchContext based on the given search context.


Copyright © 2002-2012 Atlassian. All Rights Reserved.