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
  • Field Details

    • KEY

      public static final String KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

  • Method Details

    • getKey

      public String 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 interface SearchSort
      Returns:
      the sort key
    • getOrder

      public SearchSort.Order getOrder()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: SearchSort
      Returns the order (whether SearchSort.Order.ASCENDING or SearchSort.Order.DESCENDING) of the sort.
      Specified by:
      getOrder in interface SearchSort
      Returns:
      the order (whether SearchSort.Order.ASCENDING or SearchSort.Order.DESCENDING) of the sort.
    • getFieldName

      public String getFieldName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAttribute

      public UserAttributeSort.UserAttribute getAttribute()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • equals

      public boolean equals(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object