Package org.bonitasoft.web.client.api
Interface ProcessInstanceVariableApi
-
- All Superinterfaces:
ApiClient.Api
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public interface ProcessInstanceVariableApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProcessInstanceVariableApi.SearchProcessInstanceVariablesQueryParamsA convenience class for generating query parameters for thesearchProcessInstanceVariablesmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessInstanceVariablegetVariableByProcessInstanceId(String id, String variableName)Finds the Variable by ProcessInstance ID Returns the single Variable for the given ProcessInstance IDList<ProcessInstanceVariable>searchProcessInstanceVariables(Integer p, Integer c, List<String> f, String o)Finds ProcessInstance Variables Finds ProcessInstance Variables with pagination params and filtersList<ProcessInstanceVariable>searchProcessInstanceVariables(Map<String,Object> 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.voidupdateVariableByProcessInstanceId(String id, String variableName, ProcessInstanceVariableUpdateRequest processInstanceVariableUpdateRequest)Update a Variable by ProcessInstance ID Update the variable for the given ProcessInstance ID.
-
-
-
Method Detail
-
getVariableByProcessInstanceId
ProcessInstanceVariable getVariableByProcessInstanceId(String id, String variableName)
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
-
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>
-
searchProcessInstanceVariables
List<ProcessInstanceVariable> searchProcessInstanceVariables(Map<String,Object> 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>
-
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)
-
-