Package org.camunda.bpm.engine.rest
Interface CaseDefinitionRestService
- All Known Implementing Classes:
CaseDefinitionRestServiceImpl
@Produces("application/json")
public interface CaseDefinitionRestService
- Author:
- Roman Smirnov
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCaseDefinitionById
(String caseDefinitionId) getCaseDefinitionByKey
(String caseDefinitionKey) getCaseDefinitionByKeyAndTenantId
(String caseDefinitionKey, String tenantId) getCaseDefinitions
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theCaseDefinitionQuery
interface as a REST service.getCaseDefinitionsCount
(jakarta.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
getCaseDefinitionById
@Path("/{id}") CaseDefinitionResource getCaseDefinitionById(@PathParam("id") String caseDefinitionId) -
getCaseDefinitionByKey
@Path("/key/{key}") CaseDefinitionResource getCaseDefinitionByKey(@PathParam("key") String caseDefinitionKey) -
getCaseDefinitionByKeyAndTenantId
@Path("/key/{key}/tenant-id/{tenantId}") CaseDefinitionResource getCaseDefinitionByKeyAndTenantId(@PathParam("key") String caseDefinitionKey, @PathParam("tenantId") String tenantId) -
getCaseDefinitions
@GET @Produces("application/json") List<CaseDefinitionDto> getCaseDefinitions(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults) Exposes theCaseDefinitionQuery
interface as a REST service.- Parameters:
uriInfo
-firstResult
-maxResults
-- Returns:
-
getCaseDefinitionsCount
@GET @Path("/count") @Produces("application/json") CountResultDto getCaseDefinitionsCount(@Context jakarta.ws.rs.core.UriInfo uriInfo)
-