public interface ExtendedResourceProvider extends ResourceProvider
QueryResponse
from a
resource query.
If a resource provider supports paging and/or sorting of the resources
acquired through a query then it should implement
ExtendedResourceProvider
.Modifier and Type | Method and Description |
---|---|
QueryResponse |
queryForResources(Request request,
Predicate predicate)
Query for resources that match the given predicate.
|
checkPropertyIds, createResources, deleteResources, getKeyPropertyIds, getResources, updateResources
QueryResponse queryForResources(Request request, Predicate predicate) throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException
request
- the request object which defines the desired set of propertiespredicate
- the predicate object which can be used to filter which
resources are returnedSystemException
- an internal system exception occurredUnsupportedPropertyException
- the request contains unsupported property idsNoSuchResourceException
- the requested resource instance doesn't existNoSuchParentResourceException
- a parent resource of the requested resource doesn't existCopyright © 2022 Apache Software Foundation. All rights reserved.