Interface ConversationRegistryEntryService

All Known Implementing Classes:
ConversationRegistryEntryServiceImpl

public interface ConversationRegistryEntryService
Author:
Simon Amport
  • Method Details

    • createConversationRegistryQuery

      ConversationRegistryEntryQuery createConversationRegistryQuery()
    • countConversationParticipants

      long countConversationParticipants(String conversationId, Date date)
      Return the number of active participants (user without a leaving time) at a specific time.
      Parameters:
      conversationId - the conversation id
      date - optional
      Returns:
      the number of active participants
    • findConversationParticipantsBetween

      List<String> findConversationParticipantsBetween(String conversationId, Date from, Date until)
      Return a list of user ids which were part of the the conversation between the given period.
      Parameters:
      conversationId -
      from - optional
      until - optional
      Returns:
      list of ids associated with the conversation