public class UserPickerStatisticsMapper extends AbstractCustomFieldStatisticsMapper implements SearchRequestAppender.Factory
customField| Constructor and Description |
|---|
UserPickerStatisticsMapper(CustomField customField,
UserManager userManager,
JiraAuthenticationContext authenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
Comparator |
getComparator()
A comparator that can be used to order objects returned by
LuceneFieldSorter.getValueFromLuceneField(String). |
SearchRequestAppender |
getSearchRequestAppender() |
protected String |
getSearchValue(Object value)
String value to be passed to the search request to construct a new request URL
|
Object |
getValueFromLuceneField(String documentValue)
Convert the lucene document field back to the object that you wish to use to display it.
|
equals, getDocumentConstant, getSearchContextFromValue, getSearchUrlSuffix, hashCode, isFieldAlwaysPartOfAnIssue, isValidValuepublic UserPickerStatisticsMapper(CustomField customField, UserManager userManager, JiraAuthenticationContext authenticationContext)
public Object getValueFromLuceneField(String documentValue)
LuceneFieldSortereg. '1000' -> Version 1.
For custom fields, the return value will be passed to
CustomFieldSearcherModuleDescriptor.getStatHtml(com.atlassian.jira.issue.fields.CustomField, Object, String)
getValueFromLuceneField in interface LuceneFieldSorterdocumentValue - The value of the field in the lucene indexpublic Comparator getComparator()
LuceneFieldSorterLuceneFieldSorter.getValueFromLuceneField(String).
The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.
getComparator in interface LuceneFieldSortergetComparator in class AbstractCustomFieldStatisticsMapperprotected String getSearchValue(Object value)
AbstractCustomFieldStatisticsMappergetSearchValue in class AbstractCustomFieldStatisticsMappervalue - returned from LuceneFieldSorter.getValueFromLuceneField(java.lang.String)public SearchRequestAppender getSearchRequestAppender()
getSearchRequestAppender in interface SearchRequestAppender.FactoryCopyright © 2002-2019 Atlassian. All Rights Reserved.