package Ġcom . r 3 . ref app . flows . reports Ċ Ċ import Ġco . parallel universe . fib ers . Suspend able Ċ import Ġcom . r 3 . ref app . domain . Pag inated Response Ċ import Ġcom . r 3 . ref app . repositories . Account Repository Ċ import Ġcom . r 3 . ref app . repositories . Repository QueryParams Ċ import Ġcom . r 3 . ref app . schemas . Customer Schema V 1 Ċ import Ġnet . cord a . core . flows . Flow Logic Ċ import Ġnet . cord a . core . flows . Start able By RPC Ċ Ċ /** Ċ Ġ* ĠReturn Ġa Ġpag inated Ġlist Ġof Ġall Ġ[ Customer ] Ċ Ġ* Ġ@ param ĠqueryParams Ġ[ Repository QueryParams ] Ġobject Ġthat Ġholds Ġa Ġrepository Ġquery 's Ġpossible Ġparameters . Ċ Ġ* Ġ@ return Ġreturns ĠList Ġof Ġ[ Customer ] Ċ Ġ*/ Ċ @ Start able By RPC Ċ class ĠGet Customers Pag inated Flow ( private Ġval ĠqueryParams : ĠRepository QueryParams ) Ġ: ĠFlow Logic < Pag inated Response < Customer Schema V 1 . Customer >>() Ġ{ ĊĠĠĠ Ġ@ Suspend able ĊĠĠĠ Ġoverride Ġfun Ġcall (): ĠPag inated Response < Customer Schema V 1 . Customer > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġaccount Repository : ĠAccount Repository Ġ= Ġservice Hub . cord a Service ( Account Repository :: class . java ) ĊĠĠĠĠĠĠĠ Ġreturn Ġaccount Repository . get Customers Pag inated ( queryParams ) ĊĠĠĠ Ġ} Ċ }