Package org.camunda.bpm.engine.rest.impl
Class JobDefinitionRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.JobDefinitionRestServiceImpl
-
- All Implemented Interfaces:
JobDefinitionRestService
public class JobDefinitionRestServiceImpl extends AbstractRestProcessEngineAware implements JobDefinitionRestService
- Author:
- roman.smirnov
-
-
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.JobDefinitionRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description JobDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobDefinitionResource
getJobDefinition(String jobDefinitionId)
List<JobDefinitionDto>
getJobDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
Exposes theJobDefinitionQuery
interface as a REST service.CountResultDto
getJobDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
List<JobDefinitionDto>
queryJobDefinitions(JobDefinitionQueryDto queryDto, Integer firstResult, Integer maxResults)
CountResultDto
queryJobDefinitionsCount(JobDefinitionQueryDto queryDto)
void
updateSuspensionState(JobDefinitionSuspensionStateDto dto)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Constructor Detail
-
JobDefinitionRestServiceImpl
public JobDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getJobDefinition
public JobDefinitionResource getJobDefinition(String jobDefinitionId)
- Specified by:
getJobDefinition
in interfaceJobDefinitionRestService
-
getJobDefinitions
public List<JobDefinitionDto> getJobDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
Description copied from interface:JobDefinitionRestService
Exposes theJobDefinitionQuery
interface as a REST service.- Specified by:
getJobDefinitions
in interfaceJobDefinitionRestService
- Returns:
-
getJobDefinitionsCount
public CountResultDto getJobDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getJobDefinitionsCount
in interfaceJobDefinitionRestService
-
queryJobDefinitions
public List<JobDefinitionDto> queryJobDefinitions(JobDefinitionQueryDto queryDto, Integer firstResult, Integer maxResults)
- Specified by:
queryJobDefinitions
in interfaceJobDefinitionRestService
-
queryJobDefinitionsCount
public CountResultDto queryJobDefinitionsCount(JobDefinitionQueryDto queryDto)
- Specified by:
queryJobDefinitionsCount
in interfaceJobDefinitionRestService
-
updateSuspensionState
public void updateSuspensionState(JobDefinitionSuspensionStateDto dto)
- Specified by:
updateSuspensionState
in interfaceJobDefinitionRestService
-
-