com.atlassian.jira.issue.search.managers
Interface IssueSearcherManager

All Known Implementing Classes:
DefaultIssueSearcherManager

public interface IssueSearcherManager

Manager to obtain a list of IssueSearcher objects as well as SearcherGroup collections


Method Summary
 Collection getAllSearchers()
           
 SearchContextSearcher getSearchContextSearcher()
           
 Collection getSearcherGroups(SearchContext searchContext)
          Get all searcher groups with the IssueSearcher that are applicable for the context.
 Collection getSearchers(SearchContext context)
          Get searchers that are applicable for a given context.
 void refresh()
          Refreshes the IssueSearcher cache
 

Method Detail

getSearchers

public Collection getSearchers(SearchContext context)
Get searchers that are applicable for a given context. This is found through the IssueSearcher.isShown(SearchContext) method

Parameters:
context - for the list of searchers. Must not be null
Returns:
Collection of IssueSearcher

getAllSearchers

public Collection getAllSearchers()

getSearcherGroups

public Collection getSearcherGroups(SearchContext searchContext)
Get all searcher groups with the IssueSearcher that are applicable for the context. IssueSearcher.isShown(SearchContext) method. Note that the SearcherGroup will still appear even if no IssueSearcher are shown for the group.

Parameters:
searchContext -
Returns:
Collection of SearcherGroup

refresh

public void refresh()
Refreshes the IssueSearcher cache


getSearchContextSearcher

public SearchContextSearcher getSearchContextSearcher()


Copyright © 2002-2006 Atlassian. All Rights Reserved.