package Ġcn . edu . k must . fl st . service . back stage . article Ċ Ċ import Ġcn . edu . k must . fl st . domain . fl st . tables . da os . Article Content Dao Ċ import Ġcn . edu . k must . fl st . domain . fl st . tables . po jos . Article Content Ċ import Ġorg . springframework . stereotype . Service Ċ import Ġorg . springframework . transaction . annotation . Propagation Ċ import Ġorg . springframework . transaction . annotation . Transactional Ċ import Ġjavax . annotation . Resource Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġz be boy Ġ 2 0 1 8 - 0 4 - 2 5 Ġ. Ċ Ġ**/ Ċ @ Service (" article Content Service ") Ċ @ Transactional ( propagation Ġ= ĠPro pagation . SUPPORT S , ĠreadOnly Ġ= Ġtrue ) Ċ open Ġclass ĠArticle Content ServiceImpl Ġ: ĠArticle Content Service Ġ{ ĊĊĠĠĠ Ġ@ Resource ĊĠĠĠ Ġopen Ġlateinit Ġvar Ġarticle Content Dao : ĠArticle Content Dao ĊĊĠĠĠ Ġ@ Transactional ( propagation Ġ= ĠPro pagation . REQUIRED , ĠreadOnly Ġ= Ġfalse ) ĊĠĠĠ Ġoverride Ġfun Ġsave ( article Content : ĠArticle Content ) Ġ{ ĊĠĠĠĠĠĠĠ Ġarticle Content Dao . insert ( article Content ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġupdate ( article Content : ĠArticle Content ) Ġ{ ĊĠĠĠĠĠĠĠ Ġarticle Content Dao . update ( article Content ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġdelete ById ( id : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ Ġarticle Content Dao . delete ById ( id ) ĊĠĠĠ Ġ} Ċ }