Uses of Class
org.forgerock.json.resource.SortKey
Packages that use SortKey
Package
Description
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 SortKeyModifier and TypeMethodDescriptionstatic 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 SortKeyParses the provided string as a sort key.Methods in org.forgerock.json.resource that return types with arguments of type SortKeyModifier and TypeMethodDescriptionQueryRequest.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 SortKeyModifier and TypeMethodDescriptionQueryRequest.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 SortKeyModifierConstructorDescriptionSortKeyComparator(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.