com.unboundid.scim.sdk
Class BulkContentResponseHandler

java.lang.Object
  extended by com.unboundid.scim.sdk.BulkContentHandler
      extended by com.unboundid.scim.sdk.BulkContentResponseHandler

public class BulkContentResponseHandler
extends BulkContentHandler

This class implements the bulk operation handler to process bulk operation responses in the SCIM client. This handler accumulates all the operation responses in memory.


Constructor Summary
BulkContentResponseHandler()
           
 
Method Summary
 List<BulkOperation> getOperations()
          Retrieve the list of operation responses.
 boolean handleOperation(int opIndex, BulkOperation bulkOperation)
          Handle an individual operation.
 
Methods inherited from class com.unboundid.scim.sdk.BulkContentHandler
getResourceDescriptor, handleFailOnErrors, transformValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkContentResponseHandler

public BulkContentResponseHandler()
Method Detail

handleOperation

public boolean handleOperation(int opIndex,
                               BulkOperation bulkOperation)
                        throws SCIMException
Handle an individual operation.

Overrides:
handleOperation in class BulkContentHandler
Parameters:
opIndex - The index of the operation.
bulkOperation - The individual operation within the bulk operation.
Returns:
true if operations should continue to be provided, or false if the remaining operations are of no interest.
Throws:
SCIMException - If an error occurs that prevents processing of the entire bulk content.

getOperations

public List<BulkOperation> getOperations()
Retrieve the list of operation responses.

Returns:
The list of operation responses.


Copyright © 2011-2012 UnboundID. All Rights Reserved.