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(EventModel eventModel, String correlationParameterName) protected StringgenerateCorrelationConfiguration(String eventDefinitionKey, String tenantId, Map<String, Object> correlationParameterValues, CommandContext commandContext) protected EventModelgetEventModel(String eventDefinitionKey, String tenantId, CommandContext commandContext) protected EventSubscriptionServicegetEventSubscriptionService(CommandContext commandContext) protected ProcessDefinitiongetLatestProcessDefinitionByKey(String processDefinitionKey, String tenantId, CommandContext commandContext) protected ProcessgetProcess(String processDefinitionId, CommandContext commandContext) protected ProcessDefinitiongetProcessDefinitionById(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
-