Class CaseExecutionResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.runtime.impl.CaseExecutionResourceImpl
- All Implemented Interfaces:
CaseExecutionResource
- Author:
- Roman Smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected ProcessEngine
protected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorDescriptionCaseExecutionResourceImpl
(ProcessEngine engine, String caseExecutionId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
complete
(CaseExecutionTriggerDto triggerDto) protected InvalidRequestException
createInvalidRequestException
(String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause) protected RestException
createRestException
(String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause) void
disable
(CaseExecutionTriggerDto triggerDto) protected void
initializeCommand
(CaseExecutionCommandBuilder commandBuilder, CaseExecutionTriggerDto triggerDto, String transition) protected void
initializeCommandWithDeletions
(CaseExecutionCommandBuilder commandBuilder, List<VariableNameDto> deletions, String transition) protected void
initializeCommandWithVariables
(CaseExecutionCommandBuilder commandBuilder, Map<String, TriggerVariableValueDto> variables, String transition) void
manualStart
(CaseExecutionTriggerDto triggerDto) void
reenable
(CaseExecutionTriggerDto triggerDto) void
terminate
(CaseExecutionTriggerDto triggerDto)
-
Field Details
-
engine
-
caseExecutionId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
CaseExecutionResourceImpl
public CaseExecutionResourceImpl(ProcessEngine engine, String caseExecutionId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getCaseExecution
- Specified by:
getCaseExecution
in interfaceCaseExecutionResource
-
manualStart
- Specified by:
manualStart
in interfaceCaseExecutionResource
-
disable
- Specified by:
disable
in interfaceCaseExecutionResource
-
reenable
- Specified by:
reenable
in interfaceCaseExecutionResource
-
complete
- Specified by:
complete
in interfaceCaseExecutionResource
-
terminate
- 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
- Specified by:
getVariablesLocal
in interfaceCaseExecutionResource
-
getVariables
- Specified by:
getVariables
in interfaceCaseExecutionResource
-