public class WorkflowsIndividualApi extends Object
| Constructor and Description |
|---|
WorkflowsIndividualApi() |
WorkflowsIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
WorkflowInfoDTO |
workflowsExternalWorkflowRefGet(String externalWorkflowRef,
String ifNoneMatch)
Get details of a the pending workflow request according to the External Workflow Reference.
|
com.squareup.okhttp.Call |
workflowsExternalWorkflowRefGetAsync(String externalWorkflowRef,
String ifNoneMatch,
ApiCallback<WorkflowInfoDTO> callback)
Get details of a the pending workflow request according to the External Workflow Reference.
|
com.squareup.okhttp.Call |
workflowsExternalWorkflowRefGetCall(String externalWorkflowRef,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for workflowsExternalWorkflowRefGet
|
ApiResponse<WorkflowInfoDTO> |
workflowsExternalWorkflowRefGetWithHttpInfo(String externalWorkflowRef,
String ifNoneMatch)
Get details of a the pending workflow request according to the External Workflow Reference.
|
WorkflowDTO |
workflowsUpdateWorkflowStatusPost(String workflowReferenceId,
WorkflowDTO body)
Update workflow status
This operation can be used to approve or reject a workflow task.
|
com.squareup.okhttp.Call |
workflowsUpdateWorkflowStatusPostAsync(String workflowReferenceId,
WorkflowDTO body,
ApiCallback<WorkflowDTO> callback)
Update workflow status (asynchronously)
This operation can be used to approve or reject a workflow task.
|
com.squareup.okhttp.Call |
workflowsUpdateWorkflowStatusPostCall(String workflowReferenceId,
WorkflowDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for workflowsUpdateWorkflowStatusPost
|
ApiResponse<WorkflowDTO> |
workflowsUpdateWorkflowStatusPostWithHttpInfo(String workflowReferenceId,
WorkflowDTO body)
Update workflow status
This operation can be used to approve or reject a workflow task.
|
public WorkflowsIndividualApi()
public WorkflowsIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call workflowsExternalWorkflowRefGetCall(String externalWorkflowRef, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
externalWorkflowRef - from the externel workflow reference we decide what is the the pending request that the are requesting. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic WorkflowInfoDTO workflowsExternalWorkflowRefGet(String externalWorkflowRef, String ifNoneMatch) throws ApiException
externalWorkflowRef - from the externel workflow reference we decide what is the the pending request that the are requesting. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WorkflowInfoDTO> workflowsExternalWorkflowRefGetWithHttpInfo(String externalWorkflowRef, String ifNoneMatch) throws ApiException
externalWorkflowRef - from the externel workflow reference we decide what is the the pending request that the are requesting. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call workflowsExternalWorkflowRefGetAsync(String externalWorkflowRef, String ifNoneMatch, ApiCallback<WorkflowInfoDTO> callback) throws ApiException
externalWorkflowRef - from the externel workflow reference we decide what is the the pending request that the are requesting. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call workflowsUpdateWorkflowStatusPostCall(String workflowReferenceId, WorkflowDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
workflowReferenceId - Workflow reference id (required)body - Workflow event that need to be updated (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic WorkflowDTO workflowsUpdateWorkflowStatusPost(String workflowReferenceId, WorkflowDTO body) throws ApiException
workflowReferenceId - Workflow reference id (required)body - Workflow event that need to be updated (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WorkflowDTO> workflowsUpdateWorkflowStatusPostWithHttpInfo(String workflowReferenceId, WorkflowDTO body) throws ApiException
workflowReferenceId - Workflow reference id (required)body - Workflow event that need to be updated (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call workflowsUpdateWorkflowStatusPostAsync(String workflowReferenceId, WorkflowDTO body, ApiCallback<WorkflowDTO> callback) throws ApiException
workflowReferenceId - Workflow reference id (required)body - Workflow event that need to be updated (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020 WSO2 Inc. All rights reserved.