package Ġnet . hd hu u . datasource . post . repository Ċ Ċ import Ġio . reactivex . Comp letable Ċ import Ġio . reactivex . Observable Ċ import Ġnet . hd hu u . datasource . model . Post Data Entity Ċ Ċ interface ĠPost Cache Ġ{ ĊĠĠĠ Ġfun ĠgetAll Posts (): ĠObservable < List < Post Data Entity >> ĊĠĠĠ Ġfun Ġinsert Post ( post : ĠPost Data Entity ): ĠComp letable ĊĠĠĠ Ġfun Ġinsert Mult ile Post ( posts : ĠList < Post Data Entity >): Comp letable ĊĠĠĠ Ġfun Ġdelete Post ( post ID : ĠString ) Ġ: Comp letable ĊĠĠĠ Ġfun Ġdelete All Posts (): Comp letable ĊĠĠĠ Ġfun Ġupdate Post ( post : ĠPost Data Entity ): Comp letable Ċ }