package Ġcom . jun j ie . se cdr adata . database . primary . dao Ċ Ċ import Ġcom . jun j ie . se cdr adata . database . primary . entity . Follow Ċ import Ġorg . springframework . data . domain . Page Ċ import Ġorg . springframework . data . domain . Page able Ċ import Ġorg . springframework . data . jpa . repository . Jpa Repository Ċ import Ġorg . springframework . stereotype . Repository Ċ import Ġorg . springframework . transaction . annotation . Transactional Ċ Ċ @ Repository Ċ interface ĠFollow DAO Ġ: ĠJ pa Repository < Follow , ĠString > Ġ{ ĊĠĠĠ Ġfun Ġexists By CreatedBy And Following Id ( created By : ĠString , Ġfollowing Id : ĠString ): ĠBoolean ĊĠĠĠ Ġ@ Transactional ĊĠĠĠ Ġfun Ġdelete By CreatedBy And Following Id ( created By : ĠString , Ġfollowing Id : ĠString ) ĊĊĠĠĠ Ġfun ĠfindAll By CreatedBy ( created By : ĠString , Ġpage able : ĠPage able ): ĠPage < Follow > ĊĊĠĠĠ Ġfun ĠfindAll By Following Id ( following Id : ĠString , Ġpage able : ĠPage able ): ĠPage < Follow > Ċ }