Class CaseExecutionResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.runtime.impl.CaseExecutionResourceImpl
- All Implemented Interfaces:
CaseExecutionResource
- Author:
- Roman Smirnov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ProcessEngineprotected com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
ConstructorsConstructorDescriptionCaseExecutionResourceImpl(ProcessEngine engine, String caseExecutionId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete(CaseExecutionTriggerDto triggerDto) protected InvalidRequestExceptioncreateInvalidRequestException(String transition, jakarta.ws.rs.core.Response.Status status, ProcessEngineException cause) protected RestExceptioncreateRestException(String transition, jakarta.ws.rs.core.Response.Status status, ProcessEngineException cause) voiddisable(CaseExecutionTriggerDto triggerDto) protected voidinitializeCommand(CaseExecutionCommandBuilder commandBuilder, CaseExecutionTriggerDto triggerDto, String transition) protected voidinitializeCommandWithDeletions(CaseExecutionCommandBuilder commandBuilder, List<VariableNameDto> deletions, String transition) protected voidinitializeCommandWithVariables(CaseExecutionCommandBuilder commandBuilder, Map<String, TriggerVariableValueDto> variables, String transition) voidmanualStart(CaseExecutionTriggerDto triggerDto) voidreenable(CaseExecutionTriggerDto triggerDto) voidterminate(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:
getCaseExecutionin interfaceCaseExecutionResource
-
manualStart
- Specified by:
manualStartin interfaceCaseExecutionResource
-
disable
- Specified by:
disablein interfaceCaseExecutionResource
-
reenable
- Specified by:
reenablein interfaceCaseExecutionResource
-
complete
- Specified by:
completein interfaceCaseExecutionResource
-
terminate
- Specified by:
terminatein interfaceCaseExecutionResource
-
createInvalidRequestException
protected InvalidRequestException createInvalidRequestException(String transition, jakarta.ws.rs.core.Response.Status status, ProcessEngineException cause) -
createRestException
protected RestException createRestException(String transition, jakarta.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:
getVariablesLocalin interfaceCaseExecutionResource
-
getVariables
- Specified by:
getVariablesin interfaceCaseExecutionResource
-