Package org.camunda.bpm.engine.rest.impl
Class ExternalTaskRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- 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 class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
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
-
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
-
executePaginatedQuery
protected List<ExternalTask> executePaginatedQuery(ExternalTaskQuery query, Integer firstResult, Integer maxResults)
-
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)
-
-