public class WorkflowsApi extends Object
Constructor and Description |
---|
WorkflowsApi() |
WorkflowsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
List<WorkflowDTO> |
getWorkflowAbortedWorkflowList(String workspaceId,
Integer workflowId)
Get workflow's aborted workflow list
|
com.squareup.okhttp.Call |
getWorkflowAbortedWorkflowListAsync(String workspaceId,
Integer workflowId,
ApiCallback<List<WorkflowDTO>> callback)
Get workflow's aborted workflow list (asynchronously)
|
ApiResponse<List<WorkflowDTO>> |
getWorkflowAbortedWorkflowListWithHttpInfo(String workspaceId,
Integer workflowId)
Get workflow's aborted workflow list
|
WorkflowDTO |
getWorkflowInstance(String workspaceId,
Integer workflowId)
Get instantiated workflow in workspace
|
com.squareup.okhttp.Call |
getWorkflowInstanceAsync(String workspaceId,
Integer workflowId,
ApiCallback<WorkflowDTO> callback)
Get instantiated workflow in workspace (asynchronously)
|
ApiResponse<WorkflowDTO> |
getWorkflowInstanceWithHttpInfo(String workspaceId,
Integer workflowId)
Get instantiated workflow in workspace
|
void |
setApiClient(ApiClient apiClient) |
public WorkflowsApi()
public WorkflowsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public WorkflowDTO getWorkflowInstance(String workspaceId, Integer workflowId) throws ApiException
workspaceId
- Workspace idworkflowId
- Workflow idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WorkflowDTO> getWorkflowInstanceWithHttpInfo(String workspaceId, Integer workflowId) throws ApiException
workspaceId
- Workspace idworkflowId
- Workflow idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getWorkflowInstanceAsync(String workspaceId, Integer workflowId, ApiCallback<WorkflowDTO> callback) throws ApiException
workspaceId
- Workspace idworkflowId
- Workflow idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<WorkflowDTO> getWorkflowAbortedWorkflowList(String workspaceId, Integer workflowId) throws ApiException
workspaceId
- Workspace idworkflowId
- Workflow idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<WorkflowDTO>> getWorkflowAbortedWorkflowListWithHttpInfo(String workspaceId, Integer workflowId) throws ApiException
workspaceId
- Workspace idworkflowId
- Workflow idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getWorkflowAbortedWorkflowListAsync(String workspaceId, Integer workflowId, ApiCallback<List<WorkflowDTO>> callback) throws ApiException
workspaceId
- Workspace idworkflowId
- Workflow idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.