public class StartConversationCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<ConversationHolder>
| Modifier and Type | Field and Description | 
|---|---|
| protected ConversationBuilderImpl | conversationBuilder | 
| protected boolean | reuse | 
| Constructor and Description | 
|---|
| StartConversationCmd(ConversationBuilderImpl conversationBuilder,
                    boolean reuse) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity | createGroupScope(org.flowable.identitylink.service.IdentityLinkService identityLinkService,
                String conversationId,
                String groupId,
                String type) | 
| protected org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity | createUserScope(org.flowable.identitylink.service.IdentityLinkService identityLinkService,
               String conversationId,
               String userId,
               String type) | 
| ConversationHolder | execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected Conversation | findReUsableConversation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected Conversation | getParentConversation(ConversationBuilder builder) | 
| protected List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> | handleIdentityLinks(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                   ConversationEntity entity,
                   ConversationBuilder builder) | 
| protected void | populateConversationRegistryEntries(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                                   ConversationEntity entity,
                                   List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkEntities) | 
| protected ConversationEntity | startConversation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                 ConversationBuilderImpl conversationBuilder) | 
| protected void | validateChannelOrDesk(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                     ConversationEntity conversationEntity) | 
| protected void | validateConversationTypes(String type) | 
| protected void | validateNewConversation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                       ConversationEntity entity) | 
protected final ConversationBuilderImpl conversationBuilder
protected final boolean reuse
public StartConversationCmd(ConversationBuilderImpl conversationBuilder, boolean reuse)
public ConversationHolder execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
execute in interface org.flowable.common.engine.impl.interceptor.Command<ConversationHolder>protected Conversation findReUsableConversation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected ConversationEntity startConversation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ConversationBuilderImpl conversationBuilder)
protected void populateConversationRegistryEntries(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                                                   ConversationEntity entity,
                                                   List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkEntities)
protected List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> handleIdentityLinks(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ConversationEntity entity, ConversationBuilder builder)
protected org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity createUserScope(org.flowable.identitylink.service.IdentityLinkService identityLinkService,
                                                                                                       String conversationId,
                                                                                                       String userId,
                                                                                                       String type)
protected org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity createGroupScope(org.flowable.identitylink.service.IdentityLinkService identityLinkService,
                                                                                                        String conversationId,
                                                                                                        String groupId,
                                                                                                        String type)
protected void validateNewConversation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                                       ConversationEntity entity)
protected Conversation getParentConversation(ConversationBuilder builder)
protected void validateConversationTypes(String type)
protected void validateChannelOrDesk(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                                     ConversationEntity conversationEntity)
Copyright © 2019. All rights reserved.