com.scms.api.sce
Interface OperationResultHandler
public interface OperationResultHandler
This interface should be implemented if you want to be informed about the results
of operations performed through the API.
This is the only interface for retrieving results; they cannot be returned immediately
after the API method has returned to the caller. In order to be able to receive operation
results, you should set the result handler of each operation at the time of the operation call
In operations involving bulk objects even if the operation fails for any specific element
in the bulk, the processing of the bulk will be continued.
handleOperationResult
void handleOperationResult(java.lang.Object[] result,
OperationArguments handback)
- Parameters:
result - The actual result of the operation - each entry within the array can be
one of the following:
1)NULL - indicates success of the operation.
2)OperationException (see below) - indicates operation failure.handback - - The API automatically provides this object to every operation call -
it contains the information about the operation that was called -
including all parameters that were passed at the time of the call.