Uses of Class
org.forgerock.json.resource.SortKey
-
Packages that use SortKey Package Description org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions. -
-
Uses of SortKey in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return SortKey Modifier and Type Method Description static SortKeySortKey. ascendingOrder(String field)Creates a new ascending-order sort key for the provided JSON field.static SortKeySortKey. ascendingOrder(JsonPointer field)Creates a new ascending-order sort key for the provided JSON field.static SortKeySortKey. descendingOrder(String field)Creates a new descending-order sort key for the provided JSON field.static SortKeySortKey. descendingOrder(JsonPointer field)Creates a new descending-order sort key for the provided JSON field.static SortKeySortKey. reverseOrder(SortKey key)Creates a new sort key having the same field as the provided key, but in reverse sort order.static SortKeySortKey. valueOf(String s)Parses the provided string as a sort key.Methods in org.forgerock.json.resource that return types with arguments of type SortKey Modifier and Type Method Description List<SortKey>QueryRequest. getSortKeys()Returns the sort keys which should be used for ordering the JSON resources returned by this query request.Methods in org.forgerock.json.resource with parameters of type SortKey Modifier and Type Method Description QueryRequestQueryRequest. addSortKey(SortKey... keys)Adds one or more sort keys which will be used for ordering the JSON resources returned by this query request.static SortKeySortKey. reverseOrder(SortKey key)Creates a new sort key having the same field as the provided key, but in reverse sort order.Constructor parameters in org.forgerock.json.resource with type arguments of type SortKey Constructor Description SortKeyComparator(List<SortKey> sortKeys)Construct a Comparator that will compare two JsonValue objects based on the provided list of SortKeys.SortKeyComparator(List<SortKey> sortKeys, SortKeyComparator.NullPosition nullPosition)Construct a Comparator that will compare two JsonValue objects based on the provided list of SortKeys and options.
-