Package org.camunda.bpm.engine.rest
Interface JobDefinitionRestService
-
- All Known Implementing Classes:
JobDefinitionRestServiceImpl
@Produces("application/json") public interface JobDefinitionRestService
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PATH
-
Method Summary
All Methods Instance Methods Abstract 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)
-
-
-
Field Detail
-
PATH
static final java.lang.String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJobDefinition
@Path("/{id}") JobDefinitionResource getJobDefinition(@PathParam("id") java.lang.String jobDefinitionId)
-
getJobDefinitions
@GET @Produces("application/json") java.util.List<JobDefinitionDto> getJobDefinitions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)
Exposes theJobDefinitionQuery
interface as a REST service.- Parameters:
uriInfo
-firstResult
-maxResults
-- Returns:
-
queryJobDefinitions
@POST @Consumes("application/json") @Produces("application/json") java.util.List<JobDefinitionDto> queryJobDefinitions(JobDefinitionQueryDto queryDto, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)
-
getJobDefinitionsCount
@GET @Path("/count") @Produces("application/json") CountResultDto getJobDefinitionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
queryJobDefinitionsCount
@POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryJobDefinitionsCount(JobDefinitionQueryDto queryDto)
-
updateSuspensionState
@PUT @Path("/suspended") @Consumes("application/json") void updateSuspensionState(JobDefinitionSuspensionStateDto dto)
-
-