public class LuceneCurrentSearchIssuePickerSearchProvider extends AbstractIssuePickerSearchProvider
Constructor and Description |
---|
LuceneCurrentSearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext,
SearchProvider searchProvider,
ConstantsManager constantsManager,
SearchService searchService,
LuceneQueryModifier modifier) |
Modifier and Type | Method and Description |
---|---|
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)
Return the search that this provider uses as its view of all issues.
|
boolean |
handlesParameters(ApplicationUser searcher,
IssuePickerSearchService.IssuePickerParameters issuePickerParams)
Indicates to the caller whether or not this provider can handle the passed parameters.
|
getResults
public LuceneCurrentSearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider, ConstantsManager constantsManager, SearchService searchService, LuceneQueryModifier modifier)
authenticationContext
- The auth context used to get current UsersearchProvider
- the SearcProvider to do actual searchingconstantsManager
- ConstantsManagersearchService
- The search service sued to construct a serch Querymodifier
- Helps rewrite the lucene query so that "NOTs" work as expected.IssuePickerSearchProvider
protected String getId()
AbstractIssuePickerSearchProvider
getId
in class AbstractIssuePickerSearchProvider
protected String getLabelKey()
AbstractIssuePickerSearchProvider
getLabelKey
in class AbstractIssuePickerSearchProvider
protected SearchRequest getRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams)
AbstractIssuePickerSearchProvider
getRequest
in class AbstractIssuePickerSearchProvider
issuePickerParams
- the paramaters from the issue picker.public boolean handlesParameters(ApplicationUser searcher, IssuePickerSearchService.IssuePickerParameters issuePickerParams)
IssuePickerSearchProvider
searcher
- the user performing the search.issuePickerParams
- the parameters to check.Copyright © 2002-2015 Atlassian. All Rights Reserved.