public class JobDefinitionRestServiceImpl extends AbstractRestProcessEngineAware implements JobDefinitionRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
JobDefinitionRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
JobDefinitionResource |
getJobDefinition(String jobDefinitionId) |
List<JobDefinitionDto> |
getJobDefinitions(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
JobDefinitionQuery 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) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public JobDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public JobDefinitionResource getJobDefinition(String jobDefinitionId)
getJobDefinition
in interface JobDefinitionRestService
public List<JobDefinitionDto> getJobDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
JobDefinitionRestService
JobDefinitionQuery
interface as a REST service.getJobDefinitions
in interface JobDefinitionRestService
public CountResultDto getJobDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
getJobDefinitionsCount
in interface JobDefinitionRestService
public List<JobDefinitionDto> queryJobDefinitions(JobDefinitionQueryDto queryDto, Integer firstResult, Integer maxResults)
queryJobDefinitions
in interface JobDefinitionRestService
public CountResultDto queryJobDefinitionsCount(JobDefinitionQueryDto queryDto)
queryJobDefinitionsCount
in interface JobDefinitionRestService
public void updateSuspensionState(JobDefinitionSuspensionStateDto dto)
updateSuspensionState
in interface JobDefinitionRestService
Copyright © 2021. All rights reserved.