package Ġcom . s ama . integration . google . calendar . domain Ċ Ċ import Ġcom . s ama . common . Domain Repository Ċ import Ġcom . s ama . integration . google . auth . domain . Google AccountId Ċ import Ġjava . time . Z onedDateTime Ċ import Ġorg . springframework . data . repository . Repository Ċ Ċ @ Domain Repository Ċ interface ĠCalendar Event Repository Ġ: ĠRepository < Calendar Event , ĠGoogle Calendar EventId > Ġ{ ĊĠĠĠ Ġfun Ġfind ( event Key : ĠGoogle Calendar Event Key ): ĠCalendar Event ? ĊĠĠĠ Ġfun ĠfindAll ( event Keys : ĠCollection < Google Calendar Event Key >): ĠList < Calendar Event > ĊĠĠĠ Ġfun ĠfindAll ( accountId : ĠGoogle AccountId , Ġcalendar Id : ĠGoogle Calendar Id , Ġfrom : ĠZ onedDateTime , Ġto : ĠZ onedDateTime ) Ġ= ĊĠĠĠĠĠĠĠ ĠfindAll ( accountId , Ġcalendar Id , Ġfrom , Ġto , Ġnull , Ġnull ) ĊĊĠĠĠ Ġfun ĠfindAll ( ĊĠĠĠĠĠĠĠ ĠaccountId : ĠGoogle AccountId , ĊĠĠĠĠĠĠĠ Ġcalendar Id : ĠGoogle Calendar Id , ĊĠĠĠĠĠĠĠ Ġfrom : ĠZ onedDateTime , ĊĠĠĠĠĠĠĠ Ġto : ĠZ onedDateTime , ĊĠĠĠĠĠĠĠ Ġcreated From : ĠZ onedDateTime ?, ĊĠĠĠĠĠĠĠ Ġmin At tendee Count : ĠInt ?, ĊĠĠĠ Ġ): ĠList < Calendar Event > ĊĊĠĠĠ Ġfun Ġsave ( event : ĠCalendar Event ) ĊĠĠĠ Ġfun Ġsave All ( events : ĠCollection < Calendar Event >) ĊĊĠĠĠ Ġfun Ġdelete All ( event Keys : ĠCollection < Google Calendar Event Key >) ĊĠĠĠ Ġfun Ġdelete By ( accountId : ĠGoogle AccountId , Ġcalendar Id : ĠGoogle Calendar Id ) Ċ }