App-Support > healthstack.app.task.repository > TaskRepositoryImpl

TaskRepositoryImpl

[androidJvm]
class TaskRepositoryImpl : TaskRepository

Constructors

TaskRepositoryImpl

[androidJvm]
fun TaskRepositoryImpl()

Functions

Name Summary
getActiveTasks

[androidJvm]
open override fun getActiveTasks(targetTime: LocalDateTime): Flow<List<Task>>

getCompletedTasks

[androidJvm]
open override fun getCompletedTasks(now: LocalDate): Flow<List<Task>>

getCompletedTasksToSync

[androidJvm]
open override fun getCompletedTasksToSync(from: LocalDateTime, to: LocalDateTime): Flow<List<Task>>

getUpcomingTasks

[androidJvm]
open override fun getUpcomingTasks(targetTime: LocalDateTime): Flow<List<Task>>

insertAll

[androidJvm]
open suspend override fun insertAll(taskEntities: List<Task>)

updateResult

[androidJvm]
open suspend override fun updateResult(task: Task)