com.atlassian.jira.issue.customfields.searchers
Class DateRangeSearcher
java.lang.Object
com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
com.atlassian.jira.issue.customfields.searchers.DateRangeSearcher
- All Implemented Interfaces:
- CustomFieldSearcher, SortableCustomFieldSearcher, IssueSearcher<CustomField>
@PublicApi
@PublicSpi
public class DateRangeSearcher
- extends AbstractInitializationCustomFieldSearcher
- implements SortableCustomFieldSearcher, CustomFieldSearcher
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher |
log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateRangeSearcher
public DateRangeSearcher(JqlOperandResolver operandResolver,
JqlLocalDateSupport jqlLocalDateSupport,
CustomFieldInputHelper customFieldInputHelper,
DateTimeFormatterFactory dateTimeFormatterFactory,
VelocityRequestContextFactory velocityRenderContext,
ApplicationProperties applicationProperties,
com.atlassian.velocity.VelocityManager velocityManager,
CalendarLanguageUtil calendarUtils,
FieldVisibilityManager fieldVisibilityManager)
init
public void init(CustomField field)
- Description copied from interface:
IssueSearcher
- Initialises the searcher with a given field.
- Specified by:
init
in interface IssueSearcher<CustomField>
- Parameters:
field
- the field object. This may be null. (So you can have searchers on non-fields)
getSearchInformation
public SearcherInformation<CustomField> getSearchInformation()
- Description copied from interface:
IssueSearcher
- Provides an object that contains information about the Searcher.
- Specified by:
getSearchInformation
in interface IssueSearcher<CustomField>
- Returns:
- the search information provider for this searcher.
getSearchInputTransformer
public SearchInputTransformer getSearchInputTransformer()
- Description copied from interface:
IssueSearcher
- Provides an object that will allow you to transform raw request parameters to field holder values and
field holder values to
Clause
search representations.
- Specified by:
getSearchInputTransformer
in interface IssueSearcher<CustomField>
- Returns:
- the search input handler for this searcher.
getSearchRenderer
public SearchRenderer getSearchRenderer()
- Description copied from interface:
IssueSearcher
- 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.
- Specified by:
getSearchRenderer
in interface IssueSearcher<CustomField>
- Returns:
- the search renderer for this searcher.
getSorter
public LuceneFieldSorter getSorter(CustomField customField)
- Specified by:
getSorter
in interface SortableCustomFieldSearcher
getCustomFieldSearcherClauseHandler
public CustomFieldSearcherClauseHandler getCustomFieldSearcherClauseHandler()
- Description copied from interface:
CustomFieldSearcher
- Provides an object that can be used to handle the clauses that this searcher generates.
- Specified by:
getCustomFieldSearcherClauseHandler
in interface CustomFieldSearcher
- Returns:
- an object that can be used to handle the clauses that this searcher generates, can be null.
Copyright © 2002-2012 Atlassian. All Rights Reserved.