Class DateQuickSearchHandler

  extended by
      extended by
All Implemented Interfaces:
Direct Known Subclasses:
CreatedQuickSearchHandler, UpdatedQuickSearchHandler

public abstract class DateQuickSearchHandler
extends SingleWordQuickSearchHandler

A date searcher that can handle QuickSearches of the type field:<param> where param is one of:

Note that relative dates are separated by a comma, and they cannot contain any spaces. Therefore only one time slice is allowed.

Constructor Summary
protected DateQuickSearchHandler(DateTimeFormatterFactory dateTimeFormatterFactory)
Method Summary
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
getByName, modifySearchResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


protected DateQuickSearchHandler(DateTimeFormatterFactory dateTimeFormatterFactory)
Method Detail


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
word - A single word - guaranteed to not be null
searchResult - The existing search result
A Map of parameters that can be used as a URL.


protected abstract String getPrefix()


protected abstract String getSearchParamName()

Copyright © 2002-2014 Atlassian. All Rights Reserved.