Class TasksResource
java.lang.Object
com.flowable.platform.rest.service.api.task.TasksResource
@RestController
public class TasksResource
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Integer
defaultListResponseSize
protected PlatformEngineConfiguration
platformEngineConfiguration
protected WorkIndexService
workIndexService
-
Constructor Summary
Constructors Constructor Description TasksResource()
-
Method Summary
Modifier and Type Method Description org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<TaskSearchRepresentation>>
queryCustomTasksWithAliasQuery(java.lang.String alias, TasksIndexQueryRequest request)
org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<TaskSearchRepresentation>>
queryCustomTasksWithQuery(java.lang.String queryName, java.util.Map<java.lang.String,java.lang.Object> params)
org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<TaskSearchRepresentation>>
queryTasksInstances(java.lang.String filterId, TasksIndexQueryRequest request, java.security.Principal principal)
org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<TaskSearchRepresentation>>
queryTasksWithQuery(TasksIndexQueryRequest request)
-
Field Details
-
platformEngineConfiguration
-
workIndexService
-
defaultListResponseSize
@Value("${flowable.platform.rest.default-list-response-size:100}") protected java.lang.Integer defaultListResponseSize
-
-
Constructor Details
-
TasksResource
public TasksResource()
-
-
Method Details
-
queryTasksInstances
@GetMapping("/search/tasks") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<TaskSearchRepresentation>> queryTasksInstances(@RequestParam(name="filterId",defaultValue="all") java.lang.String filterId, @ModelAttribute TasksIndexQueryRequest request, java.security.Principal principal) -
queryTasksWithQuery
@GetMapping("/search/query-tasks") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<TaskSearchRepresentation>> queryTasksWithQuery(@ModelAttribute TasksIndexQueryRequest request) -
queryCustomTasksWithAliasQuery
@GetMapping("/search/query-tasks/alias/{alias}") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<TaskSearchRepresentation>> queryCustomTasksWithAliasQuery(@PathVariable java.lang.String alias, @ModelAttribute TasksIndexQueryRequest request) -
queryCustomTasksWithQuery
@GetMapping("/search/query-tasks/query/{queryName}") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<TaskSearchRepresentation>> queryCustomTasksWithQuery(@PathVariable java.lang.String queryName, @RequestParam java.util.Map<java.lang.String,java.lang.Object> params)
-