public class WorkflowModelsApi extends Object
Constructor and Description |
---|
WorkflowModelsApi() |
WorkflowModelsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
WorkflowModelDTO |
createWorkflowModel(String workspaceId,
WorkflowModelDTO body)
Create a new workflow model
|
com.squareup.okhttp.Call |
createWorkflowModelAsync(String workspaceId,
WorkflowModelDTO body,
ApiCallback<WorkflowModelDTO> callback)
Create a new workflow model (asynchronously)
|
ApiResponse<WorkflowModelDTO> |
createWorkflowModelWithHttpInfo(String workspaceId,
WorkflowModelDTO body)
Create a new workflow model
|
void |
delWorkflowModel(String workspaceId,
String workflowModelId)
Delete a workflow model
|
com.squareup.okhttp.Call |
delWorkflowModelAsync(String workspaceId,
String workflowModelId,
ApiCallback<Void> callback)
Delete a workflow model (asynchronously)
|
ApiResponse<Void> |
delWorkflowModelWithHttpInfo(String workspaceId,
String workflowModelId)
Delete a workflow model
|
ApiClient |
getApiClient() |
WorkflowModelDTO |
getWorkflowModelInWorkspace(String workspaceId,
String workflowModelId)
Get workflow model by id
|
com.squareup.okhttp.Call |
getWorkflowModelInWorkspaceAsync(String workspaceId,
String workflowModelId,
ApiCallback<WorkflowModelDTO> callback)
Get workflow model by id (asynchronously)
|
ApiResponse<WorkflowModelDTO> |
getWorkflowModelInWorkspaceWithHttpInfo(String workspaceId,
String workflowModelId)
Get workflow model by id
|
List<WorkflowModelDTO> |
getWorkflowModelsInWorkspace(String workspaceId)
Get workflow models in given workspace
|
com.squareup.okhttp.Call |
getWorkflowModelsInWorkspaceAsync(String workspaceId,
ApiCallback<List<WorkflowModelDTO>> callback)
Get workflow models in given workspace (asynchronously)
|
ApiResponse<List<WorkflowModelDTO>> |
getWorkflowModelsInWorkspaceWithHttpInfo(String workspaceId)
Get workflow models in given workspace
|
void |
setApiClient(ApiClient apiClient) |
WorkflowModelDTO |
updateWorkflowModel(String workspaceId,
String workflowModelId,
WorkflowModelDTO body)
Update a workflow model
|
void |
updateWorkflowModelACL(String workspaceId,
String workflowModelId,
ACLDTO body)
Update workflow model ACL
|
com.squareup.okhttp.Call |
updateWorkflowModelACLAsync(String workspaceId,
String workflowModelId,
ACLDTO body,
ApiCallback<Void> callback)
Update workflow model ACL (asynchronously)
|
ApiResponse<Void> |
updateWorkflowModelACLWithHttpInfo(String workspaceId,
String workflowModelId,
ACLDTO body)
Update workflow model ACL
|
com.squareup.okhttp.Call |
updateWorkflowModelAsync(String workspaceId,
String workflowModelId,
WorkflowModelDTO body,
ApiCallback<WorkflowModelDTO> callback)
Update a workflow model (asynchronously)
|
ApiResponse<WorkflowModelDTO> |
updateWorkflowModelWithHttpInfo(String workspaceId,
String workflowModelId,
WorkflowModelDTO body)
Update a workflow model
|
public WorkflowModelsApi()
public WorkflowModelsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<WorkflowModelDTO> getWorkflowModelsInWorkspace(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<WorkflowModelDTO>> getWorkflowModelsInWorkspaceWithHttpInfo(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getWorkflowModelsInWorkspaceAsync(String workspaceId, ApiCallback<List<WorkflowModelDTO>> callback) throws ApiException
workspaceId
- Workspace 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 WorkflowModelDTO createWorkflowModel(String workspaceId, WorkflowModelDTO body) throws ApiException
workspaceId
- Workspace idbody
- Workflow model to create rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WorkflowModelDTO> createWorkflowModelWithHttpInfo(String workspaceId, WorkflowModelDTO body) throws ApiException
workspaceId
- Workspace idbody
- Workflow model to create rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createWorkflowModelAsync(String workspaceId, WorkflowModelDTO body, ApiCallback<WorkflowModelDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Workflow model to create rules to setcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic WorkflowModelDTO getWorkflowModelInWorkspace(String workspaceId, String workflowModelId) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WorkflowModelDTO> getWorkflowModelInWorkspaceWithHttpInfo(String workspaceId, String workflowModelId) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getWorkflowModelInWorkspaceAsync(String workspaceId, String workflowModelId, ApiCallback<WorkflowModelDTO> callback) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model 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 WorkflowModelDTO updateWorkflowModel(String workspaceId, String workflowModelId, WorkflowModelDTO body) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idbody
- Workflow model to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WorkflowModelDTO> updateWorkflowModelWithHttpInfo(String workspaceId, String workflowModelId, WorkflowModelDTO body) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idbody
- Workflow model to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateWorkflowModelAsync(String workspaceId, String workflowModelId, WorkflowModelDTO body, ApiCallback<WorkflowModelDTO> callback) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idbody
- Workflow model to updatecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic void delWorkflowModel(String workspaceId, String workflowModelId) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> delWorkflowModelWithHttpInfo(String workspaceId, String workflowModelId) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call delWorkflowModelAsync(String workspaceId, String workflowModelId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model 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 void updateWorkflowModelACL(String workspaceId, String workflowModelId, ACLDTO body) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateWorkflowModelACLWithHttpInfo(String workspaceId, String workflowModelId, ACLDTO body) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateWorkflowModelACLAsync(String workspaceId, String workflowModelId, ACLDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idworkflowModelId
- Workflow model idbody
- ACL rules to setcallback
- 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.