Interface ConversationRegistryEntryService
- All Known Implementing Classes:
ConversationRegistryEntryServiceImpl
public interface ConversationRegistryEntryService
- Author:
- Simon Amport
-
Method Summary
Modifier and TypeMethodDescriptionlongcountConversationParticipants(String conversationId, Date date) Return the number of active participants (user without a leaving time) at a specific time.findConversationParticipantsBetween(String conversationId, Date from, Date until) Return a list of user ids which were part of the the conversation between the given period.
-
Method Details
-
createConversationRegistryQuery
ConversationRegistryEntryQuery createConversationRegistryQuery() -
countConversationParticipants
Return the number of active participants (user without a leaving time) at a specific time.- Parameters:
conversationId- the conversation iddate- optional- Returns:
- the number of active participants
-
findConversationParticipantsBetween
Return a list of user ids which were part of the the conversation between the given period.- Parameters:
conversationId-from- optionaluntil- optional- Returns:
- list of ids associated with the conversation
-