298. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/13/2018 10:35:27 AM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

298.1 Files compared

# Location File Last Modified
1 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\persistent\hibernate AbstractDAOAction.java Fri Dec 7 17:36:34 2018 UTC
2 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\persistent\hibernate AbstractDAOAction.java Wed Dec 12 19:46:45 2018 UTC

298.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 130
Changed 1 2
Inserted 0 0
Removed 0 0

298.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

298.4 Active regular expressions

No regular expressions were active.

298.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrii ght 2004 V HA. All ri ghts reser ved
  3    ********* ********** ********** ********** ********** ********** *********/
  4   package go v.va.med.f w.persiste nt.hiberna te;
  5  
  6   import jav a.util.Map ;
  7  
  8   import jav ax.persist ence.Entit yManager;
  9   import jav ax.persist ence.Persi stenceExce ption;
  10  
  11   import org .hibernate .CallbackE xception;
  12  
  13   import gov .va.med.fw .persisten t.DAOExcep tion;
  14  
  15   /**
  16    * Impleme nts Hibern ateCallbac k interfac e to provi de more fl exibilitie s to a
  17    * caller  to perform  any persi stent oper ation usin g Hibernat e session.  This
  18    * abstrac t class is  intended  to allow d erived cla sses to be  configure d as a
  19    * spring  managed be an so that  its depen dencies an d resource s can be i njected
  20    * through  an applic ation cont ext file i n XML form at.
  21    * 
  22    * Project : Framewor k
  23    * 
  24    * @author   DN S
  25    * @versio n 1.0
  26    */
  27   public abs tract clas s Abstract DAOAction  {
  28           pr ivate Map< String, Ob ject> cont extData;
  29  
  30           /* *
  31            *  A default  construct or
  32            * /
  33           pr otected Ab stractDAOA ction() {
  34                    supe r();
  35           }
  36  
  37           pr otected Ab stractDAOA ction(Map< String, Ob ject> cont extData) {
  38                    supe r();
  39                    this .contextDa ta = conte xtData;
  40           }
  41  
  42           pu blic Objec t doInJpa( EntityMana ger entity Manager) t hrows Pers istenceExc eption {
  43                    try  {
  44                             return  execute(e ntityManag er);
  45                    } ca tch (DAOEx ception e)  {
  46                             throw  new Callba ckExceptio n(e);
  47                    }
  48           }
  49  
  50           pr otected ab stract Obj ect execut e(EntityMa nager enti tyManager)  throws DA OException ;
  51  
  52           /* *
  53            *  @return R eturns the  contextDa ta.
  54            * /
  55           pu blic Map<S tring, Obj ect> getCo ntextData( ) {
  56                    retu rn context Data;
  57           }
  58  
  59           /* *
  60            *  @param co ntextData
  61            *              The cont extData to  set.
  62            * /
  63           pu blic void  setContext Data(Map<S tring, Obj ect> conte xtData) {
  64                    this .contextDa ta = conte xtData;
  65           }
  66   }