Class FilterApi
java.lang.Object
org.camunda.community.rest.client.api.FilterApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class FilterApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFilter(CreateFilterDto createFilterDto) Create Filter Creates a new filter.createFilter(CreateFilterDto createFilterDto, Map<String, String> additionalHeaders) Create Filter Creates a new filter.voiddeleteFilter(String id) Delete Filter Deletes a filter by id.voiddeleteFilter(String id, Map<String, String> additionalHeaders) Delete Filter Deletes a filter by id.Execute Filter Count Executes the saved query of the filter by id and returns the count.executeFilterCount(String id, Map<String, String> additionalHeaders) Execute Filter Count Executes the saved query of the filter by id and returns the count.executeFilterList(String id, Integer firstResult, Integer maxResults) Execute Filter List Executes the saved query of the filter by id and returns the result list.executeFilterList(String id, Integer firstResult, Integer maxResults, Map<String, String> additionalHeaders) Execute Filter List Executes the saved query of the filter by id and returns the result list.Execute Filter Single Result Executes the saved query of the filter by id and returns the single result.executeFilterSingleResult(String id, Map<String, String> additionalHeaders) Execute Filter Single Result Executes the saved query of the filter by id and returns the single result.Filter Resource Options The OPTIONS request allows you to check for the set of available operations that the currently authenticated user can perform on the `/filter` resource.filterResourceOptions(Map<String, String> additionalHeaders) Filter Resource Options The OPTIONS request allows you to check for the set of available operations that the currently authenticated user can perform on the `/filter` resource.Filter Resource Options The OPTIONS request allows you to check for the set of available operations that the currently authenticated user can perform on the `/filter` resource.filterResourceOptionsSingle(String id, Map<String, String> additionalHeaders) Filter Resource Options The OPTIONS request allows you to check for the set of available operations that the currently authenticated user can perform on the `/filter` resource.Get Filter Count Retrieves the number of filters that fulfill a provided query.getFilterCount(String filterId, String resourceType, String name, String nameLike, String owner, Map<String, String> additionalHeaders) Get Filter Count Retrieves the number of filters that fulfill a provided query.getFilterList(String filterId, String resourceType, String name, String nameLike, String owner, Boolean itemCount, String sortBy, String sortOrder, Integer firstResult, Integer maxResults) Get Filters Queries for a list of filters using a list of parameters.getFilterList(String filterId, String resourceType, String name, String nameLike, String owner, Boolean itemCount, String sortBy, String sortOrder, Integer firstResult, Integer maxResults, Map<String, String> additionalHeaders) Get Filters Queries for a list of filters using a list of parameters.getSingleFilter(String id, Boolean itemCount) Get Single Filter Retrieves a single filter by id, according to the `Filter` interface in the engine.Get Single Filter Retrieves a single filter by id, according to the `Filter` interface in the engine.postExecuteFilterCount(String id, Object body) Execute Filter Count (POST) Executes the saved query of the filter by id and returns the count.Execute Filter Count (POST) Executes the saved query of the filter by id and returns the count.postExecuteFilterList(String id, Integer firstResult, Integer maxResults, Object body) Execute Filter List (POST) Executes the saved query of the filter by id and returns the result list.postExecuteFilterList(String id, Integer firstResult, Integer maxResults, Object body, Map<String, String> additionalHeaders) Execute Filter List (POST) Executes the saved query of the filter by id and returns the result list.postExecuteFilterSingleResult(String id, Object body) Execute Filter Single Result (POST) Executes the saved query of the filter by id and returns the single result.Execute Filter Single Result (POST) Executes the saved query of the filter by id and returns the single result.voidsetApiClient(ApiClient apiClient) voidupdateFilter(String id, CreateFilterDto createFilterDto) Update Filter Updates an existing filter.voidupdateFilter(String id, CreateFilterDto createFilterDto, Map<String, String> additionalHeaders) Update Filter Updates an existing filter.
-
Constructor Details
-
FilterApi
public FilterApi() -
FilterApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createFilter
Create Filter Creates a new filter.- Parameters:
createFilterDto- (optional)- Returns:
- FilterDto
- Throws:
ApiException- if fails to make API call
-
createFilter
public FilterDto createFilter(CreateFilterDto createFilterDto, Map<String, String> additionalHeaders) throws ApiExceptionCreate Filter Creates a new filter.- Parameters:
createFilterDto- (optional)additionalHeaders- additionalHeaders for this call- Returns:
- FilterDto
- Throws:
ApiException- if fails to make API call
-
deleteFilter
Delete Filter Deletes a filter by id.- Parameters:
id- The id of the filter to be deleted. (required)- Throws:
ApiException- if fails to make API call
-
deleteFilter
Delete Filter Deletes a filter by id.- Parameters:
id- The id of the filter to be deleted. (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
executeFilterCount
Execute Filter Count Executes the saved query of the filter by id and returns the count.- Parameters:
id- The id of the filter to execute. (required)- Returns:
- CountResultDto
- Throws:
ApiException- if fails to make API call
-
executeFilterCount
public CountResultDto executeFilterCount(String id, Map<String, String> additionalHeaders) throws ApiExceptionExecute Filter Count Executes the saved query of the filter by id and returns the count.- Parameters:
id- The id of the filter to execute. (required)additionalHeaders- additionalHeaders for this call- Returns:
- CountResultDto
- Throws:
ApiException- if fails to make API call
-
executeFilterList
public List<Object> executeFilterList(String id, Integer firstResult, Integer maxResults) throws ApiException Execute Filter List Executes the saved query of the filter by id and returns the result list.- Parameters:
id- The id of the filter to execute. (required)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)- Returns:
- List<Object>
- Throws:
ApiException- if fails to make API call
-
executeFilterList
public List<Object> executeFilterList(String id, Integer firstResult, Integer maxResults, Map<String, String> additionalHeaders) throws ApiExceptionExecute Filter List Executes the saved query of the filter by id and returns the result list.- Parameters:
id- The id of the filter to execute. (required)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)additionalHeaders- additionalHeaders for this call- Returns:
- List<Object>
- Throws:
ApiException- if fails to make API call
-
executeFilterSingleResult
Execute Filter Single Result Executes the saved query of the filter by id and returns the single result.- Parameters:
id- The id of the filter to execute. (required)- Returns:
- Object
- Throws:
ApiException- if fails to make API call
-
executeFilterSingleResult
public Object executeFilterSingleResult(String id, Map<String, String> additionalHeaders) throws ApiExceptionExecute Filter Single Result Executes the saved query of the filter by id and returns the single result.- Parameters:
id- The id of the filter to execute. (required)additionalHeaders- additionalHeaders for this call- Returns:
- Object
- Throws:
ApiException- if fails to make API call
-
filterResourceOptions
Filter Resource Options The OPTIONS request allows you to check for the set of available operations that the currently authenticated user can perform on the `/filter` resource. Whether the user can perform an operation or not may depend on various factors, including the users authorizations to interact with this resource and the internal configuration of the process engine.- Returns:
- ResourceOptionsDto
- Throws:
ApiException- if fails to make API call
-
filterResourceOptions
public ResourceOptionsDto filterResourceOptions(Map<String, String> additionalHeaders) throws ApiExceptionFilter Resource Options The OPTIONS request allows you to check for the set of available operations that the currently authenticated user can perform on the `/filter` resource. Whether the user can perform an operation or not may depend on various factors, including the users authorizations to interact with this resource and the internal configuration of the process engine.- Parameters:
additionalHeaders- additionalHeaders for this call- Returns:
- ResourceOptionsDto
- Throws:
ApiException- if fails to make API call
-
filterResourceOptionsSingle
Filter Resource Options The OPTIONS request allows you to check for the set of available operations that the currently authenticated user can perform on the `/filter` resource. Whether the user can perform an operation or not may depend on various factors, including the users authorizations to interact with this resource and the internal configuration of the process engine.- Parameters:
id- The id of the filter to be checked. (required)- Returns:
- ResourceOptionsDto
- Throws:
ApiException- if fails to make API call
-
filterResourceOptionsSingle
public ResourceOptionsDto filterResourceOptionsSingle(String id, Map<String, String> additionalHeaders) throws ApiExceptionFilter Resource Options The OPTIONS request allows you to check for the set of available operations that the currently authenticated user can perform on the `/filter` resource. Whether the user can perform an operation or not may depend on various factors, including the users authorizations to interact with this resource and the internal configuration of the process engine.- Parameters:
id- The id of the filter to be checked. (required)additionalHeaders- additionalHeaders for this call- Returns:
- ResourceOptionsDto
- Throws:
ApiException- if fails to make API call
-
getFilterCount
public CountResultDto getFilterCount(String filterId, String resourceType, String name, String nameLike, String owner) throws ApiException Get Filter Count Retrieves the number of filters that fulfill a provided query. Corresponds to the size of the result set when using the [Get Filters](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-query/) method.- Parameters:
filterId- Filter by the id of the filter. (optional)resourceType- Filter by the resource type of the filter, e.g., `Task`. (optional)name- Filter by the name of the filter. (optional)nameLike- Filter by the name that the parameter is a substring of. (optional)owner- Filter by the user id of the owner of the filter. (optional)- Returns:
- CountResultDto
- Throws:
ApiException- if fails to make API call
-
getFilterCount
public CountResultDto getFilterCount(String filterId, String resourceType, String name, String nameLike, String owner, Map<String, String> additionalHeaders) throws ApiExceptionGet Filter Count Retrieves the number of filters that fulfill a provided query. Corresponds to the size of the result set when using the [Get Filters](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-query/) method.- Parameters:
filterId- Filter by the id of the filter. (optional)resourceType- Filter by the resource type of the filter, e.g., `Task`. (optional)name- Filter by the name of the filter. (optional)nameLike- Filter by the name that the parameter is a substring of. (optional)owner- Filter by the user id of the owner of the filter. (optional)additionalHeaders- additionalHeaders for this call- Returns:
- CountResultDto
- Throws:
ApiException- if fails to make API call
-
getFilterList
public List<FilterDto> getFilterList(String filterId, String resourceType, String name, String nameLike, String owner, Boolean itemCount, String sortBy, String sortOrder, Integer firstResult, Integer maxResults) throws ApiException Get Filters Queries for a list of filters using a list of parameters. The size of the result set can be retrieved by using the [Get Filter Count](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-query-count/) method.- Parameters:
filterId- Filter by the id of the filter. (optional)resourceType- Filter by the resource type of the filter, e.g., `Task`. (optional)name- Filter by the name of the filter. (optional)nameLike- Filter by the name that the parameter is a substring of. (optional)owner- Filter by the user id of the owner of the filter. (optional)itemCount- If set to `true`, each filter result will contain an `itemCount` property with the number of items matched by the filter itself. (optional)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)- Returns:
- List<FilterDto>
- Throws:
ApiException- if fails to make API call
-
getFilterList
public List<FilterDto> getFilterList(String filterId, String resourceType, String name, String nameLike, String owner, Boolean itemCount, String sortBy, String sortOrder, Integer firstResult, Integer maxResults, Map<String, String> additionalHeaders) throws ApiExceptionGet Filters Queries for a list of filters using a list of parameters. The size of the result set can be retrieved by using the [Get Filter Count](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-query-count/) method.- Parameters:
filterId- Filter by the id of the filter. (optional)resourceType- Filter by the resource type of the filter, e.g., `Task`. (optional)name- Filter by the name of the filter. (optional)nameLike- Filter by the name that the parameter is a substring of. (optional)owner- Filter by the user id of the owner of the filter. (optional)itemCount- If set to `true`, each filter result will contain an `itemCount` property with the number of items matched by the filter itself. (optional)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)additionalHeaders- additionalHeaders for this call- Returns:
- List<FilterDto>
- Throws:
ApiException- if fails to make API call
-
getSingleFilter
Get Single Filter Retrieves a single filter by id, according to the `Filter` interface in the engine.- Parameters:
id- The id of the filter to be retrieved. (required)itemCount- If set to `true`, each filter result will contain an `itemCount` property with the number of items matched by the filter itself. (optional)- Returns:
- FilterDto
- Throws:
ApiException- if fails to make API call
-
getSingleFilter
public FilterDto getSingleFilter(String id, Boolean itemCount, Map<String, String> additionalHeaders) throws ApiExceptionGet Single Filter Retrieves a single filter by id, according to the `Filter` interface in the engine.- Parameters:
id- The id of the filter to be retrieved. (required)itemCount- If set to `true`, each filter result will contain an `itemCount` property with the number of items matched by the filter itself. (optional)additionalHeaders- additionalHeaders for this call- Returns:
- FilterDto
- Throws:
ApiException- if fails to make API call
-
postExecuteFilterCount
Execute Filter Count (POST) Executes the saved query of the filter by id and returns the count. This method is slightly more powerful then the [Get Execute Filter Count](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-execute-count/) method because it allows to extend the saved query of the filter.- Parameters:
id- The id of the filter to execute. (required)body- A JSON object which corresponds to the type of the saved query of the filter, i.e., if the resource type of the filter is Task the body should form a valid task query corresponding to the Task resource. (optional)- Returns:
- CountResultDto
- Throws:
ApiException- if fails to make API call
-
postExecuteFilterCount
public CountResultDto postExecuteFilterCount(String id, Object body, Map<String, String> additionalHeaders) throws ApiExceptionExecute Filter Count (POST) Executes the saved query of the filter by id and returns the count. This method is slightly more powerful then the [Get Execute Filter Count](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-execute-count/) method because it allows to extend the saved query of the filter.- Parameters:
id- The id of the filter to execute. (required)body- A JSON object which corresponds to the type of the saved query of the filter, i.e., if the resource type of the filter is Task the body should form a valid task query corresponding to the Task resource. (optional)additionalHeaders- additionalHeaders for this call- Returns:
- CountResultDto
- Throws:
ApiException- if fails to make API call
-
postExecuteFilterList
public List<Object> postExecuteFilterList(String id, Integer firstResult, Integer maxResults, Object body) throws ApiException Execute Filter List (POST) Executes the saved query of the filter by id and returns the result list. This method is slightly more powerful then the [Get Execute FilterList](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-execute-list/) method because it allows to extend the saved query of the filter.- Parameters:
id- The id of the filter to execute. (required)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)body- A JSON object which corresponds to the type of the saved query of the filter, i.e., if the resource type of the filter is Task the body should form a valid task query corresponding to the Task resource. (optional)- Returns:
- List<Object>
- Throws:
ApiException- if fails to make API call
-
postExecuteFilterList
public List<Object> postExecuteFilterList(String id, Integer firstResult, Integer maxResults, Object body, Map<String, String> additionalHeaders) throws ApiExceptionExecute Filter List (POST) Executes the saved query of the filter by id and returns the result list. This method is slightly more powerful then the [Get Execute FilterList](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-execute-list/) method because it allows to extend the saved query of the filter.- Parameters:
id- The id of the filter to execute. (required)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)body- A JSON object which corresponds to the type of the saved query of the filter, i.e., if the resource type of the filter is Task the body should form a valid task query corresponding to the Task resource. (optional)additionalHeaders- additionalHeaders for this call- Returns:
- List<Object>
- Throws:
ApiException- if fails to make API call
-
postExecuteFilterSingleResult
Execute Filter Single Result (POST) Executes the saved query of the filter by id and returns the single result. This method is slightly more powerful then the [Get Execute Filter Single Result](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-execute-single-result/) method because it allows to extend the saved query of the filter.- Parameters:
id- The id of the filter to execute. (required)body- A JSON object which corresponds to the type of the saved query of the filter, i.e., if the resource type of the filter is Task the body should form a valid task query corresponding to the Task resource. (optional)- Returns:
- Object
- Throws:
ApiException- if fails to make API call
-
postExecuteFilterSingleResult
public Object postExecuteFilterSingleResult(String id, Object body, Map<String, String> additionalHeaders) throws ApiExceptionExecute Filter Single Result (POST) Executes the saved query of the filter by id and returns the single result. This method is slightly more powerful then the [Get Execute Filter Single Result](https://docs.camunda.org/manual/7.21/reference/rest/filter/get-execute-single-result/) method because it allows to extend the saved query of the filter.- Parameters:
id- The id of the filter to execute. (required)body- A JSON object which corresponds to the type of the saved query of the filter, i.e., if the resource type of the filter is Task the body should form a valid task query corresponding to the Task resource. (optional)additionalHeaders- additionalHeaders for this call- Returns:
- Object
- Throws:
ApiException- if fails to make API call
-
updateFilter
Update Filter Updates an existing filter.- Parameters:
id- The id of the filter to be updated. (required)createFilterDto- (optional)- Throws:
ApiException- if fails to make API call
-
updateFilter
public void updateFilter(String id, CreateFilterDto createFilterDto, Map<String, String> additionalHeaders) throws ApiExceptionUpdate Filter Updates an existing filter.- Parameters:
id- The id of the filter to be updated. (required)createFilterDto- (optional)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-