public class UserPickerGroupSearcher extends AbstractInitializationCustomFieldSearcher implements CustomFieldSearcher, SortableCustomFieldSearcher, CustomFieldStattable
log
Constructor and Description |
---|
UserPickerGroupSearcher(UserConverter userConverter,
JiraAuthenticationContext jiraAuthenticationContext,
VelocityRequestContextFactory velocityRequestContextFactory,
VelocityTemplatingEngine templatingEngine,
ApplicationProperties applicationProperties,
UserSearchService userSearchService,
FieldVisibilityManager fieldVisibilityManager,
JqlOperandResolver jqlOperandResolver,
UserResolver userResolver,
UserManager userManager,
CustomFieldInputHelper customFieldInputHelper,
GroupManager groupManager,
PermissionManager permissionManager,
UserHistoryManager userHistoryManager,
UserFilterManager userFilterManager)
Deprecated.
|
UserPickerGroupSearcher(UserConverter userConverter,
JiraAuthenticationContext jiraAuthenticationContext,
VelocityRequestContextFactory velocityRequestContextFactory,
VelocityTemplatingEngine templatingEngine,
ApplicationProperties applicationProperties,
UserSearchService userSearchService,
FieldVisibilityManager fieldVisibilityManager,
JqlOperandResolver jqlOperandResolver,
UserResolver userResolver,
UserManager userManager,
CustomFieldInputHelper customFieldInputHelper,
GroupManager groupManager,
PermissionManager permissionManager,
UserHistoryManager userHistoryManager,
UserFilterManager userFilterManager,
EmailFormatter emailFormatter) |
Modifier and Type | Method and Description |
---|---|
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)
Since Jira v8.0 a "stattable" field must have a doc value of type:
SortedDocValues ,
SortedSetDocValues , BinaryDocValues , or
NumericDocValues . |
void |
init(CustomField field)
This is the first time the searcher knows what its ID and names are
|
getDescriptor, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescriptor, init
public UserPickerGroupSearcher(UserConverter userConverter, JiraAuthenticationContext jiraAuthenticationContext, VelocityRequestContextFactory velocityRequestContextFactory, VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, UserSearchService userSearchService, FieldVisibilityManager fieldVisibilityManager, JqlOperandResolver jqlOperandResolver, UserResolver userResolver, UserManager userManager, CustomFieldInputHelper customFieldInputHelper, GroupManager groupManager, PermissionManager permissionManager, UserHistoryManager userHistoryManager, UserFilterManager userFilterManager, EmailFormatter emailFormatter)
@Deprecated public UserPickerGroupSearcher(UserConverter userConverter, JiraAuthenticationContext jiraAuthenticationContext, VelocityRequestContextFactory velocityRequestContextFactory, VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, UserSearchService userSearchService, FieldVisibilityManager fieldVisibilityManager, JqlOperandResolver jqlOperandResolver, UserResolver userResolver, UserManager userManager, CustomFieldInputHelper customFieldInputHelper, GroupManager groupManager, PermissionManager permissionManager, UserHistoryManager userHistoryManager, UserFilterManager userFilterManager)
public void init(CustomField field)
init
in interface IssueSearcher<CustomField>
field
- the Custom Field for this searcherpublic SearcherInformation<CustomField> getSearchInformation()
IssueSearcher
getSearchInformation
in interface IssueSearcher<CustomField>
public SearchInputTransformer getSearchInputTransformer()
IssueSearcher
Clause
search representations.getSearchInputTransformer
in interface IssueSearcher<CustomField>
public SearchRenderer getSearchRenderer()
IssueSearcher
getSearchRenderer
in interface IssueSearcher<CustomField>
public CustomFieldSearcherClauseHandler getCustomFieldSearcherClauseHandler()
CustomFieldSearcher
getCustomFieldSearcherClauseHandler
in interface CustomFieldSearcher
public LuceneFieldSorter getSorter(CustomField customField)
getSorter
in interface SortableCustomFieldSearcher
public StatisticsMapper getStatisticsMapper(CustomField customField)
CustomFieldStattable
SortedDocValues
,
SortedSetDocValues
, BinaryDocValues
, or
NumericDocValues
.
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 Lucene DocValues
directly.
See DocValues
and supported implementations for details.getStatisticsMapper
in interface CustomFieldStattable
Copyright © 2002-2024 Atlassian. All Rights Reserved.