public abstract class

AbstractDateRangeSearcher

extends AbstractInitializationCustomFieldSearcher
implements CustomFieldSearcher NaturallyOrderedCustomFieldSearcher
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
     ↳ com.atlassian.jira.issue.customfields.searchers.AbstractDateRangeSearcher
Known Direct Subclasses

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.issue.search.searchers.IssueSearcher
Public Constructors
AbstractDateRangeSearcher(JqlOperandResolver jqlOperandResolver, VelocityRequestContextFactory velocityRenderContext, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, CalendarLanguageUtil calendarUtils, DateConverter dateConverter, JqlDateSupport dateSupport, TimeZoneManager timeZoneManager, FieldVisibilityManager fieldVisibilityManager)
Public Methods
CustomFieldSearcherClauseHandler getCustomFieldSearcherClauseHandler()
Provides an object that can be used to handle the clauses that this searcher generates.
SearcherInformation<CustomField> getSearchInformation()
Provides an object that contains information about the Searcher.
SearchInputTransformer getSearchInputTransformer()
Provides an object that will allow you to transform raw request parameters to field holder values and field holder values to Clause search representations.
SearchRenderer getSearchRenderer()
Provides an object that will allow you to render the edit and view html for a searcher.
String getSortField(CustomField customField)
Retrun the name of the Lucene field to use for ordering.
void init(CustomField field)
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
From class java.lang.Object
From interface com.atlassian.jira.issue.customfields.CustomFieldSearcher
From interface com.atlassian.jira.issue.customfields.NaturallyOrderedCustomFieldSearcher
From interface com.atlassian.jira.issue.search.searchers.IssueSearcher

Public Constructors

public AbstractDateRangeSearcher (JqlOperandResolver jqlOperandResolver, VelocityRequestContextFactory velocityRenderContext, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, CalendarLanguageUtil calendarUtils, DateConverter dateConverter, JqlDateSupport dateSupport, TimeZoneManager timeZoneManager, FieldVisibilityManager fieldVisibilityManager)

Public Methods

public CustomFieldSearcherClauseHandler getCustomFieldSearcherClauseHandler ()

Provides an object that can be used to handle the clauses that this searcher generates.

Returns
  • an object that can be used to handle the clauses that this searcher generates, can be null.

public SearcherInformation<CustomField> getSearchInformation ()

Provides an object that contains information about the Searcher.

Returns
  • the search information provider for this searcher.

public SearchInputTransformer getSearchInputTransformer ()

Provides an object that will allow you to transform raw request parameters to field holder values and field holder values to Clause search representations.

Returns
  • the search input handler for this searcher.

public SearchRenderer getSearchRenderer ()

Provides an object that will allow you to render the edit and view html for a searcher. This also provides methods that indicate if the view and edit methods should be invoked.

Returns
  • the search renderer for this searcher.

public String getSortField (CustomField customField)

Retrun the name of the Lucene field to use for ordering. This will normally be just the field, .i.e customField.getId() but some searchers, e.g. TextSearcher, store additional fields to support sorting.

Parameters
customField The custom field to be searched
Returns
  • The Lucene field name to use for ordering.

public void init (CustomField field)