com.atlassian.jira.bc.issue.search
Class LuceneCurrentSearchIssuePickerSearchProvider

java.lang.Object
  extended by com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
      extended by com.atlassian.jira.bc.issue.search.LuceneCurrentSearchIssuePickerSearchProvider
All Implemented Interfaces:
IssuePickerSearchProvider

public class LuceneCurrentSearchIssuePickerSearchProvider
extends AbstractIssuePickerSearchProvider

This search provider uses the current JIRA search plus it uses Lucene query objects to wild card on issue key and summary.


Constructor Summary
LuceneCurrentSearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider, ConstantsManager constantsManager, SearchService searchService)
           
 
Method Summary
protected  String getId()
          This returns a simple ID of the results, used mainly for html tag ids
protected  String getLabelKey()
          This returns the label key of the results, eg why type of results are they.
protected  SearchRequest getRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams)
           
 
Methods inherited from class com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
getNoSortRequest, getResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneCurrentSearchIssuePickerSearchProvider

public LuceneCurrentSearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext,
                                                    SearchProvider searchProvider,
                                                    ConstantsManager constantsManager,
                                                    SearchService searchService)
Parameters:
authenticationContext - The auth context used to get current User
searchProvider - the SearcProvider to do actual searching
constantsManager - ConstantsManager
searchService - The search service sued to construct a serch Query
See Also:
IssuePickerSearchProvider
Method Detail

getId

protected String getId()
Description copied from class: AbstractIssuePickerSearchProvider
This returns a simple ID of the results, used mainly for html tag ids

Specified by:
getId in class AbstractIssuePickerSearchProvider
Returns:
an i18n key.

getLabelKey

protected String getLabelKey()
Description copied from class: AbstractIssuePickerSearchProvider
This returns the label key of the results, eg why type of results are they.

Specified by:
getLabelKey in class AbstractIssuePickerSearchProvider
Returns:
an i18n key.

getRequest

protected SearchRequest getRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams)
Specified by:
getRequest in class AbstractIssuePickerSearchProvider


Copyright © 2002-2009 Atlassian. All Rights Reserved.