public class TasksApi extends Object
Constructor and Description |
---|
TasksApi() |
TasksApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
List<TaskDTO> |
getAssignedTasksForGivenUser(String workspaceId,
String assignedUserLogin)
Get assigned tasks for given user
|
com.squareup.okhttp.Call |
getAssignedTasksForGivenUserAsync(String workspaceId,
String assignedUserLogin,
ApiCallback<List<TaskDTO>> callback)
Get assigned tasks for given user (asynchronously)
|
ApiResponse<List<TaskDTO>> |
getAssignedTasksForGivenUserWithHttpInfo(String workspaceId,
String assignedUserLogin)
Get assigned tasks for given user
|
List<DocumentRevisionDTO> |
getDocumentsWhereGivenUserHasAssignedTasks(String workspaceId,
String assignedUserLogin,
String filter)
Get document revisions where user has assigned tasks
|
com.squareup.okhttp.Call |
getDocumentsWhereGivenUserHasAssignedTasksAsync(String workspaceId,
String assignedUserLogin,
String filter,
ApiCallback<List<DocumentRevisionDTO>> callback)
Get document revisions where user has assigned tasks (asynchronously)
|
ApiResponse<List<DocumentRevisionDTO>> |
getDocumentsWhereGivenUserHasAssignedTasksWithHttpInfo(String workspaceId,
String assignedUserLogin,
String filter)
Get document revisions where user has assigned tasks
|
List<PartRevisionDTO> |
getPartsWhereGivenUserHasAssignedTasks(String workspaceId,
String assignedUserLogin,
String filter)
Get part revisions where user has assigned tasks
|
com.squareup.okhttp.Call |
getPartsWhereGivenUserHasAssignedTasksAsync(String workspaceId,
String assignedUserLogin,
String filter,
ApiCallback<List<PartRevisionDTO>> callback)
Get part revisions where user has assigned tasks (asynchronously)
|
ApiResponse<List<PartRevisionDTO>> |
getPartsWhereGivenUserHasAssignedTasksWithHttpInfo(String workspaceId,
String assignedUserLogin,
String filter)
Get part revisions where user has assigned tasks
|
TaskDTO |
getTask(String workspaceId,
String taskId)
Get task by id
|
com.squareup.okhttp.Call |
getTaskAsync(String workspaceId,
String taskId,
ApiCallback<TaskDTO> callback)
Get task by id (asynchronously)
|
ApiResponse<TaskDTO> |
getTaskWithHttpInfo(String workspaceId,
String taskId)
Get task by id
|
void |
processTask(String workspaceId,
String taskId,
TaskProcessDTO body)
Approve or reject task on a document or part revision
|
com.squareup.okhttp.Call |
processTaskAsync(String workspaceId,
String taskId,
TaskProcessDTO body,
ApiCallback<Void> callback)
Approve or reject task on a document or part revision (asynchronously)
|
ApiResponse<Void> |
processTaskWithHttpInfo(String workspaceId,
String taskId,
TaskProcessDTO body)
Approve or reject task on a document or part revision
|
void |
setApiClient(ApiClient apiClient) |
public TasksApi()
public TasksApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<TaskDTO> getAssignedTasksForGivenUser(String workspaceId, String assignedUserLogin) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user loginApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<TaskDTO>> getAssignedTasksForGivenUserWithHttpInfo(String workspaceId, String assignedUserLogin) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user loginApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAssignedTasksForGivenUserAsync(String workspaceId, String assignedUserLogin, ApiCallback<List<TaskDTO>> callback) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user logincallback
- 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<DocumentRevisionDTO> getDocumentsWhereGivenUserHasAssignedTasks(String workspaceId, String assignedUserLogin, String filter) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user loginfilter
- Status filterApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<DocumentRevisionDTO>> getDocumentsWhereGivenUserHasAssignedTasksWithHttpInfo(String workspaceId, String assignedUserLogin, String filter) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user loginfilter
- Status filterApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDocumentsWhereGivenUserHasAssignedTasksAsync(String workspaceId, String assignedUserLogin, String filter, ApiCallback<List<DocumentRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user loginfilter
- Status filtercallback
- 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<PartRevisionDTO> getPartsWhereGivenUserHasAssignedTasks(String workspaceId, String assignedUserLogin, String filter) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user loginfilter
- Task status filterApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<PartRevisionDTO>> getPartsWhereGivenUserHasAssignedTasksWithHttpInfo(String workspaceId, String assignedUserLogin, String filter) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user loginfilter
- Task status filterApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPartsWhereGivenUserHasAssignedTasksAsync(String workspaceId, String assignedUserLogin, String filter, ApiCallback<List<PartRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace idassignedUserLogin
- Assigned user loginfilter
- Task status filtercallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic TaskDTO getTask(String workspaceId, String taskId) throws ApiException
workspaceId
- Workspace idtaskId
- Task idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TaskDTO> getTaskWithHttpInfo(String workspaceId, String taskId) throws ApiException
workspaceId
- Workspace idtaskId
- Task idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTaskAsync(String workspaceId, String taskId, ApiCallback<TaskDTO> callback) throws ApiException
workspaceId
- Workspace idtaskId
- Task 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 processTask(String workspaceId, String taskId, TaskProcessDTO body) throws ApiException
workspaceId
- Workspace idtaskId
- Task idbody
- Task process dataApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> processTaskWithHttpInfo(String workspaceId, String taskId, TaskProcessDTO body) throws ApiException
workspaceId
- Workspace idtaskId
- Task idbody
- Task process dataApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call processTaskAsync(String workspaceId, String taskId, TaskProcessDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idtaskId
- Task idbody
- Task process datacallback
- 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.