@@ -0,0 +1,998 @@
+package com.w3bshark.todo.data.source.local;%0A%0Aimport android.arch.persistence.room.Dao;%0Aimport android.arch.persistence.room.Insert;%0Aimport android.arch.persistence.room.OnConflictStrategy;%0Aimport android.arch.persistence.room.Query;%0Aimport android.arch.persistence.room.Update;%0A%0Aimport com.w3bshark.todo.data.Task;%0A%0Aimport java.util.List;%0A%0A/**%0A * Created by Tyler McCraw on 6/7/17.%0A * %3Cp/%3E%0A * DAO interface for providing access to Task-related operations%0A */%0A%0A@Dao%0Apublic abstract class TaskDao %7B%0A%0A    @Insert(onConflict = OnConflictStrategy.REPLACE)%0A    public abstract void insertTasks(List%3CTask%3E tasks);%0A%0A    @Insert(onConflict = OnConflictStrategy.REPLACE)%0A    public abstract void insertTask(Task task);%0A%0A    @Query(%22SELECT * FROM task WHERE id = :taskId%22)%0A    public abstract Task loadTask(String taskId);%0A%0A    @Query(%22SELECT * FROM task WHERE user = :userId%22)%0A    public abstract List%3CTask%3E loadAllTasksForUser(String userId);%0A%0A    @Update%0A    public abstract void updateTask(Task task);%0A%7D%0A

add TaskDao