package Ġio . spark led . persistence . stage . impl . query Ċ Ċ import Ġio . spark led . model . entity . Q Rendered Stage Prop . rendered Stage Prop Ċ import Ġio . spark led . model . util . Id Utils . NO _ IDS Ċ import Ġio . spark led . persistence . Persistence Query Ċ import Ġio . spark led . persistence . Query Factory Ċ import Ġorg . slf 4 j . LoggerFactory Ċ Ċ class ĠDelete Rendered Stage Props Query ( rendered Stage Prop Ids : ĠCollection < Int >) Ġ: ĠPersistence Query < Unit > Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġrendered Stage Prop Ids : ĠCollection < Int > Ġ= ĊĠĠĠĠĠĠĠ Ġif Ġ( rendered Stage Prop Ids . isEmpty ()) ĠNO _ IDS Ġelse Ġrendered Stage Prop Ids ĊĊĠĠĠ Ġoverride Ġfun Ġperform ( query Factory : ĠQuery Factory ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġdeleted Ġ= Ġquery Factory ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. delete ( rendered Stage Prop ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. where ( rendered Stage Prop . id .` in `( rendered Stage Prop Ids )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. execute () ĊĊĠĠĠĠĠĠĠ Ġlogger . info (" Deleted Ġ{} Ġrendered Ġstage Ġprop ( s ). ", Ġdeleted ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġlogger Ġ= ĠLoggerFactory . getLogger ( Delete Rendered Stage Props Query :: class . java ) ĊĠĠĠ Ġ} Ċ } Ċ