Class UserAttributeSort
java.lang.Object
com.atlassian.confluence.search.v2.sort.UserAttributeSort
- All Implemented Interfaces:
Expandable<SearchSort>
,SearchSort
@SearchPrimitive
@Deprecated(forRemoval=true)
public final class UserAttributeSort
extends Object
implements SearchSort
Deprecated, for removal: This API element is subject to removal in a future version.
since 8.9 because it's very inefficient on Lucene, and is not supported on OpenSearch.
A base user sort that allows userkey fields to be sorted on either UserKey, Username, Full name or Email.
This class is a copy of BaseUserSort
from confluence-cql-plugin inorder to deprecate the former one.
- Since:
- 7.12
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Deprecated, for removal: This API element is subject to removal in a future version.Nested classes/interfaces inherited from interface com.atlassian.confluence.search.v2.SearchSort
SearchSort.Order, SearchSort.Type
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUserAttributeSort
(UserAttributeSort.UserAttribute attribute, SearchSort.Order order, String fieldName) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getKey()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the key that uniquely identifies this sort method.getOrder()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the order (whetherSearchSort.Order.ASCENDING
orSearchSort.Order.DESCENDING
) of the sort.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.search.v2.SearchSort
expand
-
Field Details
-
KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
UserAttributeSort
public UserAttributeSort(UserAttributeSort.UserAttribute attribute, SearchSort.Order order, String fieldName) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getKey
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SearchSort
Gets the key that uniquely identifies this sort method.- Specified by:
getKey
in interfaceSearchSort
- Returns:
- the sort key
-
getOrder
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SearchSort
Returns the order (whetherSearchSort.Order.ASCENDING
orSearchSort.Order.DESCENDING
) of the sort.- Specified by:
getOrder
in interfaceSearchSort
- Returns:
- the order (whether
SearchSort.Order.ASCENDING
orSearchSort.Order.DESCENDING
) of the sort.
-
getFieldName
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttribute
Deprecated, for removal: This API element is subject to removal in a future version. -
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.
-