Class CaseInstanceResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.CaseInstanceResourceImpl
-
- All Implemented Interfaces:
CaseInstanceResource
public class CaseInstanceResourceImpl extends Object implements CaseInstanceResource
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected String
caseInstanceId
protected ProcessEngine
engine
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description CaseInstanceResourceImpl(ProcessEngine engine, String caseInstanceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
-
-
-
Field Detail
-
engine
protected ProcessEngine engine
-
caseInstanceId
protected String caseInstanceId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
CaseInstanceResourceImpl
public CaseInstanceResourceImpl(ProcessEngine engine, String caseInstanceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getCaseInstance
public CaseInstanceDto getCaseInstance()
- Specified by:
getCaseInstance
in interfaceCaseInstanceResource
-
complete
public void complete(CaseExecutionTriggerDto triggerDto)
- Specified by:
complete
in interfaceCaseInstanceResource
-
close
public void close(CaseExecutionTriggerDto triggerDto)
- Specified by:
close
in interfaceCaseInstanceResource
-
terminate
public void terminate(CaseExecutionTriggerDto triggerDto)
- 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
public VariableResource getVariablesResource()
- Specified by:
getVariablesResource
in interfaceCaseInstanceResource
-
-