public abstract class SCIMBackend extends Object
| Constructor and Description |
|---|
SCIMBackend() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
deleteResource(DeleteResourceRequest request)
Delete a specific resource.
|
abstract void |
finalizeBackend()
Performs any cleanup which may be necessary when this backend is to be
taken out of service.
|
SCIMBackendConfig |
getConfig()
Retrieve the mutable configuration settings for the backend.
|
abstract BaseResource |
getResource(GetResourceRequest request)
Retrieve all or selected attributes of a resource.
|
ResourceDescriptor |
getResourceDescriptor(String endpoint)
Retrieve the resource descriptor for the specified endpoint.
|
abstract Collection<ResourceDescriptor> |
getResourceDescriptors()
Retrieve the resource descriptors served by this backend.
|
abstract Resources |
getResources(GetResourcesRequest request)
Retrieve selected resources.
|
Collection<AuthenticationScheme> |
getSupportedAuthenticationSchemes()
Retrieves the authentication schemes supported by this backend.
|
abstract BaseResource |
patchResource(PatchResourceRequest request)
Update the contents of an existing resource with attributes specified.
|
abstract BaseResource |
postResource(PostResourceRequest request)
Create a new resource.
|
abstract BaseResource |
putResource(PutResourceRequest request)
Replace the contents of an existing resource.
|
boolean |
supportsSorting()
Retrieves whether this backend supports sorting.
|
boolean |
supportsVersioning()
Retrieves whether this backends supports resource versioning.
|
public SCIMBackend()
public abstract void finalizeBackend()
public SCIMBackendConfig getConfig()
public abstract BaseResource getResource(GetResourceRequest request) throws SCIMException
request - The Get Resource request.SCIMException - if an error occurs while processing the request.public abstract Resources getResources(GetResourcesRequest request) throws SCIMException
request - The Get Resources request.SCIMException - if an error occurs while processing the request.public abstract BaseResource postResource(PostResourceRequest request) throws SCIMException
request - The Post Resource request.SCIMException - if an error occurs while processing the request.public abstract void deleteResource(DeleteResourceRequest request) throws SCIMException
request - The Delete Resource request.SCIMException - if an error occurs while processing the request.public abstract BaseResource putResource(PutResourceRequest request) throws SCIMException
request - The Put Resource request.SCIMException - if an error occurs while processing the request.public abstract BaseResource patchResource(PatchResourceRequest request) throws SCIMException
request - The Patch Resource request.SCIMException - if an error occurs while processing the request.public boolean supportsSorting()
true if sorting is supported or false otherwise.public boolean supportsVersioning()
true if versioning is supported or false otherwise.public Collection<AuthenticationScheme> getSupportedAuthenticationSchemes()
public abstract Collection<ResourceDescriptor> getResourceDescriptors()
public ResourceDescriptor getResourceDescriptor(String endpoint)
endpoint - The endpoint of the resource descriptor to retrieve.null
if no resource descriptors with the specified endpoint was found.Copyright © 2011–2016 UnboundID. All rights reserved.