Package org.bonitasoft.web.client.api
Interface FlowNodeApi
-
- All Superinterfaces:
ApiClient.Api
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public interface FlowNodeApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFlowNodeApi.SearchFlowNodesQueryParamsA convenience class for generating query parameters for thesearchFlowNodesmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FlowNodegetFlowNodeById(String id)Finds the FlowNode by ID Returns the single FlowNode for the given IDList<FlowNode>searchFlowNodes(Integer p, Integer c, List<String> f, String o, String s)Finds FlowNodes Finds FlowNodes with pagination params and filters - can order on `name`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (if the retrieved flow nodes are activities, order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can search on any field that can be used to order results - can filter on `name`, `state`, `processId`, `parentProcessInstanceId`, `rootProcessInstanceId`, `last_update_date`List<FlowNode>searchFlowNodes(Map<String,Object> queryParams)Finds FlowNodes Finds FlowNodes with pagination params and filters - can order on `name`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (if the retrieved flow nodes are activities, order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can search on any field that can be used to order results - can filter on `name`, `state`, `processId`, `parentProcessInstanceId`, `rootProcessInstanceId`, `last_update_date` Note, this is equivalent to the othersearchFlowNodesmethod, but with the query parameters collected into a single Map parameter.voidupdateFlowNodeById(String id, FlowNodeUpdateRequest flowNodeUpdateRequest)Update the FlowNode by ID  Replay the flow node for the given ID.
-
-
-
Method Detail
-
getFlowNodeById
FlowNode getFlowNodeById(String id)
Finds the FlowNode by ID Returns the single FlowNode for the given ID- Parameters:
id- ID of the FlowNode to return (required)- Returns:
- FlowNode
-
searchFlowNodes
List<FlowNode> searchFlowNodes(Integer p, Integer c, List<String> f, String o, String s)
Finds FlowNodes Finds FlowNodes with pagination params and filters - can order on `name`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (if the retrieved flow nodes are activities, order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can search on any field that can be used to order results - can filter on `name`, `state`, `processId`, `parentProcessInstanceId`, `rootProcessInstanceId`, `last_update_date`- 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<FlowNode>
-
searchFlowNodes
List<FlowNode> searchFlowNodes(Map<String,Object> queryParams)
Finds FlowNodes Finds FlowNodes with pagination params and filters - can order on `name`, `displayName`, `state`, `processDefinitionId`, `parentProcessInstanceId`, `parentActivityInstanceId` (if the retrieved flow nodes are activities, order by parent activity id), `rootProcessInstanceId`, `lastUpdateDate` - can search on any field that can be used to order results - can filter on `name`, `state`, `processId`, `parentProcessInstanceId`, `rootProcessInstanceId`, `last_update_date` Note, this is equivalent to the othersearchFlowNodesmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theFlowNodeApi.SearchFlowNodesQueryParamsclass 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<FlowNode>
-
updateFlowNodeById
void updateFlowNodeById(String id, FlowNodeUpdateRequest flowNodeUpdateRequest)
Update the FlowNode by ID  Replay the flow node for the given ID.- Parameters:
id- ID of the FlowNode to return (required)flowNodeUpdateRequest- Replay the flow node. (required)
-
-