MemberDAOImpl
internal class MemberDAOImpl(membersCache: FlowCache<ConversationIDEntity, List<MemberEntity>>, memberQueries: MembersQueries, userQueries: UsersQueries, conversationsQueries: ConversationsQueries, coroutineContext: <Error class: unknown class>, memberMapper: MemberMapper = MemberMapper()) : MemberDAO
Constructors
Link copied to clipboard
internal constructor(membersCache: FlowCache<ConversationIDEntity, List<MemberEntity>>, memberQueries: MembersQueries, userQueries: UsersQueries, conversationsQueries: ConversationsQueries, coroutineContext: <Error class: unknown class>, memberMapper: MemberMapper = MemberMapper())
Functions
Link copied to clipboard
open suspend override fun deleteMemberByQualifiedID(userID: QualifiedIDEntity, conversationID: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun deleteMembersByQualifiedID(userIDList: List<QualifiedIDEntity>, conversationID: QualifiedIDEntity): Long
Deletes a list of user ids from the Conversation. return a list of the users that where actually deleted if the list is empty then no user was deleted
Link copied to clipboard
open suspend override fun getGroupConversationWithUserIdsWithBothDomains(firstDomain: String, secondDomain: String): Map<ConversationIDEntity, List<UserIDEntity>>
Link copied to clipboard
open suspend override fun getOneOneConversationWithFederatedMembers(domain: String): Map<ConversationIDEntity, UserIDEntity>
Link copied to clipboard
open suspend override fun insertMember(member: MemberEntity, conversationID: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
open suspend override fun insertMembersWithQualifiedId(memberList: List<MemberEntity>, conversationID: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun observeConversationMembers(qualifiedID: QualifiedIDEntity): <Error class: unknown class><List<MemberEntity>>
Link copied to clipboard
open suspend override fun observeIsUserMember(conversationId: QualifiedIDEntity, userId: UserIDEntity): <Error class: unknown class><Boolean>
Link copied to clipboard
open suspend override fun selectMembersNameAndHandle(conversationId: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationMemberRole(conversationId: QualifiedIDEntity, userId: UserIDEntity, role: MemberEntity.Role): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateFullMemberList(memberList: List<MemberEntity>, conversationID: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateMemberRole(userId: UserIDEntity, conversationID: QualifiedIDEntity, newRole: MemberEntity.Role): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateOrInsertOneOnOneMember(member: MemberEntity, conversationID: QualifiedIDEntity): <Error class: unknown class>