Package org.camunda.bpm.engine.rest
Interface CaseExecutionRestService
-
- All Known Implementing Classes:
CaseExecutionRestServiceImpl
@Produces("application/json") public interface CaseExecutionRestService
- 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 CaseExecutionResource
getCaseExecution(java.lang.String caseExecutionId)
java.util.List<CaseExecutionDto>
getCaseExecutions(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Exposes theCaseExecutionQuery
interface as a REST service.CountResultDto
getCaseExecutionsCount(javax.ws.rs.core.UriInfo uriInfo)
java.util.List<CaseExecutionDto>
queryCaseExecutions(CaseExecutionQueryDto query, java.lang.Integer firstResult, java.lang.Integer maxResults)
Expects the same parameters asgetCaseExecutions(UriInfo, Integer, Integer)
(as a JSON message body) and allows for any number of variable checks.CountResultDto
queryCaseExecutionsCount(CaseExecutionQueryDto query)
-
-
-
Field Detail
-
PATH
static final java.lang.String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCaseExecution
@Path("/{id}") CaseExecutionResource getCaseExecution(@PathParam("id") java.lang.String caseExecutionId)
-
getCaseExecutions
@GET @Produces("application/json") java.util.List<CaseExecutionDto> getCaseExecutions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)
Exposes theCaseExecutionQuery
interface as a REST service.- Parameters:
uriInfo
-firstResult
-maxResults
-- Returns:
-
queryCaseExecutions
@POST @Consumes("application/json") @Produces("application/json") java.util.List<CaseExecutionDto> queryCaseExecutions(CaseExecutionQueryDto query, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.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)
-
-