package Ġcom . pms . plac eman age ments ystem server side . service . program . impl Ċ Ċ import Ġcom . pms . plac eman age ments ystem server side . models . enums . Activation Model Status Enum Ċ import Ġcom . pms . plac eman age ments ystem server side . models . program . Program Model Ċ import Ġcom . pms . plac eman age ments ystem server side . repository . program . Program Repository Ċ import Ġcom . pms . plac eman age ments ystem server side . service . program . Program Service Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . stereotype . Service Ċ Ċ @ Service Ċ class ĠProgram ServiceImpl Ġ: ĠProgram Service Ġ{ ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġprogram Repository : ĠProgram Repository ĊĊĠĠĠ Ġoverride Ġfun Ġcreate ( program Model : ĠProgram Model ): ĠProgram Model Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġprogram Repository . create ( program Model ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġread (): ĠList < Program Model > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġprogram Repository . read () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġread Active (): ĠList < Program Model > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġread (). filter Ġ{ Ġit . status Ġ== ĠActivation Model Status Enum . ACTIVE Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġupdate ( program Model : ĠProgram Model ) Ġ{ ĊĠĠĠĠĠĠĠ Ġprogram Repository . update ( program Model ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġdelete ( id : ĠLong ) Ġ{ ĊĠĠĠĠĠĠĠ Ġprogram Repository . delete ( id ) ĊĠĠĠ Ġ} Ċ }