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(org.flowable.eventregistry.model.EventModel eventModel, String correlationParameterName) protected StringgenerateCorrelationConfiguration(String eventDefinitionKey, String tenantId, Map<String, Object> correlationParameterValues, CommandContext commandContext) protected org.flowable.cmmn.model.CasegetCase(String caseDefinitionId, CommandContext commandContext) protected CaseDefinitiongetCaseDefinitionById(String caseDefinitionId, CommandContext commandContext) protected org.flowable.eventregistry.model.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(org.flowable.eventregistry.model.EventModel eventModel, String correlationParameterName) -
getLatestCaseDefinitionByKey
protected CaseDefinition getLatestCaseDefinitionByKey(String caseDefinitionKey, String tenantId, CommandContext commandContext) -
getCaseDefinitionById
protected CaseDefinition getCaseDefinitionById(String caseDefinitionId, CommandContext commandContext) -
getCase
protected org.flowable.cmmn.model.Case getCase(String caseDefinitionId, CommandContext commandContext) -
getEventModel
protected org.flowable.eventregistry.model.EventModel getEventModel(String eventDefinitionKey, String tenantId, CommandContext commandContext) -
getStartCorrelationConfiguration
protected String getStartCorrelationConfiguration(String caseDefinitionId, CommandContext commandContext) -
getEventSubscriptionService
-