Package org.bonitasoft.web.client.api
Interface ProcessParameterApi
- All Superinterfaces:
ApiClient.Api
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public interface ProcessParameterApi
extends ApiClient.Api
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchProcessParametersmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptiongetProcessParameterById(String id, String name) Finds the ProcessParameter by ID Returns the single ProcessParameter for the given IDgetProcessParameterByIdWithHttpInfo(String id, String name) Finds the ProcessParameter by ID Similar togetProcessParameterByIdbut it also returns the http response headers .Finds ProcessParameters Finds ProcessParameters with pagination params and filters.Finds ProcessParameters Finds ProcessParameters with pagination params and filters.Finds ProcessParameters Similar tosearchProcessParametersbut it also returns the http response headers .searchProcessParametersWithHttpInfo(ProcessParameterApi.SearchProcessParametersQueryParams queryParams) Finds ProcessParameters Finds ProcessParameters with pagination params and filters.voidupdateProcessParameterById(String id, String name, ProcessParameterUpdateRequest processParameterUpdateRequest) Deprecated.updateProcessParameterByIdWithHttpInfo(String id, String name, ProcessParameterUpdateRequest processParameterUpdateRequest) Deprecated.
-
Method Details
-
getProcessParameterById
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
-
getProcessParameterByIdWithHttpInfo
Finds the ProcessParameter by ID Similar togetProcessParameterByIdbut it also returns the http response headers . 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:
- A ApiResponse that wraps the response boyd and the http headers.
-
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>
-
searchProcessParametersWithHttpInfo
ApiResponse<List<ProcessParameter>> searchProcessParametersWithHttpInfo(Integer p, Integer c, List<String> f, String o, String s) Finds ProcessParameters Similar tosearchProcessParametersbut it also returns the http response headers . 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:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchProcessParameters
List<ProcessParameter> searchProcessParameters(ProcessParameterApi.SearchProcessParametersQueryParams 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>
-
searchProcessParametersWithHttpInfo
ApiResponse<List<ProcessParameter>> searchProcessParametersWithHttpInfo(ProcessParameterApi.SearchProcessParametersQueryParams queryParams) Finds ProcessParameters Finds ProcessParameters with pagination params and filters. Note, this is equivalent to the othersearchProcessParametersthat 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)
- s - can search on attributes (optional)
- Returns:
- List<ProcessParameter>
-
updateProcessParameterById
@Deprecated void updateProcessParameterById(String id, String name, ProcessParameterUpdateRequest processParameterUpdateRequest) Deprecated.Update the ProcessParameter by ID  Update the ProcessParameter for the given ID Warning: as of 9.0.0, importing a Process parameter using this API is deprecated.- 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)
-
updateProcessParameterByIdWithHttpInfo
@Deprecated ApiResponse<Void> updateProcessParameterByIdWithHttpInfo(String id, String name, ProcessParameterUpdateRequest processParameterUpdateRequest) Deprecated.Update the ProcessParameter by ID Similar toupdateProcessParameterByIdbut it also returns the http response headers .  Update the ProcessParameter for the given ID Warning: as of 9.0.0, importing a Process parameter using this API is deprecated.- 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)
-