Package org.flowable.engine.impl.cmd
Class AbstractProcessStartEventSubscriptionCmd
java.lang.Object
org.flowable.engine.impl.cmd.AbstractProcessStartEventSubscriptionCmd
- Direct Known Subclasses:
DeleteProcessInstanceStartEventSubscriptionCmd,ModifyProcessInstanceStartEventSubscriptionCmd,RegisterProcessInstanceStartEventSubscriptionCmd
An abstract command with various common methods for the creation and modification of process start event subscriptions.
- Author:
- Micha Kiener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckEventModelCorrelationParameter(org.flowable.eventregistry.model.EventModel eventModel, String correlationParameterName) protected StringgenerateCorrelationConfiguration(String eventDefinitionKey, String tenantId, Map<String, Object> correlationParameterValues, CommandContext commandContext) protected org.flowable.eventregistry.model.EventModelgetEventModel(String eventDefinitionKey, String tenantId, CommandContext commandContext) protected EventSubscriptionServicegetEventSubscriptionService(CommandContext commandContext) protected ProcessDefinitiongetLatestProcessDefinitionByKey(String processDefinitionKey, String tenantId, CommandContext commandContext) protected org.flowable.bpmn.model.ProcessgetProcess(String processDefinitionId, CommandContext commandContext) protected ProcessDefinitiongetProcessDefinitionById(String processDefinitionId, CommandContext commandContext)
-
Constructor Details
-
AbstractProcessStartEventSubscriptionCmd
public AbstractProcessStartEventSubscriptionCmd()
-
-
Method Details
-
generateCorrelationConfiguration
-
checkEventModelCorrelationParameter
protected void checkEventModelCorrelationParameter(org.flowable.eventregistry.model.EventModel eventModel, String correlationParameterName) -
getLatestProcessDefinitionByKey
protected ProcessDefinition getLatestProcessDefinitionByKey(String processDefinitionKey, String tenantId, CommandContext commandContext) -
getProcessDefinitionById
protected ProcessDefinition getProcessDefinitionById(String processDefinitionId, CommandContext commandContext) -
getProcess
protected org.flowable.bpmn.model.Process getProcess(String processDefinitionId, CommandContext commandContext) -
getEventModel
protected org.flowable.eventregistry.model.EventModel getEventModel(String eventDefinitionKey, String tenantId, CommandContext commandContext) -
getEventSubscriptionService
-