Class ReindexMessagesCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.ReindexMessagesCmd
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReindexMessagesCmd
(String conversationId) ReindexMessagesCmd
(String indexName, int start, int pageSize) -
Method Summary
Modifier and TypeMethodDescriptiondetermineParticipantGroupIds
(Message message, List<ConversationRegistryEntryEntity> registryEntities) determineParticipantUserIds
(Message message, List<ConversationRegistryEntryEntity> registryEntities) execute
(CommandContext commandContext) protected Predicate<ConversationRegistryEntryEntity>
isRegistryEntryApplicable
(Date messageTime) protected void
reindexMessagesForConversation
(CommandContext commandContext, MessageEntityManager messageEntityManager, ConversationRegistryEntryEntityManager conversationRegistryEntryEntityManager) protected void
reindexMessagesPage
(CommandContext commandContext, MessageEntityManager messageEntityManager, ConversationRegistryEntryEntityManager conversationRegistryEntryEntityManager)
-
Field Details
-
MESSAGE_PAGE_SIZE
public static final int MESSAGE_PAGE_SIZE- See Also:
-
indexName
-
conversationId
-
start
protected int start -
pageSize
protected int pageSize
-
-
Constructor Details
-
ReindexMessagesCmd
-
ReindexMessagesCmd
-
-
Method Details
-
execute
-
reindexMessagesForConversation
protected void reindexMessagesForConversation(CommandContext commandContext, MessageEntityManager messageEntityManager, ConversationRegistryEntryEntityManager conversationRegistryEntryEntityManager) -
reindexMessagesPage
protected void reindexMessagesPage(CommandContext commandContext, MessageEntityManager messageEntityManager, ConversationRegistryEntryEntityManager conversationRegistryEntryEntityManager) -
determineParticipantUserIds
protected Set<String> determineParticipantUserIds(Message message, List<ConversationRegistryEntryEntity> registryEntities) -
determineParticipantGroupIds
protected Set<String> determineParticipantGroupIds(Message message, List<ConversationRegistryEntryEntity> registryEntities) -
isRegistryEntryApplicable
-