public class ServiceProviderHandler extends ResourceHandler<ServiceProvider>
| Constructor and Description |
|---|
ServiceProviderHandler() |
| Modifier and Type | Method and Description |
|---|---|
ServiceProvider |
createResource(ServiceProvider resource,
Authorization authorization)
creating of service provider configurations not supported
|
void |
deleteResource(String id,
Authorization authorization)
deleting of service provider configurations not supported
|
ServiceProvider |
getResource(String id,
Authorization authorization)
gets the one and only service provider configuration for this endpoint definition
|
PartialListResponse |
listResources(long startIndex,
int count,
FilterNode filter,
SchemaAttribute sortBy,
SortOrder sortOrder,
List<SchemaAttribute> attributes,
List<SchemaAttribute> excludedAttributes,
Authorization authorization)
listing of service provider configurations not supported
|
ServiceProvider |
updateResource(ServiceProvider resourceToUpdate,
Authorization authorization)
updating of service provider configurations not supported
|
public ServiceProvider createResource(ServiceProvider resource, Authorization authorization)
createResource in class ResourceHandler<ServiceProvider>resource - the resource to storeauthorization - should return the roles of an user and may contain arbitrary data needed in the
handler implementationpublic ServiceProvider getResource(String id, Authorization authorization)
getResource in class ResourceHandler<ServiceProvider>id - the id is obsolete here should be nullauthorization - public PartialListResponse listResources(long startIndex, int count, FilterNode filter, SchemaAttribute sortBy, SortOrder sortOrder, List<SchemaAttribute> attributes, List<SchemaAttribute> excludedAttributes, Authorization authorization)
listResources in class ResourceHandler<ServiceProvider>startIndex - the start index that has a minimum value of 1. So the given startIndex here will never be
lower than 1count - the number of entries that should be returned to the client. The minimum value of this value
is 0.filter - the parsed filter expression if the client has given a filtersortBy - the attribute value that should be used for sortingsortOrder - the sort orderattributes - the attributes that should be returned to the client. If the client send this parameter
the evaluation of these parameters might help to improve database performance by omitting
unnecessary table joinsexcludedAttributes - the attributes that should NOT be returned to the client. If the client send this
parameter the evaluation of these parameters might help to improve database performance by
omitting unnecessary table joinsauthorization - should return the roles of an user and may contain arbitrary data needed in the
handler implementationpublic ServiceProvider updateResource(ServiceProvider resourceToUpdate, Authorization authorization)
updateResource in class ResourceHandler<ServiceProvider>resourceToUpdate - the resource that should override an existing oneauthorization - should return the roles of an user and may contain arbitrary data needed in the
handler implementationpublic void deleteResource(String id, Authorization authorization)
deleteResource in class ResourceHandler<ServiceProvider>id - the id of the resource to deleteauthorization - should return the roles of an user and may contain arbitrary data needed in the
handler implementationCopyright © 2019. All rights reserved.