public class DeskConversationListener extends AbstractFlowableEngageEngineEventListener
Modifier and Type | Field and Description |
---|---|
protected ConversationService |
conversationService |
protected DeskService |
deskService |
protected MessageService |
messageService |
protected com.flowable.core.idm.api.PlatformIdentityService |
platformIdentityService |
types
Constructor and Description |
---|
DeskConversationListener(ConversationService conversationService,
MessageService messageService,
DeskService deskService) |
Modifier and Type | Method and Description |
---|---|
protected com.flowable.core.idm.api.PlatformUser |
getDeskBotUser() |
protected DeskService |
getDeskService() |
protected String |
getDigitalAssistantUserId() |
protected MessageService |
getMessageService() |
protected com.flowable.core.idm.api.PlatformIdentityService |
getPlatformIdentityService() |
protected boolean |
isDeskInitializationListenerActive()
Hook method to activate or deactivate the desk initialization listener.
|
protected boolean |
isTicketMessageListenerActive()
Hook method to activate or deactivate the ticketing message listener.
|
protected void |
onConversationStarted(FlowableConversationStartedEvent engageEvent) |
protected void |
onMessageSend(FlowableMessageEvent messageEvent) |
isFailOnException, onAddedParticipants, onBeforeMessageInsert, onConversationNameUpdated, onEvent, onRemovedParticipants, onSendNotification
protected final ConversationService conversationService
protected final MessageService messageService
protected final DeskService deskService
protected com.flowable.core.idm.api.PlatformIdentityService platformIdentityService
public DeskConversationListener(ConversationService conversationService, MessageService messageService, DeskService deskService)
protected void onConversationStarted(FlowableConversationStartedEvent engageEvent)
onConversationStarted
in class AbstractFlowableEngageEngineEventListener
protected boolean isDeskInitializationListenerActive()
protected void onMessageSend(FlowableMessageEvent messageEvent)
onMessageSend
in class AbstractFlowableEngageEngineEventListener
protected boolean isTicketMessageListenerActive()
protected String getDigitalAssistantUserId()
protected com.flowable.core.idm.api.PlatformUser getDeskBotUser()
protected com.flowable.core.idm.api.PlatformIdentityService getPlatformIdentityService()
protected MessageService getMessageService()
protected DeskService getDeskService()
Copyright © 2019. All rights reserved.