Interface ConversationEntityManager
- All Superinterfaces:
org.flowable.common.engine.impl.persistence.entity.EntityManager<ConversationEntity>
- All Known Implementing Classes:
ConversationEntityManagerImpl
public interface ConversationEntityManager
extends org.flowable.common.engine.impl.persistence.entity.EntityManager<ConversationEntity>
- Author:
- Filip Hrisafov, Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionlong
countByCriteria
(ConversationQuery query) long
countConversationsWithLastMessageBetween
(Date from, Date until, boolean includePrivate, boolean includeSticky) void
deleteConversationAndRelatedData
(String conversationId) findByCriteria
(ConversationQuery query) findByIdWithIdentityLinks
(String conversationId) Find a conversation by id including its identity links.findByIdWithIdentityLinksAndVariables
(String conversationId) Find a conversation by id including its identity links and variables.findConversationsWithLastMessageBetween
(Date from, Date until, boolean includePrivate, boolean includeSticky) int
updateLastMessageTime
(String conversationId, Date updateTime) Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.EntityManager
create, delete, delete, delete, findById, insert, insert, update, update
-
Method Details
-
createConversationQuery
ConversationQuery createConversationQuery() -
findByIdWithIdentityLinks
Find a conversation by id including its identity links.- Parameters:
conversationId
- the id of the conversation- Returns:
- the conversation with its identity links
-
findByIdWithIdentityLinksAndVariables
Find a conversation by id including its identity links and variables.- Parameters:
conversationId
- the id of the conversation- Returns:
- the conversation with its identity links and variables
-
findByCriteria
-
countByCriteria
-
updateLastMessageTime
-
deleteConversationAndRelatedData
-
countConversationsWithLastMessageBetween
-
findConversationsWithLastMessageBetween
List<Conversation> findConversationsWithLastMessageBetween(Date from, Date until, boolean includePrivate, boolean includeSticky)
-