Uses of Interface
org.forgerock.json.resource.QueryRequest
Package
Description
This package defines the authorization API interfaces for use in a CREST environment.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
Common utility classes for monitoring.
This package contains classes for the handling of REST request to CREST Resource endpoints with the concept of realms
in OpenAM built in.
-
Uses of QueryRequest in org.forgerock.authz.filter.crest.api
Modifier and TypeMethodDescriptionCrestAuthorizationModule.authorizeQuery
(Context context, QueryRequest request) Authorizes a received REST query request. -
Uses of QueryRequest in org.forgerock.json.resource
Modifier and TypeMethodDescriptionQueryRequest.addField
(JsonPointer... fields) QueryRequest.addSortKey
(String... keys) Adds one or more sort keys which will be used for ordering the JSON resources returned by this query request.QueryRequest.addSortKey
(SortKey... keys) Adds one or more sort keys which will be used for ordering the JSON resources returned by this query request.static QueryRequest
Requests.copyOfQueryRequest
(QueryRequest request) Returns a copy of the provided query request.static QueryRequest
Requests.newQueryRequest
(String resourceContainer) Returns a new query request with the provided resource container path.static QueryRequest
Requests.newQueryRequest
(ResourcePath resourceContainer) Returns a new query request with the provided resource container path.QueryRequest.setAdditionalParameter
(String name, String value) QueryRequest.setCountOnly
(boolean countOnly) Sets whether the request was to only provide a count of the query results.QueryRequest.setPagedResultsCookie
(String cookie) Sets the opaque cookie which is used by the resource provider to track its position in the set of query results.QueryRequest.setPagedResultsOffset
(int offset) Sets the zero-based index of the first resource which should be included in the query results.QueryRequest.setPageSize
(int size) Sets the requested page results page size or0
if paged results are not required.QueryRequest.setPreferredLocales
(PreferredLocales preferredLocales) QueryRequest.setQueryExpression
(String expression) Sets the native query expression which will be used for processing the query request.QueryRequest.setQueryFilter
(QueryFilter<JsonPointer> filter) Sets the query filter which will be used for selecting which JSON resources will be returned.QueryRequest.setQueryId
(String id) Sets the query identifier for pre-defined queries.QueryRequest.setResourcePath
(String path) QueryRequest.setResourcePath
(ResourcePath path) QueryRequest.setResourceVersion
(Version resourceVersion) QueryRequest.setTotalPagedResultsPolicy
(CountPolicy policy) Sets the policy for calculating the total number of paged results.Modifier and TypeMethodDescriptionstatic QueryRequest
Requests.copyOfQueryRequest
(QueryRequest request) Returns a copy of the provided query request.Filter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filters a query request.ResourceApiVersionRoutingFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) ResourceApiVersionSpecificationFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) FilterChain.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) default Promise<QueryResponse,
ResourceException> RequestHandler.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, returning aPromise
that will be completed when the search has completed.Router.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) SynchronousRequestHandler.handleQuery
(Context context, QueryRequest request, Collection<ResourceResponse> resources) Searches for all JSON resources matching a user specified set of criteria.AbstractAsynchronousConnection.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) AbstractAsynchronousConnection.query
(Context context, QueryRequest request, QueryResourceHandler handler) AbstractConnectionWrapper.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) Searches for all JSON resources matching a user specified set of criteria, and places the results in the provided collection.AbstractConnectionWrapper.query
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.Connection.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) Searches for all JSON resources matching a user specified set of criteria, and places the results in the provided collection.Connection.query
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.AbstractConnectionWrapper.queryAsync
(Context context, QueryRequest request, QueryResourceHandler handler) Asynchronously searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.Connection.queryAsync
(Context context, QueryRequest request, QueryResourceHandler handler) Asynchronously searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.default Promise<QueryResponse,
ResourceException> CollectionResourceProvider.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) Searches
the collection for all resources which match the query request criteria.MemoryBackend.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) Searches
the collection for all resources which match the query request criteria.RequestVisitor.visitQueryRequest
(P p, QueryRequest request) Visits a query request. -
Uses of QueryRequest in org.forgerock.monitoring
Modifier and TypeMethodDescriptionDropwizardMetricsCollectionResourceProvider.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) -
Uses of QueryRequest in org.forgerock.openam.rest.resource
Modifier and TypeMethodDescriptionRestrictedTokenContextFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next)