public class ConversationNotificationEventListener extends AbstractFlowableEngageEngineEventListener
Modifier and Type | Field and Description |
---|---|
protected com.flowable.core.idm.api.PlatformIdentityService |
identityService |
protected MessageService |
messageService |
protected String |
technicalUserId |
types
Constructor and Description |
---|
ConversationNotificationEventListener(MessageService messageService,
com.flowable.core.idm.api.PlatformIdentityService identityService,
String technicalUserId) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
composeUserNameList(Collection<String> userIds) |
protected void |
onAddedParticipants(FlowableAddedParticipantsEvent event) |
protected void |
onRemovedParticipants(FlowableRemovedParticipantsEvent event) |
protected void |
sendTemplateMessage(String messageCode,
String language,
Map<String,Object> payload,
String conversationId,
String messageSubType) |
isFailOnException, onBeforeMessageInsert, onConversationNameUpdated, onConversationStarted, onEvent, onMessageSend, onSendNotification
protected final MessageService messageService
protected final com.flowable.core.idm.api.PlatformIdentityService identityService
protected final String technicalUserId
public ConversationNotificationEventListener(MessageService messageService, com.flowable.core.idm.api.PlatformIdentityService identityService, String technicalUserId)
protected void onAddedParticipants(FlowableAddedParticipantsEvent event)
onAddedParticipants
in class AbstractFlowableEngageEngineEventListener
protected void onRemovedParticipants(FlowableRemovedParticipantsEvent event)
onRemovedParticipants
in class AbstractFlowableEngageEngineEventListener
protected void sendTemplateMessage(String messageCode, String language, Map<String,Object> payload, String conversationId, String messageSubType)
protected List<String> composeUserNameList(Collection<String> userIds)
Copyright © 2019. All rights reserved.