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

78.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 DeleteImageFilterCommand.java Mon Mar 18 20:39:09 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\ViewerImagingWebApp\main\src\java\gov\va\med\imaging\viewer\commands DeleteImageFilterCommand.java Tue Mar 19 12:04:12 2019 UTC

78.2 Comparison summary

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

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

78.4 Active regular expressions

No regular expressions were active.

78.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.ex ceptions.R outingToke nFormatExc eption;
  5   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  6   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  7   import gov .va.med.im aging.exch ange.Routi ngTokenHel per;
  8   import gov .va.med.im aging.rest .types.Res tStringTyp e;
  9   import gov .va.med.im aging.view er.ViewerI magingCont ext;
  10   import gov .va.med.im aging.web. commands.W ebserviceI nputParame terTransac tionContex tField;
  11  
  12   import jav a.util.Map ;
  13  
  14   import org .apache.lo gging.log4 j.LogManag er;
  15   import org .apache.lo gging.log4 j.Logger;
  16  
  17   /**
  18    * @author   DNS     tjahjb
  19    *
  20    */
  21   public cla ss DeleteI mageFilter Command 
  22   extends Ab stractView erImagingC ommands<St ring, Rest StringType >
  23   {
  24           pr ivate Logg er logger  = LogManag er.getLogg er(this.ge tClass());
  25  
  26           pr ivate fina l String i nterfaceVe rsion;
  27           pr ivate fina l String s iteId;
  28           pr ivate fina l String f ilterIen;
  29           
  30           pu blic Delet eImageFilt erCommand( String sit eId, Strin g filterIe n, String  interfaceV ersion)
  31           {
  32                    supe r("DeleteI mageFilter Command");
  33                    
  34                    this .siteId =  siteId;
  35                    this .filterIen  = filterI en;
  36                    this .interface Version =  interfaceV ersion;
  37           }
  38  
  39           @O verride
  40           pr otected St ring execu teRouterCo mmand() 
  41           th rows Metho dException , Connecti onExceptio
  42           {
  43                    try  {
  44                             Routin gToken rou tingToken  = RoutingT okenHelper .createSit eAppropria teRoutingT oken(getSi teId());
  45                             return  ViewerIma gingContex t.getRoute r().delete ImageFilte r(routingT oken,getFi lterIen()) ;
  46                    } ca tch (Metho dException  e) {
  47                             return  "0^" + e. getMessage ();
  48                    }
  49                    catc h(RoutingT okenFormat Exception  rtfX)
  50                    {
  51                             return  "0^" + rt fX.getMess age();
  52                    }
  53           
  54           }
  55  
  56           @O verride
  57           pr otected St ring getMe thodParame terValuesS tring()
  58           {
  59                    retu rn getFilt erIen();
  60           }
  61  
  62           @O verride
  63           pr otected Cl ass<RestSt ringType>  getResultC lass() 
  64           {
  65                    retu rn RestStr ingType.cl ass;
  66           }
  67  
  68           @O verride
  69           pr otected Re stStringTy pe transla teRouterRe sult(Strin g routerRe sult)
  70           {
  71           re turn new R estStringT ype(router Result);
  72           }
  73  
  74           pu blic Strin g getSiteI d()
  75           {
  76                    retu rn siteId;
  77           }
  78  
  79           pu blic Strin g getFilte rIen() {
  80                    retu rn filterI en;
  81           }
  82  
  83           @O verride
  84           pr otected Ma p<Webservi ceInputPar ameterTran sactionCon textField,  String> g etTransact ionContext Fields() {
  85                    retu rn null;
  86           }
  87  
  88           @O verride
  89           pu blic Strin g getInter faceVersio n() {
  90                    retu rn interfa ceVersion;
  91           }
  92  
  93           @O verride
  94           pu blic Integ er getEntr iesReturne d(RestStri ngType tra nslatedRes ult) {
  95                    retu rn 1;
  96           }
  97  
  98   }