Uses of Class
org.forgerock.json.resource.CountPolicy
-
Packages that use CountPolicy Package Description org.forgerock.json.resource 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 CountPolicy Modifier and Type Method Description CountPolicy
QueryRequest. getTotalPagedResultsPolicy()
Returns theCountPolicy
used to calculateQueryResponse.getTotalPagedResults()
.CountPolicy
QueryResponse. getTotalPagedResultsPolicy()
Returns the policy that was used to calculate the totalPagedResults.static CountPolicy
CountPolicy. valueOf(String name)
Returns the enum constant of this type with the specified name.static CountPolicy[]
CountPolicy. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.forgerock.json.resource with parameters of type CountPolicy Modifier and Type Method Description static 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
QueryRequest. setTotalPagedResultsPolicy(CountPolicy policy)
Sets the policy for calculating the total number of paged results.
-