NoteRepository

interface NoteRepository

Repository for the note entity.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun addNote(note: NoteEntity)

Add a note to the database.

Link copied to clipboard
abstract suspend fun deleteNote(note: NoteEntity)

Delete a note from the database.

Link copied to clipboard
abstract fun getAllNotesStream(): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<com/example/eduskunta/data/db/entities/NoteEntity>>

Get all notes from the database.

Link copied to clipboard
abstract fun getNotesForMember(personNumber: Int): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<com/example/eduskunta/data/db/entities/NoteEntity>>

Get notes for a member from the database.