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