Class GroupPickerSearcher
java.lang.Object
com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
com.atlassian.jira.issue.customfields.searchers.GroupPickerSearcher
- All Implemented Interfaces:
CustomFieldSearcher
,FieldSortsCustomFieldSearcher
,CustomFieldStattable
,ValueLoaderCustomFieldSearcher
,IssueSearcher<CustomField>
public class GroupPickerSearcher
extends AbstractInitializationCustomFieldSearcher
implements CustomFieldSearcher, ValueLoaderCustomFieldSearcher, FieldSortsCustomFieldSearcher, CustomFieldStattable
-
Field Summary
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher
log
-
Constructor Summary
ConstructorsConstructorDescriptionGroupPickerSearcher
(GroupConverter groupConverter, FieldVisibilityManager fieldVisibilityManager, JqlOperandResolver jqlOperandResolver, GroupManager groupManager, GroupValuesGenerator groupValuesGenerator, CustomFieldInputHelper customFieldInputHelper) -
Method Summary
Modifier and TypeMethodDescriptionProvides an object that can be used to handle the clauses that this searcher generates.getFieldSorts
(CustomField customField, FieldSort.Order order) Get the index field sorts for the provided custom fieldProvides an object that contains information about the Searcher.Provides an object that will allow you to transform raw request parameters to field holder values and field holder values toClause
search representations.Provides an object that will allow you to render the edit and view html for a searcher.getStatisticsMapper
(CustomField customField) Since Jira v8.0 a "stattable" field must have a doc value of type:SortedDocValues
,SortedSetDocValues
,BinaryDocValues
, orNumericDocValues
.getValueLoader
(CustomField customField) Gets the value loader for the provided custom field.void
init
(CustomField field) This is the first time the searcher knows what its ID and names areMethods inherited from class com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
getDescriptor, 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.customfields.CustomFieldSearcher
getDescriptor, init
-
Constructor Details
-
GroupPickerSearcher
public GroupPickerSearcher(GroupConverter groupConverter, FieldVisibilityManager fieldVisibilityManager, JqlOperandResolver jqlOperandResolver, GroupManager groupManager, GroupValuesGenerator groupValuesGenerator, CustomFieldInputHelper customFieldInputHelper)
-
-
Method Details
-
init
This is the first time the searcher knows what its ID and names are- Specified by:
init
in interfaceIssueSearcher<CustomField>
- Parameters:
field
- the Custom Field for this searcher
-
getSearchInformation
Description copied from interface:IssueSearcher
Provides an object that contains information about the Searcher.- Specified by:
getSearchInformation
in interfaceIssueSearcher<CustomField>
- Returns:
- the search information provider for this searcher.
-
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 toClause
search representations.- Specified by:
getSearchInputTransformer
in interfaceIssueSearcher<CustomField>
- Returns:
- the search input handler for this searcher.
-
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 interfaceIssueSearcher<CustomField>
- Returns:
- the search renderer for this searcher.
-
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 interfaceCustomFieldSearcher
- Returns:
- an object that can be used to handle the clauses that this searcher generates, can be null.
-
getStatisticsMapper
Description copied from interface:CustomFieldStattable
Since Jira v8.0 a "stattable" field must have a doc value of type:SortedDocValues
,SortedSetDocValues
,BinaryDocValues
, orNumericDocValues
. Before Jira v8.0 "stattable" fields were retrieved from a Jira cache build from from Lucene index. Since Jira v8.0 this cache is using LuceneDocValues
directly. SeeDocValues
and supported implementations for details.- Specified by:
getStatisticsMapper
in interfaceCustomFieldStattable
-
getFieldSorts
Description copied from interface:FieldSortsCustomFieldSearcher
Get the index field sorts for the provided custom field- Specified by:
getFieldSorts
in interfaceFieldSortsCustomFieldSearcher
- Returns:
- the index field sorts for the provided custom field
-
getValueLoader
Description copied from interface:ValueLoaderCustomFieldSearcher
Gets the value loader for the provided custom field.- Specified by:
getValueLoader
in interfaceValueLoaderCustomFieldSearcher
- Returns:
- the value loader for the provided custom field
-