com.atlassian.jira.issue.search.quicksearch
Class VersionQuickSearchHandler
java.lang.Object
com.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
com.atlassian.jira.issue.search.quicksearch.PrefixedSingleWordQuickSearchHandler
com.atlassian.jira.issue.search.quicksearch.VersionQuickSearchHandler
- All Implemented Interfaces:
- QuickSearchHandler
- Direct Known Subclasses:
- FixForQuickSearchHandler, RaisedInVersionQuickSearchHandler
public abstract class VersionQuickSearchHandler
- extends PrefixedSingleWordQuickSearchHandler
Note that this handler needs to run after the Project Handler has run.
Method Summary |
protected void |
getAllNamesMatchingSubstring(java.util.Collection versions,
java.lang.String name,
java.util.Map existingVersions)
|
protected abstract java.lang.String |
getPrefix()
Gets the prefix this quick search handler handles |
protected abstract java.lang.String |
getSearchParamName()
|
protected java.util.Map |
handleWordSuffix(java.lang.String wordSuffix,
QuickSearchResult searchResult)
Handle the word suffix (original word without the prefix) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionQuickSearchHandler
public VersionQuickSearchHandler(VersionManager versionManager,
ProjectManager projectManager,
PermissionManager permissionManager,
JiraAuthenticationContext authenticationContext)
handleWordSuffix
protected java.util.Map handleWordSuffix(java.lang.String wordSuffix,
QuickSearchResult searchResult)
- Description copied from class:
PrefixedSingleWordQuickSearchHandler
- Handle the word suffix (original word without the prefix)
- Specified by:
handleWordSuffix
in class PrefixedSingleWordQuickSearchHandler
- Parameters:
wordSuffix
- the original word minus the prefixsearchResult
- search result
- Returns:
- Map of search parameters
getAllNamesMatchingSubstring
protected void getAllNamesMatchingSubstring(java.util.Collection versions,
java.lang.String name,
java.util.Map existingVersions)
getPrefix
protected abstract java.lang.String getPrefix()
- Description copied from class:
PrefixedSingleWordQuickSearchHandler
- Gets the prefix this quick search handler handles
- Specified by:
getPrefix
in class PrefixedSingleWordQuickSearchHandler
- Returns:
- handled prefix
getSearchParamName
protected abstract java.lang.String getSearchParamName()
Copyright © 2002-2010 Atlassian. All Rights Reserved.