ConversationDAO

Properties

Link copied to clipboard

Functions

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