Interface ConversationRegistryEntryService
-
- All Known Implementing Classes:
ConversationRegistryEntryServiceImpl
public interface ConversationRegistryEntryService
- Author:
- Simon Amport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
countConversationParticipants(String conversationId, Date date)
Return the number of active participants (user without a leaving time) at a specific time.ConversationRegistryEntryQuery
createConversationRegistryQuery()
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.
-
-
-
Method Detail
-
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 iddate
- 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
- optionaluntil
- optional- Returns:
- list of ids associated with the conversation
-
-