Class SearchIssuePickerSearchProvider
java.lang.Object
com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
com.atlassian.jira.bc.issue.search.SearchIssuePickerSearchProvider
- All Implemented Interfaces:
IssuePickerSearchProvider
This search provider uses the current Jira search plus it uses search query objects to wildcard on issue key and summary.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext, ConstantsManager constantsManager, SearchService searchService) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetId()This returns a simple ID of the results, used mainly for html tag idsprotected StringThis returns the label key of the results, eg why type of results are they.protected SearchRequestgetRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams) Return the search that this provider uses as its view of all issues.booleanhandlesParameters(ApplicationUser searcher, IssuePickerSearchService.IssuePickerParameters issuePickerParams) Indicates to the caller whether or not this provider can handle the passed parameters.Methods inherited from class com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
getResults
-
Constructor Details
-
SearchIssuePickerSearchProvider
public SearchIssuePickerSearchProvider(JiraAuthenticationContext authenticationContext, ConstantsManager constantsManager, SearchService searchService) - Parameters:
authenticationContext- The auth context used to get current UserconstantsManager- ConstantsManagersearchService- The search service sued to construct a serch Query- See Also:
-
-
Method Details
-
getId
Description copied from class:AbstractIssuePickerSearchProviderThis returns a simple ID of the results, used mainly for html tag ids- Specified by:
getIdin classAbstractIssuePickerSearchProvider- Returns:
- an i18n key.
-
getLabelKey
Description copied from class:AbstractIssuePickerSearchProviderThis returns the label key of the results, eg why type of results are they.- Specified by:
getLabelKeyin classAbstractIssuePickerSearchProvider- Returns:
- an i18n key.
-
getRequest
protected SearchRequest getRequest(IssuePickerSearchService.IssuePickerParameters issuePickerParams) Description copied from class:AbstractIssuePickerSearchProviderReturn the search that this provider uses as its view of all issues.- Specified by:
getRequestin classAbstractIssuePickerSearchProvider- Parameters:
issuePickerParams- the paramaters from the issue picker.- Returns:
- the search request that returns all issues the provide sees and works with.
-
handlesParameters
public boolean handlesParameters(ApplicationUser searcher, IssuePickerSearchService.IssuePickerParameters issuePickerParams) Description copied from interface:IssuePickerSearchProviderIndicates to the caller whether or not this provider can handle the passed parameters.- Parameters:
searcher- the user performing the search.issuePickerParams- the parameters to check.- Returns:
- true if the provider can handle the passed parameters false otherwise.
-