package Ġcom . ep am . br n . service . statistic . progress . status . impl Ċ Ċ import Ġcom . ep am . br n . dto . statistic . User Ex erc ising Period Ċ import Ġcom . ep am . br n . dto . statistic . User Ex erc ising Progress Status Ċ import Ġcom . ep am . br n . model . Study History Ċ import Ġcom . ep am . br n . service . statistic . progress . status . Ex erc ising Status Retriever Ċ import Ġcom . ep am . br n . service . statistic . progress . status . Progress Status Manager Ċ import Ġorg . springframework . stereotype . Service Ċ Ċ @ Service Ċ class ĠStudy Hist ories Progress Status Manager ( ĊĠĠĠ Ġprivate Ġval Ġretrie vers : ĠList < Ex erc ising Status Retriever < List <* >>> Ċ ) Ġ: ĠProgress Status Manager < List < Study History >> Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠgetStatus ( ĊĠĠĠĠĠĠĠ Ġperiod Type : ĠUser Ex erc ising Period , ĊĠĠĠĠĠĠĠ Ġprogress : ĠList < Study History > ĊĠĠĠ Ġ): ĠUser Ex erc ising Progress Status ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġretrie vers ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. filter Ġ{ Ġit . get Supported Periods (). contains ( period Type ) Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. map NotNull Ġ{ Ġit . getStatus ( progress ) Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. min By OrNull Ġ{ Ġit . ordinal Ġ} ĊĠĠĠ Ġ} Ċ } Ċ