Interface ConversationRegistryEntryService
- All Known Implementing Classes:
ConversationRegistryEntryServiceImpl
public interface ConversationRegistryEntryService
- Author:
- Simon Amport
-
Method Summary
Modifier and Type Method Description long
countConversationParticipants(java.lang.String conversationId, java.util.Date date)
Return the number of active participants (user without a leaving time) at a specific time.ConversationRegistryEntryQuery
createConversationRegistryQuery()
java.util.List<java.lang.String>
findConversationParticipantsBetween(java.lang.String conversationId, java.util.Date from, java.util.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
long countConversationParticipants(java.lang.String conversationId, java.util.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
java.util.List<java.lang.String> findConversationParticipantsBetween(java.lang.String conversationId, java.util.Date from, java.util.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
-