Package org.camunda.bpm.engine.rest
Interface CaseExecutionRestService
-
- All Known Implementing Classes:
CaseExecutionRestServiceImpl
@Produces("application/json") public interface CaseExecutionRestService- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CaseExecutionResourcegetCaseExecution(String caseExecutionId)List<CaseExecutionDto>getCaseExecutions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)Exposes theCaseExecutionQueryinterface as a REST service.CountResultDtogetCaseExecutionsCount(javax.ws.rs.core.UriInfo uriInfo)List<CaseExecutionDto>queryCaseExecutions(CaseExecutionQueryDto query, Integer firstResult, Integer maxResults)Expects the same parameters asgetCaseExecutions(UriInfo, Integer, Integer)(as a JSON message body) and allows for any number of variable checks.CountResultDtoqueryCaseExecutionsCount(CaseExecutionQueryDto query)
-
-
-
Field Detail
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCaseExecution
@Path("/{id}") CaseExecutionResource getCaseExecution(@PathParam("id") String caseExecutionId)
-
getCaseExecutions
@GET @Produces("application/json") List<CaseExecutionDto> getCaseExecutions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)Exposes theCaseExecutionQueryinterface as a REST service.- Parameters:
uriInfo-firstResult-maxResults-- Returns:
-
queryCaseExecutions
@POST @Consumes("application/json") @Produces("application/json") List<CaseExecutionDto> queryCaseExecutions(CaseExecutionQueryDto query, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)Expects the same parameters asgetCaseExecutions(UriInfo, Integer, Integer)(as a JSON message body) and allows for any number of variable checks.- Parameters:
query-firstResult-maxResults-- Returns:
-
getCaseExecutionsCount
@GET @Path("/count") @Produces("application/json") CountResultDto getCaseExecutionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
queryCaseExecutionsCount
@POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryCaseExecutionsCount(CaseExecutionQueryDto query)
-
-