Package org.bonitasoft.web.client.api
Interface ProcessInstanceCommentApi
- All Superinterfaces:
ApiClient.Api
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public interface ProcessInstanceCommentApi
extends ApiClient.Api
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA convenience class for generating query parameters for thesearchProcessInstanceCommentsmethod in a fluent style. -
Method Summary
Modifier and TypeMethodDescriptionCreate the ProcessInstanceComment Create the ProcessInstanceCommentCreate the ProcessInstanceComment Similar tocreateProcessInstanceCommentbut it also returns the http response headers .Finds ProcessInstanceComments Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same timesearchProcessInstanceComments(ProcessInstanceCommentApi.SearchProcessInstanceCommentsQueryParams queryParams) Finds ProcessInstanceComments Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same time Note, this is equivalent to the othersearchProcessInstanceCommentsmethod, but with the query parameters collected into a single Map parameter.Finds ProcessInstanceComments Similar tosearchProcessInstanceCommentsbut it also returns the http response headers .searchProcessInstanceCommentsWithHttpInfo(ProcessInstanceCommentApi.SearchProcessInstanceCommentsQueryParams queryParams) Finds ProcessInstanceComments Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same time Note, this is equivalent to the othersearchProcessInstanceCommentsthat receives the query parameters as a map, but this one also exposes the Http response headers
-
Method Details
-
createProcessInstanceComment
Create the ProcessInstanceComment Create the ProcessInstanceComment- Parameters:
body- The process instance (case) id and the comment content, in JSON (required)- Returns:
- ProcessInstanceComment
-
createProcessInstanceCommentWithHttpInfo
ApiResponse<ProcessInstanceComment> createProcessInstanceCommentWithHttpInfo(ProcessInstanceCommentCreateRequest body) Create the ProcessInstanceComment Similar tocreateProcessInstanceCommentbut it also returns the http response headers . Create the ProcessInstanceComment- Parameters:
body- The process instance (case) id and the comment content, in JSON (required)- Returns:
- A ApiResponse that wraps the response boyd and the http headers.
-
searchProcessInstanceComments
List<ProcessInstanceComment> searchProcessInstanceComments(Integer p, Integer c, List<String> f, String o) Finds ProcessInstanceComments Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same time- 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<ProcessInstanceComment>
-
searchProcessInstanceCommentsWithHttpInfo
ApiResponse<List<ProcessInstanceComment>> searchProcessInstanceCommentsWithHttpInfo(Integer p, Integer c, List<String> f, String o) Finds ProcessInstanceComments Similar tosearchProcessInstanceCommentsbut it also returns the http response headers . Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same time- 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.
-
searchProcessInstanceComments
List<ProcessInstanceComment> searchProcessInstanceComments(ProcessInstanceCommentApi.SearchProcessInstanceCommentsQueryParams queryParams) Finds ProcessInstanceComments Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same time Note, this is equivalent to the othersearchProcessInstanceCommentsmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theProcessInstanceCommentApi.SearchProcessInstanceCommentsQueryParamsclass 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<ProcessInstanceComment>
-
searchProcessInstanceCommentsWithHttpInfo
ApiResponse<List<ProcessInstanceComment>> searchProcessInstanceCommentsWithHttpInfo(ProcessInstanceCommentApi.SearchProcessInstanceCommentsQueryParams queryParams) Finds ProcessInstanceComments Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same time Note, this is equivalent to the othersearchProcessInstanceCommentsthat 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<ProcessInstanceComment>
-