Class CaseExecutionResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.CaseExecutionResourceImpl
-
- All Implemented Interfaces:
CaseExecutionResource
public class CaseExecutionResourceImpl extends java.lang.Object implements CaseExecutionResource
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
caseExecutionId
protected ProcessEngine
engine
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description CaseExecutionResourceImpl(ProcessEngine engine, java.lang.String caseExecutionId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
-
-
-
Field Detail
-
engine
protected ProcessEngine engine
-
caseExecutionId
protected java.lang.String caseExecutionId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
CaseExecutionResourceImpl
public CaseExecutionResourceImpl(ProcessEngine engine, java.lang.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(java.lang.String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)
-
createRestException
protected RestException createRestException(java.lang.String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)
-
initializeCommand
protected void initializeCommand(CaseExecutionCommandBuilder commandBuilder, CaseExecutionTriggerDto triggerDto, java.lang.String transition)
-
initializeCommandWithVariables
protected void initializeCommandWithVariables(CaseExecutionCommandBuilder commandBuilder, java.util.Map<java.lang.String,TriggerVariableValueDto> variables, java.lang.String transition)
-
initializeCommandWithDeletions
protected void initializeCommandWithDeletions(CaseExecutionCommandBuilder commandBuilder, java.util.List<VariableNameDto> deletions, java.lang.String transition)
-
getVariablesLocal
public VariableResource getVariablesLocal()
- Specified by:
getVariablesLocal
in interfaceCaseExecutionResource
-
getVariables
public VariableResource getVariables()
- Specified by:
getVariables
in interfaceCaseExecutionResource
-
-