The plug-in interface for IBulkCancelRequestHandler is used by BulkManager to support producing a cancelBulkDataExchange or ignoreBulkDataExchange request.
The interface implementation is D2L.IM.IPSIS.Bulk.Handlers.IBulkCancelRequestHandler.
The Template - Bulk Cancel (LIS) configuration list provides a starting point for any LIS implementation.
The D2L.IM.IPSIS.LIS.BDEMS.Default.CancelBulkDataExchangeHandler (Sort Order = 10) handler list is used as a starting point when you are integrating using LIS.
The handler performs the following tasks:
- Checks the BulkJobStatus of the IBulkCancelRequest object to determine whether to call cancelBulkDataExchange or ignoreBulkDataExchange (via the proxy client). If (BulkRequested || BulkRequestSent) then call cancel. Otherwise call ignore.
- Sends the appropriate request (Cancel or Ignore).
- Verifies that the response was a success. If the response was not a success, the handler updates the status of the bulk job to Error.
- Take the source system out of BulkMode (set it to Enabled).