Package org.camunda.bpm.engine.rest.impl
Class ExternalTaskRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.ExternalTaskRestServiceImpl
- All Implemented Interfaces:
ExternalTaskRestService
public class ExternalTaskRestServiceImpl
extends AbstractRestProcessEngineAware
implements ExternalTaskRestService
- Author:
- Thorben Lindhauer
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
Fields inherited from interface org.camunda.bpm.engine.rest.ExternalTaskRestService
PATH
-
Constructor Summary
ConstructorDescriptionExternalTaskRestServiceImpl
(String processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fetchAndLock
(FetchExternalTasksExtendedDto dto, javax.ws.rs.container.AsyncResponse asyncResponse) getExternalTask
(String externalTaskId) getExternalTasks
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getExternalTasksCount
(javax.ws.rs.core.UriInfo uriInfo) getTopicNames
(boolean withLockedTasks, boolean withUnlockedTasks, boolean withRetriesLeft) queryExternalTasks
(ExternalTaskQueryDto queryDto, Integer firstResult, Integer maxResults) queryExternalTasksCount
(ExternalTaskQueryDto queryDto) void
setRetries
(SetRetriesForExternalTasksDto retriesDto) setRetriesAsync
(SetRetriesForExternalTasksDto retriesDto) protected UpdateExternalTaskRetriesBuilder
updateRetries
(SetRetriesForExternalTasksDto retriesDto) Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Constructor Details
-
ExternalTaskRestServiceImpl
public ExternalTaskRestServiceImpl(String processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getExternalTasks
public List<ExternalTaskDto> getExternalTasks(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) - Specified by:
getExternalTasks
in interfaceExternalTaskRestService
-
queryExternalTasks
public List<ExternalTaskDto> queryExternalTasks(ExternalTaskQueryDto queryDto, Integer firstResult, Integer maxResults) - Specified by:
queryExternalTasks
in interfaceExternalTaskRestService
-
getExternalTasksCount
- Specified by:
getExternalTasksCount
in interfaceExternalTaskRestService
-
queryExternalTasksCount
- Specified by:
queryExternalTasksCount
in interfaceExternalTaskRestService
-
fetchAndLock
public void fetchAndLock(FetchExternalTasksExtendedDto dto, javax.ws.rs.container.AsyncResponse asyncResponse) - Specified by:
fetchAndLock
in interfaceExternalTaskRestService
-
getExternalTask
- Specified by:
getExternalTask
in interfaceExternalTaskRestService
-
setRetriesAsync
- Specified by:
setRetriesAsync
in interfaceExternalTaskRestService
-
getTopicNames
public List<String> getTopicNames(boolean withLockedTasks, boolean withUnlockedTasks, boolean withRetriesLeft) - Specified by:
getTopicNames
in interfaceExternalTaskRestService
-
setRetries
- Specified by:
setRetries
in interfaceExternalTaskRestService
-
updateRetries
-