public class

LuceneCurrentSearchIssuePickerSearchProvider

extends AbstractIssuePickerSearchProvider
java.lang.Object
   ↳ com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
     ↳ com.atlassian.jira.bc.issue.search.LuceneCurrentSearchIssuePickerSearchProvider

Class Overview

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

Summary

Public Constructors
LuceneCurrentSearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider, ConstantsManager constantsManager, SearchService searchService, LuceneQueryModifier modifier)
Public Methods
boolean handlesParameters(ApplicationUser searcher, IssuePickerSearchService.IssuePickerParameters issuePickerParams)
Protected Methods
String getId()
This returns a simple ID of the results, used mainly for html tag ids
String getLabelKey()
This returns the label key of the results, eg why type of results are they.
SearchRequest getRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams)
Return the search that this provider uses as its view of all issues.
[Expand]
Inherited Methods
From class com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
From class java.lang.Object
From interface com.atlassian.jira.bc.issue.search.IssuePickerSearchProvider

Public Constructors

public LuceneCurrentSearchIssuePickerSearchProvider (JiraAuthenticationContext authenticationContext, SearchProvider searchProvider, ConstantsManager constantsManager, SearchService searchService, LuceneQueryModifier modifier)

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
modifier Helps rewrite the lucene query so that "NOTs" work as expected.

Public Methods

public boolean handlesParameters (ApplicationUser searcher, IssuePickerSearchService.IssuePickerParameters issuePickerParams)

Protected Methods

protected String getId ()

This returns a simple ID of the results, used mainly for html tag ids

Returns
  • an i18n key.

protected String getLabelKey ()

This returns the label key of the results, eg why type of results are they.

Returns
  • an i18n key.

protected SearchRequest getRequest (IssuePickerSearchService.IssuePickerParameters issuePickerParams)

Return the search that this provider uses as its view of all issues.

Parameters
issuePickerParams the paramaters from the issue picker.
Returns
  • the search request that returns all issues the provide sees and works with.