public class

ComponentQuickSearchHandler

extends PrefixedSingleWordQuickSearchHandler
java.lang.Object
   ↳ com.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
     ↳ com.atlassian.jira.issue.search.quicksearch.PrefixedSingleWordQuickSearchHandler
       ↳ com.atlassian.jira.issue.search.quicksearch.ComponentQuickSearchHandler

Class Overview

Quick search handler for components. Note that this handler needs to run after the Project Handler has run.

Summary

Public Constructors
ComponentQuickSearchHandler(ProjectComponentManager projectComponentManager, ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext)
Protected Methods
Set<String> getAllNamesMatchingSubstring(Collection projectComponents, String name)
String getPrefix()
Gets the prefix this quick search handler handles
Map handleWordSuffix(String wordSuffix, QuickSearchResult searchResult)
Handle the word suffix (original word without the prefix)
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.search.quicksearch.PrefixedSingleWordQuickSearchHandler
From class com.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
From class java.lang.Object
From interface com.atlassian.jira.issue.search.quicksearch.QuickSearchHandler

Public Constructors

public ComponentQuickSearchHandler (ProjectComponentManager projectComponentManager, ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext)

Protected Methods

protected Set<String> getAllNamesMatchingSubstring (Collection projectComponents, String name)

protected String getPrefix ()

Gets the prefix this quick search handler handles

Returns
  • handled prefix

protected Map handleWordSuffix (String wordSuffix, QuickSearchResult searchResult)

Handle the word suffix (original word without the prefix)

Parameters
wordSuffix the original word minus the prefix
searchResult search result
Returns
  • Map of search parameters