public class CaseInstanceResourceImpl extends Object implements CaseInstanceResource
Modifier and Type | Field and Description |
---|---|
protected String |
caseInstanceId |
protected ProcessEngine |
engine |
protected org.codehaus.jackson.map.ObjectMapper |
objectMapper |
Constructor and Description |
---|
CaseInstanceResourceImpl(ProcessEngine engine,
String caseInstanceId,
org.codehaus.jackson.map.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
void |
close(CaseExecutionTriggerDto triggerDto) |
void |
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) |
CaseInstanceDto |
getCaseInstance() |
VariableResource |
getVariablesResource() |
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) |
protected ProcessEngine engine
protected String caseInstanceId
protected org.codehaus.jackson.map.ObjectMapper objectMapper
public CaseInstanceResourceImpl(ProcessEngine engine, String caseInstanceId, org.codehaus.jackson.map.ObjectMapper objectMapper)
public CaseInstanceDto getCaseInstance()
getCaseInstance
in interface CaseInstanceResource
public void complete(CaseExecutionTriggerDto triggerDto)
complete
in interface CaseInstanceResource
public void close(CaseExecutionTriggerDto triggerDto)
close
in interface CaseInstanceResource
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)
protected void initializeCommand(CaseExecutionCommandBuilder commandBuilder, CaseExecutionTriggerDto triggerDto, String transition)
protected void initializeCommandWithVariables(CaseExecutionCommandBuilder commandBuilder, Map<String,TriggerVariableValueDto> variables, String transition)
protected void initializeCommandWithDeletions(CaseExecutionCommandBuilder commandBuilder, List<VariableNameDto> deletions, String transition)
public VariableResource getVariablesResource()
getVariablesResource
in interface CaseInstanceResource
Copyright © 2018. All rights reserved.