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
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getJsonTasks
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getTasks
(javax.ws.rs.core.Request request, javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getTasksCount
(javax.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(javax.ws.rs.core.Request request, javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) - Specified by:
getTasks
in interfaceTaskRestService
-
getJsonTasks
-
getHalTasks
public HalTaskList getHalTasks(javax.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
-