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

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.impl.AbstractInitializationSearcher
      extended by com.atlassian.jira.issue.search.searchers.impl.AbstractDateSearcher
All Implemented Interfaces:
IssueSearcher<SearchableField>
Direct Known Subclasses:
CreatedDateSearcher, DueDateSearcher, ResolutionDateSearcher, UpdatedDateSearcher

public class AbstractDateSearcher
extends AbstractInitializationSearcher
implements IssueSearcher<SearchableField>

A simple class that most date searchers will be able to extends to implement searching.

Since:
v4.0

Field Summary
 
Fields inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractInitializationSearcher
fieldReference
 
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher
log
 
Constructor Summary
AbstractDateSearcher(SimpleFieldSearchConstants constants, java.lang.String nameKey, java.lang.Class<? extends BaseFieldIndexer> indexer, DateConverter dateConverter, DateTimeConverter dateTimeConverter, JqlDateSupport dateSupport, JqlOperandResolver operandResolver, ApplicationProperties applicationProperties, VelocityRequestContextFactory velocityRenderContext, com.atlassian.velocity.VelocityManager velocityManager, CalendarLanguageUtil calendarUtils, FieldVisibilityManager fieldVisibilityManager, CustomFieldInputHelper customFieldInputHelper)
           
 
Method Summary
 SearcherInformation<SearchableField> 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.
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractInitializationSearcher
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher
init
 

Constructor Detail

AbstractDateSearcher

public AbstractDateSearcher(SimpleFieldSearchConstants constants,
                            java.lang.String nameKey,
                            java.lang.Class<? extends BaseFieldIndexer> indexer,
                            DateConverter dateConverter,
                            DateTimeConverter dateTimeConverter,
                            JqlDateSupport dateSupport,
                            JqlOperandResolver operandResolver,
                            ApplicationProperties applicationProperties,
                            VelocityRequestContextFactory velocityRenderContext,
                            com.atlassian.velocity.VelocityManager velocityManager,
                            CalendarLanguageUtil calendarUtils,
                            FieldVisibilityManager fieldVisibilityManager,
                            CustomFieldInputHelper customFieldInputHelper)
Method Detail

getSearchInformation

public final SearcherInformation<SearchableField> getSearchInformation()
Description copied from interface: IssueSearcher
Provides an object that contains information about the Searcher.

Specified by:
getSearchInformation in interface IssueSearcher<SearchableField>
Returns:
the search information provider for this searcher.

getSearchInputTransformer

public final 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<SearchableField>
Returns:
the search input handler for this searcher.

getSearchRenderer

public final 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<SearchableField>
Returns:
the search renderer for this searcher.


Copyright © 2002-2011 Atlassian. All Rights Reserved.