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
Constructors Constructor Description ExternalTaskRestServiceImpl(String processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fetchAndLock(FetchExternalTasksExtendedDto dto, javax.ws.rs.container.AsyncResponse asyncResponse)
ExternalTaskResource
getExternalTask(String externalTaskId)
List<ExternalTaskDto>
getExternalTasks(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
CountResultDto
getExternalTasksCount(javax.ws.rs.core.UriInfo uriInfo)
List<String>
getTopicNames(boolean withLockedTasks, boolean withUnlockedTasks, boolean withRetriesLeft)
List<ExternalTaskDto>
queryExternalTasks(ExternalTaskQueryDto queryDto, Integer firstResult, Integer maxResults)
CountResultDto
queryExternalTasksCount(ExternalTaskQueryDto queryDto)
void
setRetries(SetRetriesForExternalTasksDto retriesDto)
BatchDto
setRetriesAsync(SetRetriesForExternalTasksDto retriesDto)
protected UpdateExternalTaskRetriesBuilder
updateRetries(SetRetriesForExternalTasksDto retriesDto)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Constructor Detail
-
ExternalTaskRestServiceImpl
public ExternalTaskRestServiceImpl(String processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
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
public CountResultDto getExternalTasksCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getExternalTasksCount
in interfaceExternalTaskRestService
-
queryExternalTasksCount
public CountResultDto queryExternalTasksCount(ExternalTaskQueryDto queryDto)
- Specified by:
queryExternalTasksCount
in interfaceExternalTaskRestService
-
fetchAndLock
public void fetchAndLock(FetchExternalTasksExtendedDto dto, javax.ws.rs.container.AsyncResponse asyncResponse)
- Specified by:
fetchAndLock
in interfaceExternalTaskRestService
-
getExternalTask
public ExternalTaskResource getExternalTask(String externalTaskId)
- Specified by:
getExternalTask
in interfaceExternalTaskRestService
-
setRetriesAsync
public BatchDto setRetriesAsync(SetRetriesForExternalTasksDto retriesDto)
- Specified by:
setRetriesAsync
in interfaceExternalTaskRestService
-
getTopicNames
public List<String> getTopicNames(boolean withLockedTasks, boolean withUnlockedTasks, boolean withRetriesLeft)
- Specified by:
getTopicNames
in interfaceExternalTaskRestService
-
setRetries
public void setRetries(SetRetriesForExternalTasksDto retriesDto)
- Specified by:
setRetries
in interfaceExternalTaskRestService
-
updateRetries
protected UpdateExternalTaskRetriesBuilder updateRetries(SetRetriesForExternalTasksDto retriesDto)
-
-