Uses of Enum Class
org.forgerock.json.resource.CountPolicy
Packages that use CountPolicy
Package
Description
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
-
Uses of CountPolicy in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return CountPolicyModifier and TypeMethodDescriptionQueryRequest.getTotalPagedResultsPolicy()
Returns theCountPolicy
used to calculateQueryResponse.getTotalPagedResults()
.QueryResponse.getTotalPagedResultsPolicy()
Returns the policy that was used to calculate the totalPagedResults.static CountPolicy
Returns the enum constant of this class with the specified name.static CountPolicy[]
CountPolicy.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.forgerock.json.resource with parameters of type CountPolicyModifier and TypeMethodDescriptionstatic QueryResponse
Responses.newQueryResponse
(String pagedResultsCookie, CountPolicy totalPagedResultsPolicy, int totalPagedResults) Creates a new query result with the provided paged results cookie and a count of the total number of remaining results according to totalPagedResultsPolicy.QueryRequest.setTotalPagedResultsPolicy
(CountPolicy policy) Sets the policy for calculating the total number of paged results.