public interface ResourceSetStore
ResourceSetDescription
objects in a store.Modifier and Type | Interface and Description |
---|---|
static class |
ResourceSetStore.FilterType
Different ways to combine criteria in a filter.
|
Modifier and Type | Method and Description |
---|---|
void |
create(OAuth2Request request,
ResourceSetDescription resourceSetDescription)
Create a
ResourceSetDescription . |
void |
delete(String resourceSetId,
String resourceOwnerId)
Remove a
ResourceSetDescription with the given ID from the store. |
Set<ResourceSetDescription> |
query(org.forgerock.util.query.QueryFilter<String> query)
Query the store for
ResourceSetDescription instances. |
ResourceSetDescription |
read(String resourceSetId,
ResourceSetFilter filter)
Reads a
ResourceSetDescription out of the store using its OpenAM Unique ID. |
ResourceSetDescription |
read(String resourceSetId,
String resourceOwnerId)
Reads a
ResourceSetDescription out of the store using its OpenAM Unique ID. |
void |
update(ResourceSetDescription resourceSetDescription)
Update a given
ResourceSetDescription instance. |
void create(OAuth2Request request, ResourceSetDescription resourceSetDescription) throws ServerException, NotFoundException, BadRequestException
ResourceSetDescription
. The id field will be populated with the resulting identifier.request
- The OAuth2Request.resourceSetDescription
- The resource set description being created.ServerException
- When an error occurs during creation.NotFoundException
- If the OAuth2ProviderSettings could not be found.BadRequestException
ResourceSetDescription read(String resourceSetId, ResourceSetFilter filter) throws NotFoundException, ServerException
ResourceSetDescription
out of the store using its OpenAM Unique ID.resourceSetId
- The resource set ID.filter
- A filter to apply to the read elements.ResourceSetDescription
.NotFoundException
- If the resource set is not found.ServerException
- When the resource set description cannot be loaded.ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException
ResourceSetDescription
out of the store using its OpenAM Unique ID.
Only returns a set which is owned by the specified resource owner.resourceSetId
- The resource set ID.resourceOwnerId
- The ID of the resource owner.ResourceSetDescription
.NotFoundException
- If the resource set is not found.ServerException
- When the resource set description cannot be loaded.void update(ResourceSetDescription resourceSetDescription) throws NotFoundException, ServerException
ResourceSetDescription
instance.resourceSetDescription
- The resource set description being updated.ServerException
- When the ResourceSetDescription
cannot be found, or an error occurs during
update.NotFoundException
void delete(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException
ResourceSetDescription
with the given ID from the store.resourceSetId
- The identifier of the ResourceSetDescription
being removed.resourceOwnerId
- The resource owner id.ServerException
- When an error occurs during removal.NotFoundException
Set<ResourceSetDescription> query(org.forgerock.util.query.QueryFilter<String> query) throws ServerException
ResourceSetDescription
instances.query
- The criteria of the query.ServerException
- When an error occurs when querying the store.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.