Class AbstractCaseStartEventSubscriptionCmd
java.lang.Object
org.flowable.cmmn.engine.impl.cmd.AbstractCaseStartEventSubscriptionCmd
- Direct Known Subclasses:
DeleteCaseInstanceStartEventSubscriptionCmd
,ModifyCaseInstanceStartEventSubscriptionCmd
,RegisterCaseInstanceStartEventSubscriptionCmd
An abstract command with various common methods for the creation and modification of case 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 Case
getCase
(String caseDefinitionId, CommandContext commandContext) protected CaseDefinition
getCaseDefinitionById
(String caseDefinitionId, CommandContext commandContext) protected EventModel
getEventModel
(String eventDefinitionKey, String tenantId, CommandContext commandContext) protected EventSubscriptionService
getEventSubscriptionService
(CommandContext commandContext) protected CaseDefinition
getLatestCaseDefinitionByKey
(String caseDefinitionKey, String tenantId, CommandContext commandContext) protected String
getStartCorrelationConfiguration
(String caseDefinitionId, CommandContext commandContext)
-
Constructor Details
-
AbstractCaseStartEventSubscriptionCmd
public AbstractCaseStartEventSubscriptionCmd()
-
-
Method Details
-
generateCorrelationConfiguration
-
checkEventModelCorrelationParameter
protected void checkEventModelCorrelationParameter(EventModel eventModel, String correlationParameterName) -
getLatestCaseDefinitionByKey
protected CaseDefinition getLatestCaseDefinitionByKey(String caseDefinitionKey, String tenantId, CommandContext commandContext) -
getCaseDefinitionById
protected CaseDefinition getCaseDefinitionById(String caseDefinitionId, CommandContext commandContext) -
getCase
-
getEventModel
protected EventModel getEventModel(String eventDefinitionKey, String tenantId, CommandContext commandContext) -
getStartCorrelationConfiguration
protected String getStartCorrelationConfiguration(String caseDefinitionId, CommandContext commandContext) -
getEventSubscriptionService
-