Class CaseExecutionResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.CaseExecutionResourceImpl
-
- All Implemented Interfaces:
CaseExecutionResource
public class CaseExecutionResourceImpl extends Object implements CaseExecutionResource
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcaseExecutionIdprotected ProcessEngineengineprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description CaseExecutionResourceImpl(ProcessEngine engine, String caseExecutionId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
-
-
-
Field Detail
-
engine
protected ProcessEngine engine
-
caseExecutionId
protected String caseExecutionId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
CaseExecutionResourceImpl
public CaseExecutionResourceImpl(ProcessEngine engine, String caseExecutionId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getCaseExecution
public CaseExecutionDto getCaseExecution()
- Specified by:
getCaseExecutionin interfaceCaseExecutionResource
-
manualStart
public void manualStart(CaseExecutionTriggerDto triggerDto)
- Specified by:
manualStartin interfaceCaseExecutionResource
-
disable
public void disable(CaseExecutionTriggerDto triggerDto)
- Specified by:
disablein interfaceCaseExecutionResource
-
reenable
public void reenable(CaseExecutionTriggerDto triggerDto)
- Specified by:
reenablein interfaceCaseExecutionResource
-
complete
public void complete(CaseExecutionTriggerDto triggerDto)
- Specified by:
completein interfaceCaseExecutionResource
-
terminate
public void terminate(CaseExecutionTriggerDto triggerDto)
- Specified by:
terminatein interfaceCaseExecutionResource
-
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)
-
getVariablesLocal
public VariableResource getVariablesLocal()
- Specified by:
getVariablesLocalin interfaceCaseExecutionResource
-
getVariables
public VariableResource getVariables()
- Specified by:
getVariablesin interfaceCaseExecutionResource
-
-