Package org.bonitasoft.web.client.api
Interface ProcessParameterApi
-
- All Superinterfaces:
ApiClient.Api
public interface ProcessParameterApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProcessParameterApi.SearchProcessParametersQueryParamsA convenience class for generating query parameters for thesearchProcessParametersmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessParametergetProcessParameterById(String id, String name)Finds the ProcessParameter by ID Returns the single ProcessParameter for the given IDList<ProcessParameter>searchProcessParameters(Integer p, Integer c, List<String> f, String o, String s)Finds ProcessParameters Finds ProcessParameters with pagination params and filters.List<ProcessParameter>searchProcessParameters(Map<String,Object> queryParams)Finds ProcessParameters Finds ProcessParameters with pagination params and filters.voidupdateProcessParameterById(String id, String name, ProcessParameterUpdateRequest processParameterUpdateRequest)Update the ProcessParameter by ID  Update the ProcessParameter for the given ID
-
-
-
Method Detail
-
getProcessParameterById
ProcessParameter getProcessParameterById(String id, String name)
Finds the ProcessParameter by ID Returns the single ProcessParameter for the given ID- Parameters:
id- ID of the process to get parameter from (required)name- Name of the process parameter to return (required)- Returns:
- ProcessParameter
-
searchProcessParameters
List<ProcessParameter> searchProcessParameters(Integer p, Integer c, List<String> f, String o, String s)
Finds ProcessParameters Finds ProcessParameters 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)s- can search on attributes (optional)- Returns:
- List<ProcessParameter>
-
searchProcessParameters
List<ProcessParameter> searchProcessParameters(Map<String,Object> queryParams)
Finds ProcessParameters Finds ProcessParameters with pagination params and filters. Note, this is equivalent to the othersearchProcessParametersmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theProcessParameterApi.SearchProcessParametersQueryParamsclass 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)
- s - can search on attributes (optional)
- Returns:
- List<ProcessParameter>
-
updateProcessParameterById
void updateProcessParameterById(String id, String name, ProcessParameterUpdateRequest processParameterUpdateRequest)
Update the ProcessParameter by ID  Update the ProcessParameter for the given ID- Parameters:
id- ID of the process to get parameter from (required)name- Name of the process parameter to return (required)processParameterUpdateRequest- You can update only a process parameter value using the API. If you specify values for other fields in the update request, they are ignored. (required)
-
-