ConversationDAOImpl

internal class ConversationDAOImpl(conversationDetailsCache: FlowCache<ConversationIDEntity, ConversationViewEntity?>, conversationCache: FlowCache<ConversationIDEntity, ConversationEntity?>, conversationQueries: ConversationsQueries, conversationDetailsQueries: ConversationDetailsQueries, conversationDetailsWithEventsQueries: ConversationDetailsWithEventsQueries, memberQueries: MembersQueries, unreadEventsQueries: UnreadEventsQueries, coroutineContext: <Error class: unknown class>) : ConversationDAO

Constructors

Link copied to clipboard
internal constructor(conversationDetailsCache: FlowCache<ConversationIDEntity, ConversationViewEntity?>, conversationCache: FlowCache<ConversationIDEntity, ConversationEntity?>, conversationQueries: ConversationsQueries, conversationDetailsQueries: ConversationDetailsQueries, conversationDetailsWithEventsQueries: ConversationDetailsWithEventsQueries, memberQueries: MembersQueries, unreadEventsQueries: UnreadEventsQueries, coroutineContext: <Error class: unknown class>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun clearContent(conversationId: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun clearProposalTimer(groupID: String): <Error class: unknown class>
Link copied to clipboard
open suspend override fun deleteConversationByQualifiedID(qualifiedID: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun deleteGuestRoomLink(conversationId: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun getAllConversationDetails(fromArchive: Boolean, filter: ConversationFilterEntity): <Error class: unknown class><List<ConversationViewEntity>>
Link copied to clipboard
open suspend override fun getAllConversationDetailsWithEvents(fromArchive: Boolean, onlyInteractionEnabled: Boolean, newActivitiesOnTop: Boolean): <Error class: unknown class><List<ConversationDetailsWithEventsEntity>>
Link copied to clipboard
open suspend override fun getAllConversations(): <Error class: unknown class><List<ConversationEntity>>
Link copied to clipboard
open suspend override fun getConversationById(qualifiedID: QualifiedIDEntity): ConversationEntity?
Link copied to clipboard
open suspend override fun getConversationDetailsByGroupID(groupID: String): ConversationViewEntity?
Link copied to clipboard
open suspend override fun getConversationDetailsById(qualifiedID: QualifiedIDEntity): ConversationViewEntity?
Link copied to clipboard
open suspend override fun getConversationIdByGroupID(groupID: String): <Error class: unknown class>
Link copied to clipboard
open suspend override fun getConversationIds(type: ConversationEntity.Type, protocol: ConversationEntity.Protocol, teamId: String?): List<QualifiedIDEntity>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getConversationsByKeyingMaterialUpdate(threshold: <Error class: unknown class>): List<String>
Link copied to clipboard
open suspend override fun getConversationsByUserId(userId: UserIDEntity): List<ConversationEntity>
Link copied to clipboard
open suspend override fun getConversationsWithoutMetadata(): List<QualifiedIDEntity>
Link copied to clipboard
open suspend override fun getConversationTypeById(conversationId: QualifiedIDEntity): ConversationEntity.Type?
Link copied to clipboard
Link copied to clipboard
open suspend override fun getEstablishedSelfMLSGroupId(): String?
Link copied to clipboard
open suspend override fun getMLSGroupIdByConversationId(conversationId: QualifiedIDEntity): String?
Link copied to clipboard
open suspend override fun getMLSGroupIdByUserId(userId: UserIDEntity): String?
Link copied to clipboard
open suspend override fun getProposalTimers(): <Error class: unknown class><List<ProposalTimerEntity>>
Link copied to clipboard
open suspend override fun getSelfConversationId(protocol: ConversationEntity.Protocol): <Error class: unknown class>
open suspend override fun getTeamConversationIdsReadyToCompleteMigration(teamId: String): List<QualifiedIDEntity>
Link copied to clipboard
open suspend override fun insertConversation(conversationEntity: ConversationEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun insertConversations(conversationEntities: List<ConversationEntity>): <Error class: unknown class>
Link copied to clipboard
open suspend override fun observeConversationById(qualifiedID: QualifiedIDEntity): <Error class: unknown class><ConversationEntity?>
Link copied to clipboard
open suspend override fun observeConversationDetailsByGroupID(groupID: String): <Error class: unknown class><ConversationViewEntity?>
Link copied to clipboard
open suspend override fun observeConversationDetailsById(conversationId: QualifiedIDEntity): <Error class: unknown class><ConversationViewEntity?>
Link copied to clipboard
open suspend override fun observeDegradedConversationNotified(conversationId: QualifiedIDEntity): <Error class: unknown class><Boolean>
Link copied to clipboard
open suspend override fun observeGuestRoomLinkByConversationId(conversationId: QualifiedIDEntity): <Error class: unknown class><ConversationGuestLinkEntity?>
Link copied to clipboard
open suspend override fun observeLegalHoldStatus(conversationId: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun observeLegalHoldStatusChangeNotified(conversationId: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun observeOneOnOneConversationWithOtherUser(userId: UserIDEntity): <Error class: unknown class><ConversationEntity?>
Link copied to clipboard
open suspend override fun observeUnreadArchivedConversationsCount(): <Error class: unknown class><Long>
Link copied to clipboard
open suspend override fun selectGroupStatusMembersNamesAndHandles(groupID: String): EpochChangesDataEntity?
Link copied to clipboard
open suspend override fun setProposalTimer(proposalTimer: ProposalTimerEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateAccess(conversationID: QualifiedIDEntity, accessList: List<ConversationEntity.Access>, accessRoleList: List<ConversationEntity.AccessRole>): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateAllConversationsNotificationDate(): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversation(conversationEntity: ConversationEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationArchivedStatus(conversationId: QualifiedIDEntity, isArchived: Boolean, archivedStatusTimestamp: Long): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationGroupState(groupState: ConversationEntity.GroupState, groupId: String): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationModifiedDate(qualifiedID: QualifiedIDEntity, date: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationMutedStatus(conversationId: QualifiedIDEntity, mutedStatus: ConversationEntity.MutedStatus, mutedStatusTimestamp: Long): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationName(conversationId: QualifiedIDEntity, conversationName: String, dateTime: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationNotificationDate(qualifiedID: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationProtocolAndCipherSuite(conversationId: QualifiedIDEntity, groupID: String?, protocol: ConversationEntity.Protocol, cipherSuite: ConversationEntity.CipherSuite): Boolean
Link copied to clipboard
open suspend override fun updateConversationReadDate(conversationID: QualifiedIDEntity, date: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationReceiptMode(conversationID: QualifiedIDEntity, receiptMode: ConversationEntity.ReceiptMode): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateConversationType(conversationID: QualifiedIDEntity, type: ConversationEntity.Type): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateDegradedConversationNotifiedFlag(conversationId: QualifiedIDEntity, updateFlag: Boolean): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateGuestRoomLink(conversationId: QualifiedIDEntity, link: String, isPasswordProtected: Boolean): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateKeyingMaterial(groupId: String, timestamp: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateLegalHoldStatus(conversationId: QualifiedIDEntity, legalHoldStatus: ConversationEntity.LegalHoldStatus): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateLegalHoldStatusChangeNotified(conversationId: QualifiedIDEntity, notified: Boolean): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateMessageTimer(conversationId: QualifiedIDEntity, messageTimer: Long?): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateMlsGroupStateAndCipherSuite(groupState: ConversationEntity.GroupState, cipherSuite: ConversationEntity.CipherSuite, groupId: String): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateMlsVerificationStatus(verificationStatus: ConversationEntity.VerificationStatus, conversationId: QualifiedIDEntity): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateUserMessageTimer(conversationId: QualifiedIDEntity, messageTimer: Long?): <Error class: unknown class>
Link copied to clipboard
open suspend override fun whoDeletedMeInConversation(conversationId: QualifiedIDEntity, selfUserIdString: String): UserIDEntity?