83. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/25/2019 8:58:05 AM Central Daylight 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.

83.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IMAG_Source\VISA\Java\ViewerImagingWebApp\main\src\java\gov\va\med\imaging\viewer\commands GetQAReviewReportDataCommand.java Mon Mar 18 20:39:08 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\ViewerImagingWebApp\main\src\java\gov\va\med\imaging\viewer\commands GetQAReviewReportDataCommand.java Tue Mar 19 12:04:12 2019 UTC

83.2 Comparison summary

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

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

83.4 Active regular expressions

No regular expressions were active.

83.5 Comparison detail

  1   package go v.va.med.i maging.vie wer.comman ds;
  2  
  3   import gov .va.med.Ro utingToken ;
  4   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  5   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  6   import gov .va.med.im aging.exch ange.trans lation.exc eptions.Tr anslationE xception;
  7   import gov .va.med.im aging.rest .types.Res tStringTyp e;
  8   import gov .va.med.im aging.web. commands.W ebserviceI nputParame terTransac tionContex tField;
  9  
  10   import jav a.util.Has hMap;
  11   import jav a.util.Map ;
  12  
  13   import org .apache.lo gging.log4 j.LogManag er;
  14   import org .apache.lo gging.log4 j.Logger;
  15  
  16   /**
  17    * @author   DNS     tjahjb
  18    */
  19   public cla ss GetQARe viewReport DataComman d
  20   extends Ab stractView erImagingC ommands<St ring, Rest StringType >
  21   {
  22           pr ivate fina l static L ogger logg er = LogMa nager.getL ogger(GetQ AReviewRep ortDataCom mand.class );
  23  
  24           pr ivate Stri ng flags;
  25           pr ivate Stri ng fromDat e;
  26           pr ivate Stri ng through Date;
  27           pr ivate Stri ng mque;
  28           pr ivate Stri ng interfa ceVersion;
  29  
  30           pu blic GetQA ReviewRepo rtDataComm and(
  31                             String  flags,
  32                             String  fromDate,
  33                             String  throughDa te,
  34                             String  mque,
  35                             String  interface Version)
  36           {
  37                    supe r("GetQARe viewReport DataComman d");
  38                    this .flags = f lags;
  39                    this .fromDate  = fromDate ;
  40                    this .throughDa te = throu ghDate;
  41                    this .mque = mq ue;
  42                    this .interface Version =  interfaceV ersion;
  43           }
  44  
  45           @O verride
  46           pr otected St ring execu teRouterCo mmand() 
  47           th rows Metho dException , Connecti onExceptio n
  48           {
  49                    try
  50                    {
  51                             logger .info("Get QAReviewRe portDataCo mmand para meters: "  + getMetho dParameter ValuesStri ng());
  52                             
  53                             Routin gToken rou tingToken  = createLo calRouting Token();
  54  
  55                             return  getRouter ().getQARe viewReport Data(
  56                                               routingTok en, 
  57                                               getFlags() ,
  58                                               getFromDat e(),
  59                                               getThrough Date(),
  60                                               getMque()) ;
  61                             
  62                    }
  63                    catc h(Exceptio n e)
  64                    {
  65                             // log ging and t ransaction  context s etting han dled by ca lling meth od
  66                             throw  new Method Exception( e);
  67                    }
  68           }
  69  
  70           pr ivate Stri ng getMque () {
  71                    retu rn mque;
  72           }
  73  
  74           pr ivate Stri ng getThro ughDate()  {
  75                    retu rn through Date;
  76           }
  77  
  78           pr ivate Stri ng getFrom Date() {
  79                    retu rn fromDat e;
  80           }
  81  
  82           pr ivate Stri ng getFlag s() {
  83                    retu rn flags;
  84           }
  85  
  86           @O verride
  87           pu blic Strin g getInter faceVersio n()
  88           {
  89                    retu rn interfa ceVersion;
  90           }
  91  
  92           
  93           /*  (non-Java doc)
  94            *  @see gov. va.med.ima ging.web.c ommands.Ab stractWebs erviceComm and#getMet hodParamet erValuesSt ring()
  95            * /
  96           @O verride
  97           pr otected St ring getMe thodParame terValuesS tring()
  98           {
  99                    retu rn "Flags  [" + getFl ags() + "] , From Dat e [" + get FromDate()  + "], Thr ough Date  [" + getTh roughDate( ) + "], mq ue [" + ge tMque() +  "]";
  100           }
  101  
  102  
  103           @O verride
  104           pr otected Ma p<Webservi ceInputPar ameterTran sactionCon textField,  String> g etTransact ionContext Fields()
  105           {
  106                    Map< Webservice InputParam eterTransa ctionConte xtField, S tring> tra nsactionCo ntextField s = 
  107                             new Ha shMap<Webs erviceInpu tParameter Transactio nContextFi eld, Strin g>();
  108                    
  109                    tran sactionCon textFields .put(Webse rviceInput ParameterT ransaction ContextFie ld.quality , transact ionContext NaValue);
  110                    tran sactionCon textFields .put(Webse rviceInput ParameterT ransaction ContextFie ld.queryFi lter, tran sactionCon textNaValu e);
  111  
  112                    retu rn transac tionContex tFields;
  113           }
  114           
  115  
  116           @O verride
  117           pu blic Integ er getEntr iesReturne d(RestStri ngType tra nslatedRes ult) {
  118                    retu rn 1;
  119           }
  120  
  121           /*  (non-Java doc)
  122            *  @see gov. va.med.ima ging.web.c ommands.Ab stractWebs erviceComm and#transl ateRouterR esult(java .lang.Obje ct)
  123            * /
  124           @O verride
  125           pr otected Re stStringTy pe transla teRouterRe sult(Strin g routerRe sult)
  126                             throws  Translati onExceptio n, MethodE xception 
  127           {
  128                    retu rn new Res tStringTyp e(routerRe sult);
  129           }
  130  
  131           @O verride
  132           pr otected Cl ass<RestSt ringType>  getResultC lass() {
  133                    retu rn RestStr ingType.cl ass;
  134           }
  135  
  136  
  137  
  138   }
  139  
  140  
  141