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 voidcheckEventModelCorrelationParameter(EventModel eventModel, String correlationParameterName) protected StringgenerateCorrelationConfiguration(String eventDefinitionKey, String tenantId, Map<String, Object> correlationParameterValues, CommandContext commandContext) protected CasegetCase(String caseDefinitionId, CommandContext commandContext) protected CaseDefinitiongetCaseDefinitionById(String caseDefinitionId, CommandContext commandContext) protected EventModelgetEventModel(String eventDefinitionKey, String tenantId, CommandContext commandContext) protected EventSubscriptionServicegetEventSubscriptionService(CommandContext commandContext) protected CaseDefinitiongetLatestCaseDefinitionByKey(String caseDefinitionKey, String tenantId, CommandContext commandContext) protected StringgetStartCorrelationConfiguration(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
-