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 void
checkEventModelCorrelationParameter
(EventModel eventModel, String correlationParameterName) protected String
generateCorrelationConfiguration
(String eventDefinitionKey, String tenantId, Map<String, Object> correlationParameterValues, CommandContext commandContext) protected EventModel
getEventModel
(String eventDefinitionKey, String tenantId, CommandContext commandContext) protected EventSubscriptionService
getEventSubscriptionService
(CommandContext commandContext) protected ProcessDefinition
getLatestProcessDefinitionByKey
(String processDefinitionKey, String tenantId, CommandContext commandContext) protected Process
getProcess
(String processDefinitionId, CommandContext commandContext) protected ProcessDefinition
getProcessDefinitionById
(String processDefinitionId, CommandContext commandContext)
-
Constructor Details
-
AbstractProcessStartEventSubscriptionCmd
public AbstractProcessStartEventSubscriptionCmd()
-
-
Method Details
-
generateCorrelationConfiguration
-
checkEventModelCorrelationParameter
protected void checkEventModelCorrelationParameter(EventModel eventModel, String correlationParameterName) -
getLatestProcessDefinitionByKey
protected ProcessDefinition getLatestProcessDefinitionByKey(String processDefinitionKey, String tenantId, CommandContext commandContext) -
getProcessDefinitionById
protected ProcessDefinition getProcessDefinitionById(String processDefinitionId, CommandContext commandContext) -
getProcess
-
getEventModel
protected EventModel getEventModel(String eventDefinitionKey, String tenantId, CommandContext commandContext) -
getEventSubscriptionService
-