package Ġuk . ac . war wick . cam cat . s its . repositories Ċ Ċ import Ġorg . springframework . data . domain . Page Ċ import Ġorg . springframework . data . domain . Page able Ċ import Ġorg . springframework . data . jpa . repository . Query Ċ import Ġorg . springframework . data . repository . Crud Repository Ċ import Ġorg . springframework . stereotype . Repository Ċ import Ġuk . ac . war wick . cam cat . s its . entities . Program me Ċ Ċ @ Repository Ċ interface ĠProgram me Repository Ġ: ĠCr ud Repository < Program me , ĠString > Ġ{ ĊĠ Ġfun ĠfindAll ( page able : ĠPage able ): ĠPage < Program me > ĊĊĠ Ġ@ Query (" from ĠProgram me Ġwhere Ġin Use Ġ= Ġtrue Ġand Ġcode Ġ= Ġ: code ") ĊĠ Ġfun ĠfindBy Code ( code : ĠString ): ĠProgram me ? Ċ } Ċ