Package org.camunda.bpm.engine.rest
Interface JobDefinitionRestService
- All Known Implementing Classes:
JobDefinitionRestServiceImpl
@Produces("application/json")
public interface JobDefinitionRestService
- Author:
- roman.smirnov
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetJobDefinition
(String jobDefinitionId) getJobDefinitions
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theJobDefinitionQuery
interface as a REST service.getJobDefinitionsCount
(jakarta.ws.rs.core.UriInfo uriInfo) queryJobDefinitions
(JobDefinitionQueryDto queryDto, Integer firstResult, Integer maxResults) void
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
getJobDefinition
-
getJobDefinitions
@GET @Produces("application/json") List<JobDefinitionDto> getJobDefinitions(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults) Exposes theJobDefinitionQuery
interface as a REST service.- Parameters:
uriInfo
-firstResult
-maxResults
-- Returns:
-
queryJobDefinitions
@POST @Consumes("application/json") @Produces("application/json") List<JobDefinitionDto> queryJobDefinitions(JobDefinitionQueryDto queryDto, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults) -
getJobDefinitionsCount
@GET @Path("/count") @Produces("application/json") CountResultDto getJobDefinitionsCount(@Context jakarta.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)
-