public class

UserPickerStatisticsMapper

extends AbstractCustomFieldStatisticsMapper
implements SearchRequestAppender.Factory<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.statistics.AbstractCustomFieldStatisticsMapper
     ↳ com.atlassian.jira.issue.customfields.statistics.UserPickerStatisticsMapper

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.issue.customfields.statistics.AbstractCustomFieldStatisticsMapper
Public Constructors
UserPickerStatisticsMapper(CustomField customField, UserManager userManager, JiraAuthenticationContext authenticationContext)
Public Methods
Comparator getComparator()
A comparator that can be used to order objects returned by getValueFromLuceneField(String).
SearchRequestAppender getSearchRequestAppender()
Object getValueFromLuceneField(String documentValue)
Protected Methods
String getSearchValue(Object value)
String value to be passed to the search request to construct a new request URL
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.customfields.statistics.AbstractCustomFieldStatisticsMapper
From class java.lang.Object
From interface com.atlassian.jira.issue.search.LuceneFieldSorter
From interface com.atlassian.jira.issue.search.SearchRequestAppender.Factory
From interface com.atlassian.jira.issue.statistics.StatisticsMapper

Public Constructors

public UserPickerStatisticsMapper (CustomField customField, UserManager userManager, JiraAuthenticationContext authenticationContext)

Public Methods

public Comparator getComparator ()

A comparator that can be used to order objects returned by getValueFromLuceneField(String).

The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.

public SearchRequestAppender getSearchRequestAppender ()

public Object getValueFromLuceneField (String documentValue)

Protected Methods

protected String getSearchValue (Object value)

String value to be passed to the search request to construct a new request URL

Parameters
value returned from getValueFromLuceneField(String)
Returns
  • String