View API Client
Purpose#
The Polyflow View API Client is for consumers of the task-pool and data-pool query APIs. It provides simple components for querying configured views and defines an easy-to-use API for callers.
Usage#
Please put the following component to you class path:
<dependency>
<groupId>io.holunda.polyflow</groupId>
<artifactId>polyflow-view-api-client</artifactId>
</dependency>
The components available are:
io.holunda.polyflow.view.DataEntryQueryClientio.holunda.polyflow.view.ProcessDefinitionQueryClientio.holunda.polyflow.view.ProcessInstanceQueryClientio.holunda.polyflow.view.ProcessVariableQueryClientio.holunda.polyflow.view.TaskQueryClient
To initialize the client, you need to pass the queryGateway to it:
@Bean
fun myTaskClient(queryGateway: QueryGateway) = TaskQueryClient(queryGateway)
If you are using Kotlin, you might like the extension functions of the QueryGateway provided by io.holunda.polyflow.view.QueryGatewayExt object.