public abstract class AbstractIssuePickerSearchProvider extends Object implements IssuePickerSearchProvider
Modifier | Constructor and Description |
---|---|
protected |
AbstractIssuePickerSearchProvider(IssueFactory issueFactory,
SearchProvider searchProvider,
ConstantsManager constantsManager,
LuceneQueryModifier modifier) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getId()
This returns a simple ID of the results, used mainly for html tag ids
|
protected abstract String |
getLabelKey()
This returns the label key of the results, eg why type of results are they.
|
protected abstract SearchRequest |
getRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams)
Return the search that this provider uses as its view of all issues.
|
IssuePickerResults |
getResults(JiraServiceContext context,
IssuePickerSearchService.IssuePickerParameters issuePickerParams,
int maxIssueCount)
Returns a list of issues matching the query string
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlesParameters
protected AbstractIssuePickerSearchProvider(IssueFactory issueFactory, SearchProvider searchProvider, ConstantsManager constantsManager, LuceneQueryModifier modifier)
public IssuePickerResults getResults(JiraServiceContext context, IssuePickerSearchService.IssuePickerParameters issuePickerParams, int maxIssueCount)
IssuePickerSearchProvider
getResults
in interface IssuePickerSearchProvider
context
- service contextissuePickerParams
- params for issue pickermaxIssueCount
- Number of issues still needed.IssuePickerSearchProvider
protected abstract String getLabelKey()
protected abstract String getId()
protected abstract SearchRequest getRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams)
issuePickerParams
- the paramaters from the issue picker.Copyright © 2002-2021 Atlassian. All Rights Reserved.