Package org.camunda.bpm.engine.rest
Interface CaseDefinitionRestService
-
- All Known Implementing Classes:
CaseDefinitionRestServiceImpl
@Produces("application/json") public interface CaseDefinitionRestService
- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CaseDefinitionResource
getCaseDefinitionById(String caseDefinitionId)
CaseDefinitionResource
getCaseDefinitionByKey(String caseDefinitionKey)
CaseDefinitionResource
getCaseDefinitionByKeyAndTenantId(String caseDefinitionKey, String tenantId)
List<CaseDefinitionDto>
getCaseDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
Exposes theCaseDefinitionQuery
interface as a REST service.CountResultDto
getCaseDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Field Detail
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 javax.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 javax.ws.rs.core.UriInfo uriInfo)
-
-