Package org.camunda.bpm.engine.rest.impl
Class CaseDefinitionRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.CaseDefinitionRestServiceImpl
- All Implemented Interfaces:
CaseDefinitionRestService
public class CaseDefinitionRestServiceImpl
extends AbstractRestProcessEngineAware
implements CaseDefinitionRestService
- Author:
- Roman Smirnov
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
Fields inherited from interface org.camunda.bpm.engine.rest.CaseDefinitionRestService
PATH
-
Constructor Summary
ConstructorDescriptionCaseDefinitionRestServiceImpl
(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
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) Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Constructor Details
-
CaseDefinitionRestServiceImpl
public CaseDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getCaseDefinitionByKey
- Specified by:
getCaseDefinitionByKey
in interfaceCaseDefinitionRestService
-
getCaseDefinitionByKeyAndTenantId
public CaseDefinitionResource getCaseDefinitionByKeyAndTenantId(String caseDefinitionKey, String tenantId) - Specified by:
getCaseDefinitionByKeyAndTenantId
in interfaceCaseDefinitionRestService
-
getCaseDefinitionById
- Specified by:
getCaseDefinitionById
in interfaceCaseDefinitionRestService
-
getCaseDefinitions
public List<CaseDefinitionDto> getCaseDefinitions(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Description copied from interface:CaseDefinitionRestService
Exposes theCaseDefinitionQuery
interface as a REST service.- Specified by:
getCaseDefinitions
in interfaceCaseDefinitionRestService
- Returns:
-
getCaseDefinitionsCount
- Specified by:
getCaseDefinitionsCount
in interfaceCaseDefinitionRestService
-