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 CountPolicyQueryRequest. getTotalPagedResultsPolicy()Returns theCountPolicyused to calculateQueryResponse.getTotalPagedResults().CountPolicyQueryResponse. getTotalPagedResultsPolicy()Returns the policy that was used to calculate the totalPagedResults.static CountPolicyCountPolicy. 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 QueryResponseResponses. 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.QueryRequestQueryRequest. setTotalPagedResultsPolicy(CountPolicy policy)Sets the policy for calculating the total number of paged results.
-