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
Constructors Constructor Description CaseDefinitionRestServiceImpl(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseDefinitionResource
getCaseDefinitionById(java.lang.String caseDefinitionId)
CaseDefinitionResource
getCaseDefinitionByKey(java.lang.String caseDefinitionKey)
CaseDefinitionResource
getCaseDefinitionByKeyAndTenantId(java.lang.String caseDefinitionKey, java.lang.String tenantId)
java.util.List<CaseDefinitionDto>
getCaseDefinitions(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Exposes theCaseDefinitionQuery
interface as a REST service.CountResultDto
getCaseDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getCaseDefinitionByKey
public CaseDefinitionResource getCaseDefinitionByKey(java.lang.String caseDefinitionKey)
- Specified by:
getCaseDefinitionByKey
in interfaceCaseDefinitionRestService
-
getCaseDefinitionByKeyAndTenantId
public CaseDefinitionResource getCaseDefinitionByKeyAndTenantId(java.lang.String caseDefinitionKey, java.lang.String tenantId)
- Specified by:
getCaseDefinitionByKeyAndTenantId
in interfaceCaseDefinitionRestService
-
getCaseDefinitionById
public CaseDefinitionResource getCaseDefinitionById(java.lang.String caseDefinitionId)
- Specified by:
getCaseDefinitionById
in interfaceCaseDefinitionRestService
-
getCaseDefinitions
public java.util.List<CaseDefinitionDto> getCaseDefinitions(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Description copied from interface:CaseDefinitionRestService
Exposes theCaseDefinitionQuery
interface as a REST service.- Specified by:
getCaseDefinitions
in interfaceCaseDefinitionRestService
- Returns:
-
getCaseDefinitionsCount
public CountResultDto getCaseDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getCaseDefinitionsCount
in interfaceCaseDefinitionRestService
-
-