Interface ConversationEntityManager

    • Method Detail

      • findByIdWithIdentityLinks

        ConversationEntity findByIdWithIdentityLinks​(String conversationId)
        Find a conversation by id including its identity links.
        Parameters:
        conversationId - the id of the conversation
        Returns:
        the conversation with its identity links
      • findByIdWithIdentityLinksAndVariables

        ConversationEntity findByIdWithIdentityLinksAndVariables​(String conversationId)
        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
      • updateLastMessageTime

        int updateLastMessageTime​(String conversationId,
                                  Date updateTime)
      • deleteConversationAndRelatedData

        void deleteConversationAndRelatedData​(String conversationId)
      • countConversationsWithLastMessageBetween

        long countConversationsWithLastMessageBetween​(Date from,
                                                      Date until,
                                                      boolean includePrivate,
                                                      boolean includeSticky)
      • findConversationsWithLastMessageBetween

        List<Conversation> findConversationsWithLastMessageBetween​(Date from,
                                                                   Date until,
                                                                   boolean includePrivate,
                                                                   boolean includeSticky)