com.unboundid.scim.sdk
Class BulkEndpoint

java.lang.Object
  extended by com.unboundid.scim.sdk.BulkEndpoint

public class BulkEndpoint
extends Object

This class provides a way for a SCIM client to invoke a bulk request.


Method Summary
 BulkResponse processRequest(List<BulkOperation> operations, int failOnErrors)
          Retrieves the response to the bulk request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

processRequest

public BulkResponse processRequest(List<BulkOperation> operations,
                                   int failOnErrors)
                            throws SCIMException
Retrieves the response to the bulk request. This should only be called after all operations to be performed have been provided.

Parameters:
operations - The bulk operations to be performed.
failOnErrors - The number of errors that the service provider will accept before the operation is terminated and an error response is returned. A value of -1 indicates the the service provider will continue to perform as many operations as possible without regard to failures.
Returns:
The bulk response.
Throws:
SCIMException - If the request fails.


Copyright © 2011-2012 UnboundID. All Rights Reserved.