Class ReindexMessagesCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.ReindexMessagesCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<Void>
-
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
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected Predicate
<ConversationRegistryEntryEntity> isRegistryEntryApplicable
(Date messageTime) protected void
reindexMessagesForConversation
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, MessageEntityManager messageEntityManager, ConversationRegistryEntryEntityManager conversationRegistryEntryEntityManager) protected void
reindexMessagesPage
(org.flowable.common.engine.impl.interceptor.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
- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<Void>
-
reindexMessagesForConversation
protected void reindexMessagesForConversation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, MessageEntityManager messageEntityManager, ConversationRegistryEntryEntityManager conversationRegistryEntryEntityManager) -
reindexMessagesPage
protected void reindexMessagesPage(org.flowable.common.engine.impl.interceptor.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
-