Class ComponentQuickSearchHandler
java.lang.Object
com.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
com.atlassian.jira.issue.search.quicksearch.PrefixedSingleWordQuickSearchHandler
com.atlassian.jira.issue.search.quicksearch.ComponentQuickSearchHandler
- All Implemented Interfaces:
QuickSearchHandler
Quick search handler for components. Note that this handler needs to run after the Project Handler has run.
- Since:
- v3.13
-
Constructor Summary
ConstructorsConstructorDescriptionComponentQuickSearchHandler
(ProjectComponentManager projectComponentManager, ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext) -
Method Summary
Modifier and TypeMethodDescriptiongetAllNamesMatchingSubstring
(Collection projectComponents, String name) protected String
Gets the prefix this quick search handler handlesprotected Map
handleWordSuffix
(String wordSuffix, QuickSearchResult searchResult) Handle the word suffix (original word without the prefix)Methods inherited from class com.atlassian.jira.issue.search.quicksearch.PrefixedSingleWordQuickSearchHandler
handleWord
Methods inherited from class com.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
getIssueConstantByName, modifySearchResult
-
Constructor Details
-
ComponentQuickSearchHandler
public ComponentQuickSearchHandler(ProjectComponentManager projectComponentManager, ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext)
-
-
Method Details
-
handleWordSuffix
Description copied from class:PrefixedSingleWordQuickSearchHandler
Handle the word suffix (original word without the prefix)- Specified by:
handleWordSuffix
in classPrefixedSingleWordQuickSearchHandler
- Parameters:
wordSuffix
- the original word minus the prefixsearchResult
- search result- Returns:
- Map of search parameters
-
getPrefix
Description copied from class:PrefixedSingleWordQuickSearchHandler
Gets the prefix this quick search handler handles- Specified by:
getPrefix
in classPrefixedSingleWordQuickSearchHandler
- Returns:
- handled prefix
-
getAllNamesMatchingSubstring
-