Package org.camunda.bpm.engine.rest.impl
Class TaskRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.TaskRestServiceImpl
- All Implemented Interfaces:
TaskRestService
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
Fields inherited from interface org.camunda.bpm.engine.rest.TaskRestService
PATH
-
Constructor Summary
ConstructorDescriptionTaskRestServiceImpl
(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createTask
(TaskDto taskDto) executeTaskQuery
(Integer firstResult, Integer maxResults, TaskQuery query) getHalTasks
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getJsonTasks
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getTasks
(jakarta.ws.rs.core.Request request, jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getTasksCount
(jakarta.ws.rs.core.UriInfo uriInfo) queryTasks
(TaskQueryDto queryDto, Integer firstResult, Integer maxResults) Expects the same parameters asTaskRestService#getTasks(UriInfo, Integer, Integer)
(as JSON message body) and allows more than one variable check.queryTasksCount
(TaskQueryDto queryDto) Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Field Details
-
VARIANTS
-
-
Constructor Details
-
TaskRestServiceImpl
public TaskRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getTasks
public Object getTasks(jakarta.ws.rs.core.Request request, jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) - Specified by:
getTasks
in interfaceTaskRestService
-
getJsonTasks
-
getHalTasks
public HalTaskList getHalTasks(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) -
queryTasks
Description copied from interface:TaskRestService
Expects the same parameters asTaskRestService#getTasks(UriInfo, Integer, Integer)
(as JSON message body) and allows more than one variable check.- Specified by:
queryTasks
in interfaceTaskRestService
- Returns:
-
executeTaskQuery
-
getTasksCount
- Specified by:
getTasksCount
in interfaceTaskRestService
-
queryTasksCount
- Specified by:
queryTasksCount
in interfaceTaskRestService
-
getTask
- Specified by:
getTask
in interfaceTaskRestService
-
createTask
- Specified by:
createTask
in interfaceTaskRestService
-
getTaskReportResource
- Specified by:
getTaskReportResource
in interfaceTaskRestService
-