public abstract class BulkContentHandler extends Object
| Constructor and Description |
|---|
BulkContentHandler() |
| Modifier and Type | Method and Description |
|---|---|
ResourceDescriptor |
getResourceDescriptor(String endpoint)
Retrieve the resource descriptor for a given endpoint.
|
boolean |
handleException(int opIndex,
BulkException bulkException)
Handle an exception encountered when processing an individual operation.
|
void |
handleFailOnErrors(int failOnErrors)
Handles the value of failOnErrors.
|
void |
handleOperation(int opIndex,
BulkOperation bulkOperation)
Handle an individual operation.
|
String |
transformValue(int opIndex,
String value)
Transform a data value.
|
public BulkContentHandler()
public void handleFailOnErrors(int failOnErrors)
failOnErrors - The number of errors that the Service Provider will
accept before the operation is terminated and an
error response is returned.public void handleOperation(int opIndex, BulkOperation bulkOperation) throws BulkException, SCIMException
opIndex - The index of the operation.bulkOperation - The individual operation within the bulk operation.SCIMException - If an error occurs that prevents processing of the
entire bulk content.BulkException - If an error occurs while processing the individual
operation within the bulk operation.public boolean handleException(int opIndex, BulkException bulkException) throws SCIMException
opIndex - The index of the operation.bulkException - The exception encountered when processing an
individual operation within the bulk operation.true if operations should continue to be provided,
or false if the remaining operations are of no interest.SCIMException - If an error occurs that prevents processing of the
entire bulk content.public ResourceDescriptor getResourceDescriptor(String endpoint)
endpoint - A SCIM resource endpoint.null if the
endpoint is unknown.public String transformValue(int opIndex, String value)
opIndex - The index of the bulk operation containing the data value.value - The value to be transformed.Copyright © 2011–2016 UnboundID. All rights reserved.