java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
     ↳ com.atlassian.jira.issue.customfields.searchers.VersionPickerSearcher

Class Overview

CustomFieldSearcher for custom fields that allow to pick versions.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.issue.search.searchers.IssueSearcher
Public Constructors
VersionPickerSearcher(VersionManager versionManager, FieldVisibilityManager fieldVisibilityManager, VersionResolver versionResolver, JqlOperandResolver operandResolver, FieldFlagOperandRegistry fieldFlagOperandRegistry, VersionClauseContextFactory versionClauseContextFactory, PermissionManager permissionManager, ContextSetUtil contextSetUtil, FieldConfigSchemeClauseContextUtil clauseContextUtil, CustomFieldInputHelper customFieldInputHelper, ProjectManager projectManager, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine)
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.
LuceneFieldSorter getSorter(CustomField customField)
StatisticsMapper getStatisticsMapper(CustomField customField)
void init(CustomField field)
This is the first time the searcher knows what its ID and names are
[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.SortableCustomFieldSearcher
From interface com.atlassian.jira.issue.customfields.statistics.CustomFieldStattable
From interface com.atlassian.jira.issue.search.searchers.IssueSearcher

Public Constructors

public VersionPickerSearcher (VersionManager versionManager, FieldVisibilityManager fieldVisibilityManager, VersionResolver versionResolver, JqlOperandResolver operandResolver, FieldFlagOperandRegistry fieldFlagOperandRegistry, VersionClauseContextFactory versionClauseContextFactory, PermissionManager permissionManager, ContextSetUtil contextSetUtil, FieldConfigSchemeClauseContextUtil clauseContextUtil, CustomFieldInputHelper customFieldInputHelper, ProjectManager projectManager, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine)

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 LuceneFieldSorter getSorter (CustomField customField)

public StatisticsMapper getStatisticsMapper (CustomField customField)

public void init (CustomField field)

This is the first time the searcher knows what its ID and names are

Parameters
field the Custom Field for this searcher