public interface IntegrationService
Modifier and Type | Method and Description |
---|---|
void |
invokeOperationInBackground(String operationName,
Map httpHeaders,
Map httpParameters,
IntegrationServiceCallback integrationServiceCallback)
Fetch the data with specified operationName asynchronously and executes
the given callback.
|
void invokeOperationInBackground(String operationName, Map httpHeaders, Map httpParameters, IntegrationServiceCallback integrationServiceCallback)
operationName
- - Name of the operationNamehttpHeaders
- - input headers to the operationhttpParameters
- - input data to the operationintegrationServiceCallback
- integrationServiceCallback interface have the following
success/failure callback methods.
onSuccess(JSONObject response)
onFailure(IntegrationServiceException integrationServiceException)