public abstract class BaseSendMessageCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<MessageEntity>
| Modifier and Type | Field and Description | 
|---|---|
| protected MessageBuilderImpl | messageBuilder | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | BaseSendMessageCmd(MessageBuilderImpl messageBuilder) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | afterPersist(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
            MessageEntity entity) | 
| protected void | beforePersist(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
             MessageEntity entity) | 
| protected void | checkActionInstanceExists(String actionInstanceId,
                         org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected void | checkReplyToMessageIdExists(String replyToMessageId,
                           org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected com.flowable.action.api.runtime.ActionInstance | createActionInstance(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                    com.flowable.action.api.repository.ActionDefinition actionDefinition,
                    MessageBuilderImpl messageBuilder,
                    String tenantId) | 
| protected MessageEntity | createEntity(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected MessageEntity | createMessage(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
             MessageBuilderImpl messageBuilder,
             Conversation conversation) | 
| MessageEntity | execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected com.flowable.action.api.repository.ActionDefinition | findActionDefinition(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                    String actionDefinitionId,
                    String actionDefinitionKey,
                    String tenantId) | 
| MessageBuilderImpl | getMessageBuilder() | 
| protected MessageEntityManager | getMessageEntityManager(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected String | getOrRenderMainContent(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                      Conversation conversation,
                      MessageBuilderImpl messageBuilder) | 
| protected ConversationEntity | retrieveConversation(String conversationId,
                    org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected void | validateCommand() | 
protected MessageBuilderImpl messageBuilder
protected BaseSendMessageCmd(MessageBuilderImpl messageBuilder)
public MessageEntity execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
execute in interface org.flowable.common.engine.impl.interceptor.Command<MessageEntity>protected void beforePersist(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                             MessageEntity entity)
protected void afterPersist(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                            MessageEntity entity)
protected ConversationEntity retrieveConversation(String conversationId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected MessageEntity createMessage(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, MessageBuilderImpl messageBuilder, Conversation conversation)
protected String getOrRenderMainContent(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, Conversation conversation, MessageBuilderImpl messageBuilder)
protected void checkActionInstanceExists(String actionInstanceId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected void checkReplyToMessageIdExists(String replyToMessageId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected com.flowable.action.api.repository.ActionDefinition findActionDefinition(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                                                                                   String actionDefinitionId,
                                                                                   String actionDefinitionKey,
                                                                                   String tenantId)
protected com.flowable.action.api.runtime.ActionInstance createActionInstance(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                                                                              com.flowable.action.api.repository.ActionDefinition actionDefinition,
                                                                              MessageBuilderImpl messageBuilder,
                                                                              String tenantId)
protected void validateCommand()
protected MessageEntityManager getMessageEntityManager(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected MessageEntity createEntity(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
public MessageBuilderImpl getMessageBuilder()
Copyright © 2019. All rights reserved.