public class MessageIndexQueryServiceImpl extends Object implements MessageIndexQueryService
Modifier and Type | Field and Description |
---|---|
protected ConversationResultMapper |
conversationResultMapper |
protected MessageComplianceResultMapper |
messageComplianceResultMapper |
protected MessageResultMapper |
messageResultMapper |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected com.flowable.indexing.SearchService |
searchService |
protected ConversationQueryTemplateHandler |
templateHandler |
protected com.flowable.indexing.template.TemplateLoader |
templateLoader |
Constructor and Description |
---|
MessageIndexQueryServiceImpl(com.flowable.indexing.SearchService searchService,
ConversationQueryTemplateHandler templateHandler,
com.flowable.indexing.template.TemplateLoader templateLoader,
MessageResultMapper messageResultMapper,
MessageComplianceResultMapper messageComplianceResultMapper,
ConversationResultMapper conversationResultMapper,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
com.flowable.platform.common.Page<MessageResponse> |
findMessages(String userId,
String tenantId,
Collection<String> userGroups,
String conversationId,
String searchText,
int start,
int size) |
List<MessageResponse> |
findRelatedMessages(String userId,
String tenantId,
Collection<String> userGroups,
String conversationId,
String valueTime) |
protected com.flowable.platform.common.Page<MessageComplianceResponse> |
getPageFromQuery(int start,
int size,
String index,
String query,
String order,
String sort) |
com.flowable.platform.common.Page<MessageComplianceResponse> |
queryMessagesForCompliance(MessageIndexQueryRequest request) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findMessages, findRelatedMessages
protected ConversationQueryTemplateHandler templateHandler
protected com.flowable.indexing.SearchService searchService
protected com.flowable.indexing.template.TemplateLoader templateLoader
protected MessageResultMapper messageResultMapper
protected MessageComplianceResultMapper messageComplianceResultMapper
protected ConversationResultMapper conversationResultMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public MessageIndexQueryServiceImpl(com.flowable.indexing.SearchService searchService, ConversationQueryTemplateHandler templateHandler, com.flowable.indexing.template.TemplateLoader templateLoader, MessageResultMapper messageResultMapper, MessageComplianceResultMapper messageComplianceResultMapper, ConversationResultMapper conversationResultMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public com.flowable.platform.common.Page<MessageResponse> findMessages(String userId, String tenantId, Collection<String> userGroups, String conversationId, String searchText, int start, int size)
findMessages
in interface MessageIndexQueryService
public com.flowable.platform.common.Page<MessageComplianceResponse> queryMessagesForCompliance(MessageIndexQueryRequest request)
queryMessagesForCompliance
in interface MessageIndexQueryService
protected com.flowable.platform.common.Page<MessageComplianceResponse> getPageFromQuery(int start, int size, String index, String query, String order, String sort)
public List<MessageResponse> findRelatedMessages(String userId, String tenantId, Collection<String> userGroups, String conversationId, String valueTime)
findRelatedMessages
in interface MessageIndexQueryService
Copyright © 2019. All rights reserved.