Interface ConversationRegistryEntryEntityManager
- All Superinterfaces:
EntityManager<ConversationRegistryEntryEntity>
- All Known Implementing Classes:
ConversationRegistryEntryEntityManagerImpl
public interface ConversationRegistryEntryEntityManager
extends EntityManager<ConversationRegistryEntryEntity>
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
countConversationParticipants
(String conversationId, Date date) void
deleteByConversationId
(String conversationId) findByConversation
(String conversationId) findByConversationAndGroups
(String conversationId, Collection<String> groups) findByConversationAndUser
(String conversationId, String userId) findByConversationIdAndDateRange
(String conversationId, Date startDate, Date endDate) findByConversationIdAndTypes
(String conversationId, Collection<String> types) findConversationParticipantsBetween
(String conversationId, Date from, Date until) findCurrentByConversationAndGroupsAndType
(String conversationId, Collection<String> groups, String participantType) findCurrentByConversationAndUsersAndType
(String conversationId, Collection<String> participants, String participantType)
-
Method Details
-
findByConversation
-
findByConversationAndUser
List<ConversationRegistryEntryEntity> findByConversationAndUser(String conversationId, String userId) -
findByConversationAndGroups
List<ConversationRegistryEntryEntity> findByConversationAndGroups(String conversationId, Collection<String> groups) -
findCurrentByConversationAndGroupsAndType
List<ConversationRegistryEntryEntity> findCurrentByConversationAndGroupsAndType(String conversationId, Collection<String> groups, String participantType) -
findCurrentByConversationAndUsersAndType
List<ConversationRegistryEntryEntity> findCurrentByConversationAndUsersAndType(String conversationId, Collection<String> participants, String participantType) -
findByConversationIdAndDateRange
List<ConversationRegistryEntryEntity> findByConversationIdAndDateRange(String conversationId, Date startDate, Date endDate) -
findByConversationIdAndTypes
List<ConversationRegistryEntryEntity> findByConversationIdAndTypes(String conversationId, Collection<String> types) -
deleteByConversationId
-
findByCriteria
-
countByCriteria
-
countConversationParticipants
-
findConversationParticipantsBetween
-