Package org.camunda.bpm.engine.rest.impl
Class JobDefinitionRestServiceImpl
java.lang.Object
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 interface org.camunda.bpm.engine.rest.JobDefinitionRestService
PATH
-
Constructor Summary
ConstructorDescriptionJobDefinitionRestServiceImpl
(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetJobDefinition
(String jobDefinitionId) getJobDefinitions
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theJobDefinitionQuery
interface as a REST service.getJobDefinitionsCount
(javax.ws.rs.core.UriInfo uriInfo) queryJobDefinitions
(JobDefinitionQueryDto queryDto, Integer firstResult, Integer maxResults) void
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Constructor Details
-
JobDefinitionRestServiceImpl
public JobDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getJobDefinition
- 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
- Specified by:
getJobDefinitionsCount
in interfaceJobDefinitionRestService
-
queryJobDefinitions
public List<JobDefinitionDto> queryJobDefinitions(JobDefinitionQueryDto queryDto, Integer firstResult, Integer maxResults) - Specified by:
queryJobDefinitions
in interfaceJobDefinitionRestService
-
queryJobDefinitionsCount
- Specified by:
queryJobDefinitionsCount
in interfaceJobDefinitionRestService
-
updateSuspensionState
- Specified by:
updateSuspensionState
in interfaceJobDefinitionRestService
-