Class CaseInstanceResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.runtime.impl.CaseInstanceResourceImpl
- All Implemented Interfaces:
CaseInstanceResource
- Author:
- Roman Smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected ProcessEngine
protected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorDescriptionCaseInstanceResourceImpl
(ProcessEngine engine, String caseInstanceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(CaseExecutionTriggerDto triggerDto) void
complete
(CaseExecutionTriggerDto triggerDto) protected InvalidRequestException
createInvalidRequestException
(String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause) protected RestException
createRestException
(String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause) protected void
initializeCommand
(CaseExecutionCommandBuilder commandBuilder, CaseExecutionTriggerDto triggerDto, String transition) protected void
initializeCommandWithDeletions
(CaseExecutionCommandBuilder commandBuilder, List<VariableNameDto> deletions, String transition) protected void
initializeCommandWithVariables
(CaseExecutionCommandBuilder commandBuilder, Map<String, TriggerVariableValueDto> variables, String transition) void
terminate
(CaseExecutionTriggerDto triggerDto)
-
Field Details
-
engine
-
caseInstanceId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
CaseInstanceResourceImpl
public CaseInstanceResourceImpl(ProcessEngine engine, String caseInstanceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getCaseInstance
- Specified by:
getCaseInstance
in interfaceCaseInstanceResource
-
complete
- Specified by:
complete
in interfaceCaseInstanceResource
-
close
- Specified by:
close
in interfaceCaseInstanceResource
-
terminate
- Specified by:
terminate
in interfaceCaseInstanceResource
-
createInvalidRequestException
protected InvalidRequestException createInvalidRequestException(String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause) -
createRestException
protected RestException createRestException(String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause) -
initializeCommand
protected void initializeCommand(CaseExecutionCommandBuilder commandBuilder, CaseExecutionTriggerDto triggerDto, String transition) -
initializeCommandWithVariables
protected void initializeCommandWithVariables(CaseExecutionCommandBuilder commandBuilder, Map<String, TriggerVariableValueDto> variables, String transition) -
initializeCommandWithDeletions
protected void initializeCommandWithDeletions(CaseExecutionCommandBuilder commandBuilder, List<VariableNameDto> deletions, String transition) -
getVariablesResource
- Specified by:
getVariablesResource
in interfaceCaseInstanceResource
-