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