public class LuceneCurrentSearchIssuePickerSearchProvider extends AbstractIssuePickerSearchProvider
| Constructor and Description |
|---|
LuceneCurrentSearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext,
IssueFactory issueFactory,
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.
|
getResultspublic LuceneCurrentSearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext, IssueFactory issueFactory, 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.IssuePickerSearchProviderprotected String getId()
AbstractIssuePickerSearchProvidergetId in class AbstractIssuePickerSearchProviderprotected String getLabelKey()
AbstractIssuePickerSearchProvidergetLabelKey in class AbstractIssuePickerSearchProviderprotected SearchRequest getRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams)
AbstractIssuePickerSearchProvidergetRequest in class AbstractIssuePickerSearchProviderissuePickerParams - the paramaters from the issue picker.public boolean handlesParameters(ApplicationUser searcher, IssuePickerSearchService.IssuePickerParameters issuePickerParams)
IssuePickerSearchProvidersearcher - the user performing the search.issuePickerParams - the parameters to check.Copyright © 2002-2022 Atlassian. All Rights Reserved.