com.atlassian.jira.issue.search.searchers.impl
Class DueDateSearcher

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher
      extended by com.atlassian.jira.issue.search.searchers.impl.GenericDateSearcher
          extended by com.atlassian.jira.issue.search.searchers.impl.DueDateSearcher
All Implemented Interfaces:
Field, IssueSearcher, Comparable

public class DueDateSearcher
extends GenericDateSearcher


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.search.searchers.impl.GenericDateSearcher
ABSOLUTE_SUFFIX, AFTER_KEY, AFTER_SUFFIX, BEFORE_KEY, BEFORE_SUFFIX, dateConverter, fieldVisibilityBean, NEXT_KEY, NEXT_SUFFIX, PREVIOUS_KEY, PREVIOUS_SUFFIX, RELATIVE_SUFFIX
 
Fields inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher
authenticationContext, EDIT_TEMPLATE_SUFFIX, field, VIEW_TEMPLATE_SUFFIX
 
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher
I18N_BUNDLE, log
 
Constructor Summary
DueDateSearcher(JiraAuthenticationContext authenticationContext, FieldVisibilityBean fieldVisibilityBean, DateConverter dateConverter)
           
 
Method Summary
 String getId()
          The unique id of the field
 List getRelatedIndexers()
          Returns a list of FieldIndexer objects.
 boolean isShown(SearchContext searchContext)
          Checks if the searcher should be shown in this context
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.GenericDateSearcher
getAfterField, getAfterFieldLabel, getBeforeField, getBeforeFieldLabel, getDescription, getEditHtml, getNameKey, getNextField, getPeriodLabel, getPeriodOffset, getPrettyField, getPrettyNextField, getPrettyPreviousField, getPreviousField, getQuerySnippet, getSnippetFromFieldValuesHolder, getVelocityParams, getViewHtml, isRevelentForSeachRequest, populateFromParams, populateFromSearchRequest, populateSearchRequest, prettyPrintPeriodOffset, validateParams
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher
compareTo, equals, getI18n, getName, hashCode, hasPermission, init, register, renderEditTemplate, renderViewTemplate, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DueDateSearcher

public DueDateSearcher(JiraAuthenticationContext authenticationContext,
                       FieldVisibilityBean fieldVisibilityBean,
                       DateConverter dateConverter)
Method Detail

getId

public String getId()
Description copied from interface: Field
The unique id of the field

Specified by:
getId in interface Field
Overrides:
getId in class GenericDateSearcher

getRelatedIndexers

public List getRelatedIndexers()
Description copied from interface: IssueSearcher
Returns a list of FieldIndexer objects. The objects should be initialised and ready for action

Specified by:
getRelatedIndexers in interface IssueSearcher
Overrides:
getRelatedIndexers in class GenericDateSearcher
Returns:
List of FieldIndexer objects. Must not be null. Return Collections.EMPTY_LIST if not available

isShown

public boolean isShown(SearchContext searchContext)
Description copied from interface: IssueSearcher
Checks if the searcher should be shown in this context

Specified by:
isShown in interface IssueSearcher
Overrides:
isShown in class AbstractIssueSearcher
Parameters:
searchContext - the context of the search (i.e. projects and issue types selected)
Returns:
true if the searcher will appear in the issue navigator


Copyright © 2002-2008 Atlassian. All Rights Reserved.