CellFileDaoImpl
internal class CellFileDaoImpl(queries: CellFilesQueries, readDispatcher: ReadDispatcher, writeDispatcher: WriteDispatcher) : CellFileDao
Constructors
Link copied to clipboard
constructor(queries: CellFilesQueries, readDispatcher: ReadDispatcher, writeDispatcher: WriteDispatcher)
Functions
Link copied to clipboard
Link copied to clipboard
Deletes the file's row, unless a message refers to it as an attachment: deleting it would remove the attachment from the message, so only its local copy and offline access are cleared.
Link copied to clipboard
open suspend override fun deleteUnderFolder(folderPath: String, attachmentStatus: String): List<CellFileLocalPath>
deleteStandalone for every file stored under the folder at folderPath, at any depth, matched by the remote path they were saved with. The attachments among them are also set to attachmentStatus.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun observeOfflineFilesByConversationId(conversationId: String): Flow<List<CellFileEntity>>
Link copied to clipboard
Link copied to clipboard