package Ġcom . ddd 4 . drop it . data . source . local Ċ Ċ import Ġcom . ddd 4 . drop it . data . entity . Data Entity Ċ import Ġcom . ddd 4 . drop it . domain . Result Ċ import Ġcom . ddd 4 . drop it . domain . entity . Domain Entity Ċ Ċ interface ĠLocal DataSource Ġ{ ĊĊĠĠĠ Ġsuspend Ġfun Ġset Section FromJson (): ĠResult < Unit > ĊĊĠĠĠ Ġsuspend Ġfun Ġget Category Items (): ĠResult < List < Domain Entity . Category >> ĊĊĠĠĠ Ġsuspend Ġfun Ġget Sub Category Items ( id : ĠLong ): ĠResult < List < Domain Entity . Sub Category >> ĊĊĠĠĠ Ġsuspend Ġfun Ġget Folder Items (): ĠResult < List < Domain Entity . Folder >> ĊĊĠĠĠ Ġsuspend Ġfun Ġget Folder ByName ( folder Name : ĠString ): ĠResult < Domain Entity . Folder > ĊĊĠĠĠ Ġsuspend Ġfun Ġget Folder ById ( folder Id : ĠLong ): ĠResult < Domain Entity . Folder > ĊĊĠĠĠ Ġsuspend Ġfun Ġget Category ById ( categoryId : ĠLong ): ĠResult < Domain Entity . Category > ĊĊĠĠĠ Ġsuspend Ġfun Ġset Item ( item : ĠData Entity . Item ): ĠResult < Long > ĊĊĠĠĠ Ġsuspend Ġfun Ġget Alarm Ids (): ĠResult < List < Domain Entity . Item >> ĊĊĠĠĠ Ġsuspend Ġfun Ġget Items By Folder ( folder Id : ĠLong ): ĠResult < List < Domain Entity . Item >> ĊĊĠĠĠ Ġsuspend Ġfun Ġget Items By Category ( categoryId : ĠLong ): ĠResult < List < Domain Entity . Item >> ĊĊĠĠĠ Ġsuspend Ġfun Ġget Detail Item ( itemId : ĠLong ): ĠResult < Domain Entity . Item > ĊĊĠĠĠ Ġsuspend Ġfun Ġupdate Item ( item : ĠDomain Entity . Item ): ĠResult < Unit > ĊĊĠĠĠ Ġsuspend Ġfun Ġcreate Folder ( folder : ĠDomain Entity . Folder ): ĠResult < Unit > ĊĊĠĠĠ Ġsuspend Ġfun Ġdelete Item ( itemId : ĠLong ): ĠResult < Unit > ĊĊĠĠĠ Ġsuspend Ġfun Ġupdate Item By Folder Id ( folder Id : ĠLong , ĠitemId : ĠLong ): ĠResult < Unit > Ċ }