public interface ConversationEntityManager extends org.flowable.common.engine.impl.persistence.entity.EntityManager<ConversationEntity>
| Modifier and Type | Method and Description | 
|---|---|
| long | countByCriteria(ConversationQuery query) | 
| long | countConversationsWithLastMessageBetween(Date from,
                                        Date until,
                                        boolean includePrivate,
                                        boolean includeSticky) | 
| ConversationQuery | createConversationQuery() | 
| void | deleteConversationAndRelatedData(String conversationId) | 
| List<Conversation> | findByCriteria(ConversationQuery query) | 
| ConversationEntity | findByIdWithIdentityLinks(String conversationId)Find a conversation by id including its identity links. | 
| ConversationEntity | findByIdWithIdentityLinksAndVariables(String conversationId)Find a conversation by id including its identity links and variables. | 
| List<Conversation> | findConversationsWithLastMessageBetween(Date from,
                                       Date until,
                                       boolean includePrivate,
                                       boolean includeSticky) | 
| int | updateLastMessageTime(String conversationId,
                     Date updateTime) | 
ConversationQuery createConversationQuery()
ConversationEntity findByIdWithIdentityLinks(String conversationId)
conversationId - the id of the conversationConversationEntity findByIdWithIdentityLinksAndVariables(String conversationId)
conversationId - the id of the conversationList<Conversation> findByCriteria(ConversationQuery query)
long countByCriteria(ConversationQuery query)
void deleteConversationAndRelatedData(String conversationId)
long countConversationsWithLastMessageBetween(Date from, Date until, boolean includePrivate, boolean includeSticky)
List<Conversation> findConversationsWithLastMessageBetween(Date from, Date until, boolean includePrivate, boolean includeSticky)
Copyright © 2019. All rights reserved.