com.atlassian.jira.issue.search
Class SearchContextFactoryImpl

java.lang.Object
  extended by com.atlassian.jira.issue.search.SearchContextFactoryImpl
All Implemented Interfaces:
SearchContextFactory

public class SearchContextFactoryImpl
extends Object
implements SearchContextFactory

Use this factory to construct a SearchContext.

Since:
v5.0

Constructor Summary
SearchContextFactoryImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchContextFactoryImpl

public SearchContextFactoryImpl()
Method Detail

create

public SearchContext create(List projectCategoryIds,
                            List projectIds,
                            List issueTypeIds)
Description copied from interface: SearchContextFactory
Creates a SearchContext with the given project categories, projects and issue types.

Specified by:
create in interface SearchContextFactory
Parameters:
projectCategoryIds - the ids of the project categories.
projectIds - the project ids.
issueTypeIds - the issue type ids.
Returns:
the SearchContext

create

public SearchContext create()
Description copied from interface: SearchContextFactory
Creates an empty SearchContext

Specified by:
create in interface SearchContextFactory
Returns:
the SearchContext

create

public SearchContext create(SearchContext searchContext)
Description copied from interface: SearchContextFactory
Creates a search context based on the given SearchContext.

Specified by:
create in interface SearchContextFactory
Parameters:
searchContext - an existing SearchContext.
Returns:
a new SearchContext based on the given search context.


Copyright © 2002-2014 Atlassian. All Rights Reserved.