DocumentSqlDao

class DocumentSqlDao(documentQueries: DocumentEntityQueries?, storyStepQueries: StoryStepEntityQueries?) : DocumentSearch

Constructors

Link copied to clipboard
constructor(documentQueries: DocumentEntityQueries?, storyStepQueries: StoryStepEntityQueries?)

Functions

Link copied to clipboard
suspend fun deleteDocumentById(document: String)
Link copied to clipboard
suspend fun deleteDocumentByIds(ids: Set<String>)
Link copied to clipboard
suspend fun deleteDocumentsByFolderId(folderId: String)
Link copied to clipboard
suspend fun deleteDocumentsByUserId(userId: String)
Link copied to clipboard
suspend fun favoriteById(documentId: String)
Link copied to clipboard
open suspend override fun getLastUpdatedAt(): List<Document>
Link copied to clipboard
suspend fun insertDocument(document: Document)
Link copied to clipboard
suspend fun insertDocuments(vararg documents: Document)
Link copied to clipboard
suspend fun insertDocumentWithContent(document: Document)
Link copied to clipboard
suspend fun insertStoryStep(storyStep: StoryStep, position: Long, documentId: String)
Link copied to clipboard
suspend fun loadDocumentById(id: String): Document?
Link copied to clipboard
suspend fun loadDocumentByParentId(parentId: String): List<Document>
Link copied to clipboard
Link copied to clipboard
suspend fun loadDocumentWithContentById(documentId: String): Document?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun moveToFolder(documentId: String, parentId: String)
Link copied to clipboard
open suspend override fun search(query: String): List<Document>
Link copied to clipboard
suspend fun unFavoriteById(documentId: String)