package Ġcom . lean forge . s occ ero . tournament . repo Ċ Ċ import Ġcom . lean forge . s occ ero . league . domain . Comp etition Ċ import Ġcom . lean forge . s occ ero . tournament . domain . Tournament Ċ import Ġorg . springframework . data . mongodb . repository . Mongo Repository Ċ import Ġorg . springframework . stereotype . Repository Ċ import Ġjava . util .* Ċ import Ġjava . util . stream . Stream Ċ Ċ @ Repository Ċ interface ĠTo urnament Repository Ġ: ĠMongo Repository < Tournament , ĠUUID > Ġ{ ĊĊĠĠĠ Ġfun ĠfindAll ByName ( name : ĠString ) Ġ: ĠStream < Tournament > ĊĠĠĠ Ġfun Ġfind One ByName And Comp etition ( name : ĠString , Ġcompetition : ĠComp etition ) Ġ: ĠTo urnament ? Ċ }