Package org.bonitasoft.web.client.api
Interface ProcessInstanceVariableApi
- All Superinterfaces:
ApiClient.Api
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public interface ProcessInstanceVariableApi
extends ApiClient.Api
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchProcessInstanceVariablesmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptiongetVariableByProcessInstanceId(String id, String variableName) Finds the Variable by ProcessInstance ID Returns the single Variable for the given ProcessInstance IDgetVariableByProcessInstanceIdWithHttpInfo(String id, String variableName) Finds the Variable by ProcessInstance ID Similar togetVariableByProcessInstanceIdbut it also returns the http response headers .Finds ProcessInstance Variables Finds ProcessInstance Variables with pagination params and filterssearchProcessInstanceVariables(ProcessInstanceVariableApi.SearchProcessInstanceVariablesQueryParams queryParams) Finds ProcessInstance Variables Finds ProcessInstance Variables with pagination params and filters Note, this is equivalent to the othersearchProcessInstanceVariablesmethod, but with the query parameters collected into a single Map parameter.Finds ProcessInstance Variables Similar tosearchProcessInstanceVariablesbut it also returns the http response headers .searchProcessInstanceVariablesWithHttpInfo(ProcessInstanceVariableApi.SearchProcessInstanceVariablesQueryParams queryParams) Finds ProcessInstance Variables Finds ProcessInstance Variables with pagination params and filters Note, this is equivalent to the othersearchProcessInstanceVariablesthat receives the query parameters as a map, but this one also exposes the Http response headersvoidupdateVariableByProcessInstanceId(String id, String variableName, ProcessInstanceVariableUpdateRequest processInstanceVariableUpdateRequest) Update a Variable by ProcessInstance ID Update the variable for the given ProcessInstance ID.updateVariableByProcessInstanceIdWithHttpInfo(String id, String variableName, ProcessInstanceVariableUpdateRequest processInstanceVariableUpdateRequest) Update a Variable by ProcessInstance ID Similar toupdateVariableByProcessInstanceIdbut it also returns the http response headers .
-
Method Details
-
getVariableByProcessInstanceId
Finds the Variable by ProcessInstance ID Returns the single Variable for the given ProcessInstance ID- Parameters:
id- The identifier of the process instance from which to retrieve the variable (required)variableName- The name of the variable to retrieve (required)- Returns:
- ProcessInstanceVariable
-
getVariableByProcessInstanceIdWithHttpInfo
ApiResponse<ProcessInstanceVariable> getVariableByProcessInstanceIdWithHttpInfo(String id, String variableName) Finds the Variable by ProcessInstance ID Similar togetVariableByProcessInstanceIdbut it also returns the http response headers . Returns the single Variable for the given ProcessInstance ID- Parameters:
id- The identifier of the process instance from which to retrieve the variable (required)variableName- The name of the variable to retrieve (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchProcessInstanceVariables
List<ProcessInstanceVariable> searchProcessInstanceVariables(Integer p, Integer c, List<String> f, String o) Finds ProcessInstance Variables Finds ProcessInstance Variables with pagination params and filters- Parameters:
p- index of the page to display (required)c- maximum number of elements to retrieve (required)f- can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)o- can order on attributes (optional)- Returns:
- List<ProcessInstanceVariable>
-
searchProcessInstanceVariablesWithHttpInfo
ApiResponse<List<ProcessInstanceVariable>> searchProcessInstanceVariablesWithHttpInfo(Integer p, Integer c, List<String> f, String o) Finds ProcessInstance Variables Similar tosearchProcessInstanceVariablesbut it also returns the http response headers . Finds ProcessInstance Variables with pagination params and filters- Parameters:
p- index of the page to display (required)c- maximum number of elements to retrieve (required)f- can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)o- can order on attributes (optional)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchProcessInstanceVariables
List<ProcessInstanceVariable> searchProcessInstanceVariables(ProcessInstanceVariableApi.SearchProcessInstanceVariablesQueryParams queryParams) Finds ProcessInstance Variables Finds ProcessInstance Variables with pagination params and filters Note, this is equivalent to the othersearchProcessInstanceVariablesmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theProcessInstanceVariableApi.SearchProcessInstanceVariablesQueryParamsclass that allows for building up this map in a fluent style.- Parameters:
queryParams- Map of query parameters as name-value pairsThe following elements may be specified in the query map:
- p - index of the page to display (required)
- c - maximum number of elements to retrieve (required)
- f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
- o - can order on attributes (optional)
- Returns:
- List<ProcessInstanceVariable>
-
searchProcessInstanceVariablesWithHttpInfo
ApiResponse<List<ProcessInstanceVariable>> searchProcessInstanceVariablesWithHttpInfo(ProcessInstanceVariableApi.SearchProcessInstanceVariablesQueryParams queryParams) Finds ProcessInstance Variables Finds ProcessInstance Variables with pagination params and filters Note, this is equivalent to the othersearchProcessInstanceVariablesthat receives the query parameters as a map, but this one also exposes the Http response headers- Parameters:
queryParams- Map of query parameters as name-value pairsThe following elements may be specified in the query map:
- p - index of the page to display (required)
- c - maximum number of elements to retrieve (required)
- f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
- o - can order on attributes (optional)
- Returns:
- List<ProcessInstanceVariable>
-
updateVariableByProcessInstanceId
void updateVariableByProcessInstanceId(String id, String variableName, ProcessInstanceVariableUpdateRequest processInstanceVariableUpdateRequest) Update a Variable by ProcessInstance ID Update the variable for the given ProcessInstance ID. **Warning** : only following types are supported for javaTypeclassname: `java.lang.String`, `java.lang.Integer`, `java.lang.Double`, `java.lang.Long`, `java.lang.Boolean`, `java.util.Date`- Parameters:
id- The identifier of the process instance from which to retrieve the variable (required)variableName- The name of the variable to retrieve (required)processInstanceVariableUpdateRequest- Partial ProcessInstance variables description (required)
-
updateVariableByProcessInstanceIdWithHttpInfo
ApiResponse<Void> updateVariableByProcessInstanceIdWithHttpInfo(String id, String variableName, ProcessInstanceVariableUpdateRequest processInstanceVariableUpdateRequest) Update a Variable by ProcessInstance ID Similar toupdateVariableByProcessInstanceIdbut it also returns the http response headers . Update the variable for the given ProcessInstance ID. **Warning** : only following types are supported for javaTypeclassname: `java.lang.String`, `java.lang.Integer`, `java.lang.Double`, `java.lang.Long`, `java.lang.Boolean`, `java.util.Date`- Parameters:
id- The identifier of the process instance from which to retrieve the variable (required)variableName- The name of the variable to retrieve (required)processInstanceVariableUpdateRequest- Partial ProcessInstance variables description (required)
-