package Ġio . github . z wi eb ack . family finance . business . template . lifecycle . destroy er Ċ Ċ import Ġandroid . content . Context Ċ import Ġio . github . z wi eb ack . family finance . R Ċ import Ġio . github . z wi eb ack . family finance . core . lifecycle . destroy er . Entity Destroy er Ċ import Ġio . github . z wi eb ack . family finance . core . lifecycle . destroy er . Entity From Destroy er Ċ import Ġio . github . z wi eb ack . family finance . core . model . Sms Pattern Ċ import Ġio . github . z wi eb ack . family finance . core . model . Template Ċ import Ġio . re query . Persist able Ċ import Ġio . re query . query . Condition Ċ import Ġio . re query . reactivex . Reactive Entity Store Ċ Ċ class ĠTemplate From Sms Patterns Destroy er ( context : ĠContext , Ġdata : ĠReactive Entity Store < Persist able >) Ġ: ĊĠĠĠ ĠEntity From Destroy er < Template , ĠS ms Pattern >( context , Ġdata ) Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġfrom Class : ĠClass < Sms Pattern > ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠS ms Pattern :: class . java ĊĊĠĠĠ Ġoverride Ġval Ġalert ResourceId : ĠInt ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠR . string . sms _ patterns _ with _ template _ exists ĊĊĠĠĠ Ġoverride Ġfun Ġnext (): ĠEntity Destroy er < Template >? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠTemplate Force Destroy er ( context , Ġdata ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Suppress (" PARAMETER _ NAME _ CHANGED _ ON _ OVERRIDE ") ĊĠĠĠ Ġoverride Ġfun Ġget Where Condition ( template : ĠTemplate ): ĠCondition < *, Ġ*> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠS ms Pattern . TEMPLATE _ ID . eq ( template . id ) ĊĠĠĠ Ġ} Ċ } Ċ