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 String
caseExecutionId
protected ProcessEngine
engine
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
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:
getCaseExecution
in interfaceCaseExecutionResource
-
manualStart
public void manualStart(CaseExecutionTriggerDto triggerDto)
- Specified by:
manualStart
in interfaceCaseExecutionResource
-
disable
public void disable(CaseExecutionTriggerDto triggerDto)
- Specified by:
disable
in interfaceCaseExecutionResource
-
reenable
public void reenable(CaseExecutionTriggerDto triggerDto)
- Specified by:
reenable
in interfaceCaseExecutionResource
-
complete
public void complete(CaseExecutionTriggerDto triggerDto)
- Specified by:
complete
in interfaceCaseExecutionResource
-
terminate
public void terminate(CaseExecutionTriggerDto triggerDto)
- Specified by:
terminate
in 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:
getVariablesLocal
in interfaceCaseExecutionResource
-
getVariables
public VariableResource getVariables()
- Specified by:
getVariables
in interfaceCaseExecutionResource
-
-