Interface SortableCustomFieldSearcher
- All Superinterfaces:
FieldSortsCustomFieldSearcher
,ValueLoaderCustomFieldSearcher
- All Known Subinterfaces:
CustomFieldSortable
- All Known Implementing Classes:
CustomFieldLabelsSearcher
,DateRangeSearcher
,DateTimeRangeSearcher
,ExactNumberSearcher
,GroupPickerSearcher
,MultiSelectSearcher
,NumberRangeSearcher
,ProjectSearcher
,SelectSearcher
,UserPickerGroupSearcher
,UserPickerSearcher
,VersionPickerSearcher
@PublicSpi
@Deprecated(since="10.4",
forRemoval=true)
public interface SortableCustomFieldSearcher
extends FieldSortsCustomFieldSearcher, ValueLoaderCustomFieldSearcher
Deprecated, for removal: This API element is subject to removal in a future version.
A custom field searcher will implement this interface if the custom field can be sorted. If a custom field
wishes to sort itself, it can use the slower method
SortableCustomField
.-
Method Summary
Modifier and TypeMethodDescriptiongetFieldSorts
(CustomField customField, FieldSort.Order order) Deprecated, for removal: This API element is subject to removal in a future version.Get the index field sorts for the provided custom fieldgetSorter
(CustomField customField) Deprecated, for removal: This API element is subject to removal in a future version.since 10.4, usegetValueLoader(CustomField)
orgetFieldSorts(CustomField, FieldSort.Order)
insteaddefault FieldValueLoader<?>
getValueLoader
(CustomField customField) Deprecated, for removal: This API element is subject to removal in a future version.Gets the value loader for the provided custom field.
-
Method Details
-
getSorter
@Nonnull @Deprecated(since="10.4", forRemoval=true) LuceneFieldSorter getSorter(CustomField customField) Deprecated, for removal: This API element is subject to removal in a future version.since 10.4, usegetValueLoader(CustomField)
orgetFieldSorts(CustomField, FieldSort.Order)
insteadReturns aLuceneFieldSorter
that can be used to sort the values of the custom field.- Parameters:
customField
- the custom field to be sorted- Returns:
- a
LuceneFieldSorter
that can be used to load or sort the values of the custom field
-
getValueLoader
Deprecated, for removal: This API element is subject to removal in a future version.Gets the value loader for the provided custom field. ReplacesgetSorter(CustomField)
.Replaces
getSorter(CustomField)
.- Specified by:
getValueLoader
in interfaceValueLoaderCustomFieldSearcher
- Returns:
- the value loader for the provided custom field
-
getFieldSorts
Deprecated, for removal: This API element is subject to removal in a future version.Get the index field sorts for the provided custom fieldReplaces
getSorter(CustomField)
.- Specified by:
getFieldSorts
in interfaceFieldSortsCustomFieldSearcher
- Returns:
- the index field sorts for the provided custom field
-
FieldSortsCustomFieldSearcher
and/orValueLoaderCustomFieldSearcher
instead.