public class JobRestServiceImpl extends AbstractRestProcessEngineAware implements JobRestService
relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
JobRestServiceImpl() |
JobRestServiceImpl(String engineName) |
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) |
getProcessEngine, setRelativeRootResourceUri
public JobRestServiceImpl()
public JobRestServiceImpl(String engineName)
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 © 2015. All rights reserved.