package Ġcom . an sh ul vy as . cache . dao Ċ Ċ import Ġandroid . arch . persistence . room . Dao Ċ import Ġandroid . arch . persistence . room . Insert Ċ import Ġandroid . arch . persistence . room . On Conflict Strategy Ċ import Ġandroid . arch . persistence . room . Query Ċ import Ġcom . an sh ul vy as . cache . db . Project Constants . DELETE _ PROJECT S Ċ import Ġcom . an sh ul vy as . cache . db . Project Constants . QUERY _ BOOK MARK ED _ PROJECT S Ċ import Ġcom . an sh ul vy as . cache . db . Project Constants . QUERY _ PROJECT S Ċ import Ġcom . an sh ul vy as . cache . db . Project Constants . QUERY _ UPDATE _ BOOK MARK _ STATUS Ċ import Ġcom . an sh ul vy as . cache . model . Cached Project Ċ import Ġio . reactivex . Flow able Ċ Ċ @ Dao Ċ abstract Ġclass ĠCached Projects Dao Ġ{ ĊĊĠĠĠ Ġ@ Query ( QUERY _ PROJECT S ) ĊĠĠĠ Ġabstract Ġfun Ġget Projects (): ĠFlow able < List < Cached Project >> ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġabstract Ġfun Ġinsert Projects Ġ( projects : ĠList < Cached Project >) ĊĊĠĠĠ Ġ@ Query ( DELETE _ PROJECT S ) ĊĠĠĠ Ġabstract Ġfun Ġdelete Projects () ĊĊĠĠĠ Ġ// ĠGet Ġlist Ġof Ġprojects Ġwhich Ġare Ġbook marked Ġin Ġour Ġcache ĊĠĠĠ Ġ@ Query ( QUERY _ BOOK MARK ED _ PROJECT S ) ĊĠĠĠ Ġabstract Ġfun Ġget Book marked Projects (): ĠFlow able < List < Cached Project >> ĊĊĠĠĠ Ġ@ Query ( QUERY _ UPDATE _ BOOK MARK _ STATUS ) ĊĠĠĠ Ġabstract Ġfun Ġset Book marked Status ( is Bookmark Project : ĠBoolean , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠprojectId : ĠString ) Ċ Ċ }