package Ġcom . rod rig ob res an . domain . movies . repository Ċ Ċ import Ġcom . rod rig ob res an . domain . movie _ category . model . Category Ċ import Ġcom . rod rig ob res an . domain . movies . model . Movie Ċ import Ġio . reactivex . Comp letable Ċ import Ġio . reactivex . Single Ċ Ċ /** Ċ Ġ* ĠContract Ġfor Ġany Ġclass Ġthat Ġwill Ġbe Ġa ĠMovie Repository . ĠThe Ġimplementation Ġwill Ġbe Ġdone Ċ Ġ* Ġby Ġthe Ġdata Ġlayer Ċ Ġ*/ Ċ interface ĠMovie Repository Ġ{ ĊĠĠĠ Ġfun Ġclear Movies (): ĠComp letable ĊĠĠĠ Ġfun Ġsave Movies ( category : ĠCategory , Ġmovies : ĠList < Movie >): ĠComp letable ĊĠĠĠ Ġfun Ġdelete Movie ( category : ĠCategory , Ġmovie : ĠMovie ): ĠComp letable ĊĠĠĠ Ġfun Ġget Movies ( category : ĠCategory ): ĠSingle < List < Movie >> ĊĠĠĠ Ġfun Ġget Movie ( movie Id : ĠLong ): ĠSingle < Movie > Ċ }