package Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . domain . location Ċ Ċ import Ġorg . springframework . data . jpa . repository . Jpa Repository Ċ import Ġjava . util . UUID Ċ import Ġjava . util . stream . Stream Ċ Ċ interface ĠLocation Repository Ġ: ĠJ pa Repository < Location , ĠUUID > Ġ{ ĊĠ Ġfun Ġfind First By OrderBy UpdatedAt Desc (): ĠLocation ? ĊĊĠ Ġfun ĠfindBy Nom is Ag ency Id ( id : ĠString ): ĠLocation ? ĊĊĠ Ġfun ĠfindBy Site Name ( name : ĠString ): ĠLocation ? ĊĊĠ Ġfun ĠfindBy Nom is Ag ency Id Or Site Name ( id : ĠString , Ġname : ĠString ): ĠList < Location > ĊĊĠ Ġ/** ĊĠĠ Ġ* ĠCall ers Ġof Ġthis Ġmust Ġremember Ġto Ġclose Ġthe Ġ[ Stream ]. ĊĠĠ Ġ*/ ĊĠ Ġfun ĠfindAll By OrderBy Site Name (): ĠStream < Location > Ċ } Ċ