public class JobRestServiceImpl extends AbstractRestProcessEngineAware implements JobRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
JobRestServiceImpl(String engineName,
org.codehaus.jackson.map.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
JobResource |
getJob(String jobId) |
List<JobDto> |
getJobs(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getJobsCount(javax.ws.rs.core.UriInfo uriInfo) |
List<JobDto> |
queryJobs(JobQueryDto queryDto,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryJobsCount(JobQueryDto queryDto) |
void |
updateSuspensionState(JobSuspensionStateDto dto) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public JobRestServiceImpl(String engineName, org.codehaus.jackson.map.ObjectMapper objectMapper)
public JobResource getJob(String jobId)
getJob
in interface JobRestService
public List<JobDto> getJobs(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
getJobs
in interface JobRestService
public List<JobDto> queryJobs(JobQueryDto queryDto, Integer firstResult, Integer maxResults)
queryJobs
in interface JobRestService
public CountResultDto getJobsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
getJobsCount
in interface JobRestService
public CountResultDto queryJobsCount(JobQueryDto queryDto)
queryJobsCount
in interface JobRestService
public void updateSuspensionState(JobSuspensionStateDto dto)
updateSuspensionState
in interface JobRestService
Copyright © 2018. All rights reserved.