108. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/5/2017 12:06:38 PM Central 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.

108.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\CoreRouterAnnotationProcessor\main\src\resources FacadeRouterDataSourceMethodImpl.ftl Mon Dec 4 21:34:08 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\CoreRouterAnnotationProcessor\main\src\resources FacadeRouterDataSourceMethodImpl.ftl Mon Dec 4 21:58:39 2017 UTC

108.2 Comparison summary

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

108.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

108.4 Active regular expressions

No regular expressions were active.

108.5 Comparison detail

  1   /**
  2    * Package : MAG - Vi stA Imagin g
  3    * WARNING : Per VHA  Directive  2004-038,  this routi ne should  not be mod ified.
  4    * Date Cr eated: May  10, 2010
  5    * Site Na me:  Washi ngton OI F ield Offic e, Silver  Spring, MD
  6    * @author         
WERFEJ
  7    * @versio n 1.0
  8    *
  9    * ------- ---------- ---------- ---------- ---------- ---------- -------
  10    * Propert y of the U S Governme nt.
  11    * No perm ission to  copy or re distribute  this soft ware is gi ven.
  12    * Use of  unreleased  versions  of this so ftware req uires the  user
  13    * to exec ute a writ ten test a greement w ith the Vi stA Imagin g
  14    * Develop ment Offic e of the D epartment  of Veteran s Affairs,
  15    * telepho ne (301) 7 34-0100.
  16    * 
  17    * The Foo d and Drug  Administr ation clas sifies thi s software  as
  18    * a Class  II medica l device.   As such,  it may not  be change d
  19    * in any  way.  Modi fications  to this so ftware may  result in  an
  20    * adulter ated medic al device  under 21CF R820, the  use of whi ch
  21    * is cons idered to  be a viola tion of US  Federal S tatutes.
  22    * ------- ---------- ---------- ---------- ---------- ---------- -------
  23    */
  24    package $ {package};
  25    
  26    import ja va.util.Da te;
  27    //import  org. apach e.log4j.*;
  28    import go v.va.med.i maging.*;
  29    import go v.va.med.i maging.cor e.interfac es.excepti ons.*;
  30    import go v.va.med.i maging.dat asource.*;
  31    import go v.va.med.i maging.cor e.interfac es.router. Command;
  32    import go v.va.med.i maging.cor e.interfac es.router. Asynchrono usCommandR esultListe ner;
  33    import go v.va.med.i maging.cor e.router.A bstractDat aSourceCom mandImpl;
  34    import ja vax.annota tion.Gener ated;
  35    
  36    @Suppress Warnings(" unused")
  37    public cl ass ${comm andClassNa me}
  38    <#if base DataSource Command =  ""> 
  39    extends A bstractDat aSourceCom mandImpl<$ {type},${d ataSourceS pi}>
  40    <#else>
  41    extends $ {baseDataS ourceComma nd}<${type }>
  42    </#if>
  43    {
  44           pr ivate fina l static l ong serial VersionUID  = 1L;
  45    
  46           <# list param eters as p arameter>
  47           pr ivate fina l ${parame ter.type}  ${paramete r.name};
  48           </ #list>
  49    
  50           pu blic ${com mandClassN ame}(<#ass ign firstP arameter=t rue>
  51                    <#li st paramet ers as par ameter>
  52                             <#if ! firstParam eter>, </# if>${param eter.type}  ${paramet er.name}
  53                             <#assi gn firstPa rameter=fa lse> 
  54                    </#l ist>)
  55           {
  56                    <#li st paramet ers as par ameter>
  57                    this .${paramet er.name} =  ${paramet er.name};               
  58                    </#l ist>
  59           }
  60           
  61           @O verride
  62           pr otected ${ type} getC ommandResu lt(${dataS ourceSpi}  spi)
  63           th rows Conne ctionExcep tion, Meth odExceptio n
  64           {
  65                    <#if  spiParame terNames =  "">
  66                             <#if d eclaredTyp e=="void">
  67                                      spi.${da taSourceMe thod}(<#as sign first Parameter= true>
  68                                      <#list f actoryPara meters as  parameter>
  69                                               <#if !firs tParameter >, </#if>$ {parameter .name}
  70                                               <#assign f irstParame ter=false>  
  71                                      </#list> );
  72                                      return ( java.lang. Void)null;
  73                             <#else >
  74                             return  spi.${dat aSourceMet hod}(<#ass ign firstP arameter=t rue>
  75                                      <#list f actoryPara meters as  parameter>
  76                                               <#if !firs tParameter >, </#if>$ {parameter .name}
  77                                               <#assign f irstParame ter=false>  
  78                                      </#list> );
  79                             </#if>
  80                    <#el se>
  81                             <#if d eclaredTyp e=="void">
  82                                      spi.${da taSourceMe thod}(${sp iParameter Names});
  83                                      return ( java.lang. Void)null;
  84                             <#else >
  85                                      return s pi.${dataS ourceMetho d}(${spiPa rameterNam es});
  86                             </#if>
  87                    </#i f>
  88           }
  89           
  90           <# if baseDat aSourceCom mand = "">
  91           @O verride
  92           pu blic gov.v a.med.Rout ingToken g etRoutingT oken()
  93           {
  94                    retu rn ${routi ngTokenPar ameterName };    
  95           }
  96  
  97           @O verride
  98           pr otected St ring getSi teNumber()
  99           {
  100                    retu rn getRout ingToken() .getReposi toryUnique Id();
  101           }
  102           </ #if>  
  103  
  104           @O verride
  105           pr otected Cl ass<${data SourceSpi} > getSpiCl ass()
  106           {
  107                    retu rn ${dataS ourceSpi}. class;
  108           }
  109    
  110           @O verride
  111           pr otected St ring getSp iMethodNam e()
  112           {
  113                    retu rn "${data SourceMeth od}";
  114           }
  115           
  116           @O verride
  117           pr otected Cl ass<?>[] g etSpiMetho dParameter Types()
  118           {                          
  119                    <#if  spiParame terNames =  "">
  120                    retu rn new Cla ss<?> [] {
  121                    <#as sign first Parameter= true>
  122                             <#list  factoryPa rameters a s paramete r>
  123                                      <#if !fi rstParamet er>, </#if >${paramet er.type}.c lass
  124                                      <#assign  firstPara meter=fals e> 
  125                             </#lis t>
  126                    };
  127                    </#i f>
  128                    <#if  spiParame terNames ! = "">
  129                    retu rn new Cla ss<?> [] { ${spiParam eterTypes} };           
  130                    </#i f>
  131           }
  132           
  133           @O verride
  134           pr otected Ob ject[] get SpiMethodP arameters( )
  135           {
  136                    <#if  spiParame terNames =  "">
  137                    retu rn new Obj ect [] {
  138                    <#as sign first Parameter= true>
  139                             <#list  factoryPa rameters a s paramete r>
  140                                      <#if !fi rstParamet er>, </#if >${paramet er.name}
  141                                      <#assign  firstPara meter=fals e> 
  142                             </#lis t>
  143                    };       
  144                    </#i f>
  145                    <#if  spiParame terNames ! = "">
  146                    retu rn new Obj ect [] {${ spiParamet erNames}};              
  147                    </#i f>
  148           }
  149           
  150           @O verride
  151           pr otected ${ type} post ProcessRes ult(${type } result)
  152           {
  153                    <#if  postProce ssingResul tMethodNam e = "">
  154                    retu rn result;
  155                    </#i f>
  156                    <#if  postProce ssingResul tMethodNam e != "">
  157                    retu rn ${postP rocessingR esultMetho dName}(res ult);
  158                    </#i f>
  159           }
  160    }