Class AddParticipantsToConversationCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.AddParticipantsToConversationCmd
- All Implemented Interfaces:
Command<Collection<String>>
- Author:
- Filip Hrisafov, Micha Kiener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Clock
protected final String
protected ConversationRegistryEntryEntityManager
protected IdentityLinkService
protected final List<JoinParticipantsData>
protected MessageService
-
Constructor Summary
ConstructorsConstructorDescriptionAddParticipantsToConversationCmd
(String conversationId, JoinParticipantsData data) AddParticipantsToConversationCmd
(String conversationId, List<JoinParticipantsData> data) -
Method Summary
Modifier and TypeMethodDescriptionprotected Date
calculateJoiningTime
(JoinParticipantsData data, ConversationEntity conversation) execute
(CommandContext commandContext) protected Message
getPastMessage
(int messageNumber) protected Collection<String>
handleJoiningParticipantData
(JoinParticipantsData data, ConversationEntity conversation, Set<String> currentParticipants, String authenticatedUserId, CommandContext commandContext)
-
Field Details
-
conversationId
-
joinParticipantsData
-
identityLinkService
-
conversationRegistry
-
messageService
-
clock
-
-
Constructor Details
-
AddParticipantsToConversationCmd
-
AddParticipantsToConversationCmd
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommand<Collection<String>>
-
handleJoiningParticipantData
protected Collection<String> handleJoiningParticipantData(JoinParticipantsData data, ConversationEntity conversation, Set<String> currentParticipants, String authenticatedUserId, CommandContext commandContext) -
calculateJoiningTime
-
getPastMessage
-