@Internal @SearchPrimitive public final class UserAttributeSort extends Object implements SearchSort
This class is a copy of BaseUserSort
from confluence-cql-plugin inorder to deprecate the former one.
Modifier and Type | Class and Description |
---|---|
static class |
UserAttributeSort.UserAttribute |
SearchSort.Order, SearchSort.Type
Constructor and Description |
---|
UserAttributeSort(UserAttributeSort.UserAttribute attribute,
SearchSort.Order order,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
UserAttributeSort.UserAttribute |
getAttribute() |
String |
getFieldName() |
String |
getKey()
Gets the key that uniquely identifies this sort method.
|
SearchSort.Order |
getOrder()
Returns the order (whether
SearchSort.Order.ASCENDING or SearchSort.Order.DESCENDING ) of the sort. |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
expand
public static final String KEY
public UserAttributeSort(UserAttributeSort.UserAttribute attribute, SearchSort.Order order, String fieldName)
public String getKey()
SearchSort
getKey
in interface SearchSort
public SearchSort.Order getOrder()
SearchSort
SearchSort.Order.ASCENDING
or SearchSort.Order.DESCENDING
) of the sort.getOrder
in interface SearchSort
SearchSort.Order.ASCENDING
or SearchSort.Order.DESCENDING
) of the sort.public String getFieldName()
public UserAttributeSort.UserAttribute getAttribute()
Copyright © 2003–2021 Atlassian. All rights reserved.