22. EPMO Open Source Coordination Office Redaction File Detail Report

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

22.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\AWIVWebApp\main\src\java\gov\va\med\imaging\awiv\webservices\commands\v2 AwivCommandCommonV2.java Mon Dec 4 21:35:28 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\AWIVWebApp\main\src\java\gov\va\med\imaging\awiv\webservices\commands\v2 AwivCommandCommonV2.java Mon Dec 4 21:56:44 2017 UTC

22.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 160
Changed 2 4
Inserted 0 0
Removed 0 0

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

22.4 Active regular expressions

No regular expressions were active.

22.5 Comparison detail

  1   /**
  2    * 
  3     Package:  MAG - Vis tA Imaging
  4     WARNING:  Per VHA D irective 2 004-038, t his routin e should n ot be modi fied.
  5     Date Cre ated: Dec  15, 2011
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:          
WERFEJ
  8     Descript ion: 
  9  
  10           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  11           ;;  Property  of the US  Government .
  12           ;;  No permis sion to co py or redi stribute t his softwa re is give n.
  13           ;;  Use of un released v ersions of  this soft ware requi res the us er
  14           ;;   to execu te a writt en test ag reement wi th the Vis tA Imaging
  15           ;;   Developm ent Office  of the De partment o f Veterans  Affairs,
  16           ;;   telephon e (301) 73 4-0100.
  17           ;;
  18           ;;  The Food  and Drug A dministrat ion classi fies this  software a s
  19           ;;  a Class I I medical  device.  A s such, it  may not b e changed
  20           ;;  in any wa y.  Modifi cations to  this soft ware may r esult in a n
  21           ;;  adulterat ed medical  device un der 21CFR8 20, the us e of which
  22           ;;  is consid ered to be  a violati on of US F ederal Sta tutes.
  23           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  24  
  25    */
  26   package go v.va.med.i maging.awi v.webservi ces.comman ds.v2;
  27  
  28   import gov .va.med.im aging.exch ange.busin ess.Reques tor.Purpos eOfUse;
  29   import gov .va.med.im aging.tran sactioncon text.Trans actionCont ext;
  30   import gov .va.med.im aging.tran sactioncon text.Trans actionCont extFactory ;
  31  
  32   import org .apache.lo gging.log4 j.LogManag er;
  33   import org .apache.lo gging.log4 j.Logger;
  34  
  35   /**
  36    * @author         
WERFEJ
  37    *
  38    */
  39   public cla ss AwivCom mandCommon V2
  40   {
  41           pr ivate fina l static L ogger logg er = LogMa nager.getL ogger(Awiv CommandCom monV2.clas s);
  42           
  43           pu blic final  static St ring awivV 2Interface Version =  "V2";
  44           
  45           pu blic stati c Logger g etLogger()
  46           {
  47                    retu rn logger;
  48           }
  49           
  50           pu blic stati c void set Transactio nContext(
  51                             gov.va .med.imagi ng.awiv.we bservices. soap.v2.Us erCredenti alsType cr edentials,
  52                             String  transacti onId)
  53           {
  54                    getL ogger().in fo(
  55                                      "setTran sactionCon text, id=' " + transa ctionId + 
  56                                      "', user name='" +  credential s == null  || credent ials.getFu llname() = = null ? " null" : cr edentials. getFullnam e() + 
  57                                      "'.");
  58                    Tran sactionCon text trans actionCont ext = Tran sactionCon textFactor y.get();
  59                    
  60                    if(t ransaction Id != null )
  61                             transa ctionConte xt.setTran sactionId( transactio nId);
  62                    
  63                    if(c redentials  != null)
  64                    {
  65                             if( cr edentials. getFullnam e() != nul l )
  66                                      transact ionContext .setFullNa me(credent ials.getFu llname());
  67                             if( cr edentials. getSiteNum ber() != n ull )
  68                                      transact ionContext .setSiteNu mber(crede ntials.get SiteNumber ());
  69                             if( cr edentials. getSiteNam e() != nul l )
  70                                      transact ionContext .setSiteNa me(credent ials.getSi teName());
  71                             if( cr edentials. getSsn() ! = null )
  72                                      transact ionContext .setSsn(cr edentials. getSsn());
  73                             if(cre dentials.g etDuz() !=  null)
  74                                      transact ionContext .setDuz(cr edentials. getDuz());
  75                             if(cre dentials.g etSecurity Token() !=  null)
  76                                      transact ionContext .setBroker SecurityTo ken(creden tials.getS ecurityTok en());
  77                             if(cre dentials.g etClientVe rsion() !=  null)
  78                                      transact ionContext .setClient Version(cr edentials. getClientV ersion());
  79                             transa ctionConte xt.setPurp oseOfUse(P urposeOfUs e.routineM edicalCare .getDescri ption());
  80                    }                 
  81           }
  82   }