public class BatchApi extends Object
Constructor and Description |
---|
BatchApi() |
BatchApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
deleteBatch(String id,
Boolean cascade)
Delete
Deletes a batch by id, including all related jobs and job definitions.
|
okhttp3.Call |
deleteBatchAsync(String id,
Boolean cascade,
ApiCallback<Void> _callback)
Delete (asynchronously)
Deletes a batch by id, including all related jobs and job definitions.
|
okhttp3.Call |
deleteBatchCall(String id,
Boolean cascade,
ApiCallback _callback)
Build call for deleteBatch
|
ApiResponse<Void> |
deleteBatchWithHttpInfo(String id,
Boolean cascade)
Delete
Deletes a batch by id, including all related jobs and job definitions.
|
ApiClient |
getApiClient() |
BatchDto |
getBatch(String id)
Get
Retrieves a batch by id, according to the Batch interface in the engine.
|
okhttp3.Call |
getBatchAsync(String id,
ApiCallback<BatchDto> _callback)
Get (asynchronously)
Retrieves a batch by id, according to the Batch interface in the engine.
|
okhttp3.Call |
getBatchCall(String id,
ApiCallback _callback)
Build call for getBatch
|
List<BatchDto> |
getBatches(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended)
Get List
Queries for batches that fulfill given parameters.
|
okhttp3.Call |
getBatchesAsync(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended,
ApiCallback<List<BatchDto>> _callback)
Get List (asynchronously)
Queries for batches that fulfill given parameters.
|
okhttp3.Call |
getBatchesCall(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended,
ApiCallback _callback)
Build call for getBatches
|
CountResultDto |
getBatchesCount(String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended)
Get List Count
Requests the number of batches that fulfill the query criteria.
|
okhttp3.Call |
getBatchesCountAsync(String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended,
ApiCallback<CountResultDto> _callback)
Get List Count (asynchronously)
Requests the number of batches that fulfill the query criteria.
|
okhttp3.Call |
getBatchesCountCall(String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended,
ApiCallback _callback)
Build call for getBatchesCount
|
ApiResponse<CountResultDto> |
getBatchesCountWithHttpInfo(String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended)
Get List Count
Requests the number of batches that fulfill the query criteria.
|
ApiResponse<List<BatchDto>> |
getBatchesWithHttpInfo(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended)
Get List
Queries for batches that fulfill given parameters.
|
List<BatchStatisticsDto> |
getBatchStatistics(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended)
Get Statistics
Queries for batch statistics that fulfill given parameters.
|
okhttp3.Call |
getBatchStatisticsAsync(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended,
ApiCallback<List<BatchStatisticsDto>> _callback)
Get Statistics (asynchronously)
Queries for batch statistics that fulfill given parameters.
|
okhttp3.Call |
getBatchStatisticsCall(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended,
ApiCallback _callback)
Build call for getBatchStatistics
|
CountResultDto |
getBatchStatisticsCount(String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended)
Get Statistics Count
Requests the number of batch statistics that fulfill the query criteria.
|
okhttp3.Call |
getBatchStatisticsCountAsync(String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended,
ApiCallback<CountResultDto> _callback)
Get Statistics Count (asynchronously)
Requests the number of batch statistics that fulfill the query criteria.
|
okhttp3.Call |
getBatchStatisticsCountCall(String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended,
ApiCallback _callback)
Build call for getBatchStatisticsCount
|
ApiResponse<CountResultDto> |
getBatchStatisticsCountWithHttpInfo(String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended)
Get Statistics Count
Requests the number of batch statistics that fulfill the query criteria.
|
ApiResponse<List<BatchStatisticsDto>> |
getBatchStatisticsWithHttpInfo(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String batchId,
String type,
String tenantIdIn,
Boolean withoutTenantId,
Boolean suspended)
Get Statistics
Queries for batch statistics that fulfill given parameters.
|
ApiResponse<BatchDto> |
getBatchWithHttpInfo(String id)
Get
Retrieves a batch by id, according to the Batch interface in the engine.
|
void |
setApiClient(ApiClient apiClient) |
void |
updateBatchSuspensionState(String id,
SuspensionStateDto suspensionStateDto)
Activate/Suspend
Activates or suspends a batch by id.
|
okhttp3.Call |
updateBatchSuspensionStateAsync(String id,
SuspensionStateDto suspensionStateDto,
ApiCallback<Void> _callback)
Activate/Suspend (asynchronously)
Activates or suspends a batch by id.
|
okhttp3.Call |
updateBatchSuspensionStateCall(String id,
SuspensionStateDto suspensionStateDto,
ApiCallback _callback)
Build call for updateBatchSuspensionState
|
ApiResponse<Void> |
updateBatchSuspensionStateWithHttpInfo(String id,
SuspensionStateDto suspensionStateDto)
Activate/Suspend
Activates or suspends a batch by id.
|
public BatchApi()
public BatchApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call deleteBatchCall(String id, Boolean cascade, ApiCallback _callback) throws ApiException
id
- The id of the batch to be deleted. (required)cascade
- `true`, if the historic batch and historic job logs for this batch should also be deleted. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void deleteBatch(String id, Boolean cascade) throws ApiException
id
- The id of the batch to be deleted. (required)cascade
- `true`, if the historic batch and historic job logs for this batch should also be deleted. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteBatchWithHttpInfo(String id, Boolean cascade) throws ApiException
id
- The id of the batch to be deleted. (required)cascade
- `true`, if the historic batch and historic job logs for this batch should also be deleted. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteBatchAsync(String id, Boolean cascade, ApiCallback<Void> _callback) throws ApiException
id
- The id of the batch to be deleted. (required)cascade
- `true`, if the historic batch and historic job logs for this batch should also be deleted. (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 okhttp3.Call getBatchCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the batch to be retrieved. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic BatchDto getBatch(String id) throws ApiException
id
- The id of the batch to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BatchDto> getBatchWithHttpInfo(String id) throws ApiException
id
- The id of the batch to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getBatchAsync(String id, ApiCallback<BatchDto> _callback) throws ApiException
id
- The id of the batch to be retrieved. (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 objectpublic okhttp3.Call getBatchStatisticsCall(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended, ApiCallback _callback) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<BatchStatisticsDto> getBatchStatistics(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<BatchStatisticsDto>> getBatchStatisticsWithHttpInfo(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getBatchStatisticsAsync(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended, ApiCallback<List<BatchStatisticsDto>> _callback) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (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 okhttp3.Call getBatchStatisticsCountCall(String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended, ApiCallback _callback) throws ApiException
batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CountResultDto getBatchStatisticsCount(String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended) throws ApiException
batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountResultDto> getBatchStatisticsCountWithHttpInfo(String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended) throws ApiException
batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getBatchStatisticsCountAsync(String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended, ApiCallback<CountResultDto> _callback) throws ApiException
batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (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 okhttp3.Call getBatchesCall(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended, ApiCallback _callback) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<BatchDto> getBatches(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<BatchDto>> getBatchesWithHttpInfo(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getBatchesAsync(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended, ApiCallback<List<BatchDto>> _callback) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (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 okhttp3.Call getBatchesCountCall(String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended, ApiCallback _callback) throws ApiException
batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CountResultDto getBatchesCount(String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended) throws ApiException
batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountResultDto> getBatchesCountWithHttpInfo(String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended) throws ApiException
batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getBatchesCountAsync(String batchId, String type, String tenantIdIn, Boolean withoutTenantId, Boolean suspended, ApiCallback<CountResultDto> _callback) throws ApiException
batchId
- Filter by batch id. (optional)type
- Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.15/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types. (optional)tenantIdIn
- Filter by a comma-separated list of `Strings`. A batch matches if it has one of the given tenant ids. (optional)withoutTenantId
- Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)suspended
- A `Boolean` value which indicates whether only active or suspended batches should be included. When the value is set to `true`, only suspended batches will be returned and when the value is set to `false`, only active batches will be returned. (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 okhttp3.Call updateBatchSuspensionStateCall(String id, SuspensionStateDto suspensionStateDto, ApiCallback _callback) throws ApiException
id
- The id of the batch to activate or suspend. (required)suspensionStateDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void updateBatchSuspensionState(String id, SuspensionStateDto suspensionStateDto) throws ApiException
id
- The id of the batch to activate or suspend. (required)suspensionStateDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateBatchSuspensionStateWithHttpInfo(String id, SuspensionStateDto suspensionStateDto) throws ApiException
id
- The id of the batch to activate or suspend. (required)suspensionStateDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateBatchSuspensionStateAsync(String id, SuspensionStateDto suspensionStateDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the batch to activate or suspend. (required)suspensionStateDto
- (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 objectCopyright © 2022. All rights reserved.