com.atlassian.jira.issue.search.quicksearch
Class VersionQuickSearchHandler

java.lang.Object
  extended bycom.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
      extended bycom.atlassian.jira.issue.search.quicksearch.VersionQuickSearchHandler
All Implemented Interfaces:
QuickSearchHandler
Direct Known Subclasses:
FixForQuickSearchHandler, RaisedInVersionQuickSearchHandler

public abstract class VersionQuickSearchHandler
extends SingleWordQuickSearchHandler

Note that this handler needs to run after the Project Handler has run.


Constructor Summary
VersionQuickSearchHandler(VersionManager versionManager, ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
protected  void getAllNamesMatchingSubstring(Collection genericValues, String name, Map existingVersions)
           
protected abstract  String getPrefix()
           
protected abstract  String getSearchParamName()
           
protected  Map handleWord(String word, QuickSearchResult searchResult)
          Hanldle a single word, and return a map of parameters
 
Methods inherited from class com.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
getByName, modifySearchResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionQuickSearchHandler

public VersionQuickSearchHandler(VersionManager versionManager,
                                 ProjectManager projectManager,
                                 PermissionManager permissionManager,
                                 JiraAuthenticationContext authenticationContext)
Method Detail

handleWord

protected Map handleWord(String word,
                         QuickSearchResult searchResult)
Description copied from class: SingleWordQuickSearchHandler
Hanldle a single word, and return a map of parameters

Specified by:
handleWord in class SingleWordQuickSearchHandler
Parameters:
word - A single word - guaranteed to not be null
searchResult - The existing search result
Returns:
A Map of parameters that can be used as a URL.

getAllNamesMatchingSubstring

protected void getAllNamesMatchingSubstring(Collection genericValues,
                                            String name,
                                            Map existingVersions)

getPrefix

protected abstract String getPrefix()

getSearchParamName

protected abstract String getSearchParamName()


Copyright © 2002-2006 Atlassian. All Rights Reserved.