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

82.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 GetImagePropertiesCommand.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 GetImagePropertiesCommand.java Tue Mar 19 12:04:12 2019 UTC

82.2 Comparison summary

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

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

82.4 Active regular expressions

No regular expressions were active.

82.5 Comparison detail

  1   package go v.va.med.i maging.vie wer.comman ds;
  2  
  3  
  4   import gov .va.med.Ro utingToken ;
  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.exch ange.busin ess.ImageA ccessReaso n;
  9   import gov .va.med.im aging.exch ange.enums .ImageAcce ssReasonTy pe;
  10   import gov .va.med.im aging.exch ange.trans lation.exc eptions.Tr anslationE xception;
  11   import gov .va.med.im aging.view er.busines s.DeleteRe asonsType;
  12   import gov .va.med.im aging.view er.busines s.ImagePro perty;
  13   import gov .va.med.im aging.view er.rest.tr anslator.V iewerImagi ngRestTran slator;
  14   import gov .va.med.im aging.view er.rest.ty pes.ImageP ropertiesT ype;
  15   import gov .va.med.im aging.view er.rest.ty pes.ImageP ropertyTyp e;
  16   import gov .va.med.im aging.web. commands.W ebserviceI nputParame terTransac tionContex tField;
  17  
  18   import jav a.util.Arr ayList;
  19   import jav a.util.Has hMap;
  20   import jav a.util.Lis t;
  21   import jav a.util.Map ;
  22  
  23   /**
  24    * @author   DNS     tjahjb
  25    *
  26    */
  27   public cla ss GetImag ePropertie sCommand
  28   extends Ab stractView erImagingC ommands<Li st<ImagePr operty>, I mageProper tiesType>
  29   {
  30           pr ivate fina l String i mageIEN;
  31           pr ivate fina l String p rops;
  32           pr ivate fina l String f lags;
  33           pr ivate fina l String i nterfaceVe rsion;
  34  
  35           pu blic GetIm agePropert iesCommand (
  36                             String  imageIEN,  
  37                             String  props, 
  38                             String  flags,
  39                             String  interface Version)
  40           {
  41                    supe r("getImag ePropertie sCommand") ;
  42                    this .imageIEN  = imageIEN ;
  43                    this .props = p rops;
  44                    this .flags = f lags;
  45                    this .interface Version =  interfaceV ersion;
  46           }
  47  
  48           @O verride
  49           pr otected Li st<ImagePr operty> ex ecuteRoute rCommand()  
  50           th rows Metho dException , Connecti onExceptio n
  51           {
  52                    try
  53                    {
  54                             Routin gToken rou tingToken  = createLo calRouting Token();
  55                             return  getRouter ().getImag ePropertie s(routingT oken, getI mageIEN(),  getProps( ), getFlag s());
  56                    }
  57                    catc h(Exceptio n e)
  58                    {
  59                             // log ging and t ransaction  context s etting han dled by ca lling meth od
  60                             throw  new Method Exception( e);
  61                    }
  62           }
  63  
  64           
  65           @O verride
  66           pu blic Strin g getInter faceVersio n()
  67           {
  68                    retu rn this.in terfaceVer sion;
  69           }
  70  
  71           /*  (non-Java doc)
  72            *  @see gov. va.med.ima ging.web.c ommands.Ab stractWebs erviceComm and#getEnt riesReturn ed(java.la ng.Object)
  73            * /
  74           @O verride
  75           pu blic Integ er getEntr iesReturne d(ImagePro pertiesTyp e translat edResult)
  76           {
  77                    retu rn transla tedResult. getImagePr operties() .length; 
  78           }
  79  
  80           
  81           /*  (non-Java doc)
  82            *  @see gov. va.med.ima ging.web.c ommands.Ab stractWebs erviceComm and#getMet hodParamet erValuesSt ring()
  83            * /
  84           @O verride
  85           pr otected St ring getMe thodParame terValuesS tring()
  86           {
  87                    retu rn "from i mageIen ["  + this.ge tImageIEN( ) + "], fl ags [" + t his.getFla gs() + "],  props ["  + this.get Props() +  "]";
  88           }
  89  
  90           
  91           /*  (non-Java doc)
  92            *  @see gov. va.med.ima ging.web.c ommands.Ab stractWebs erviceComm and#getRes ultClass()
  93            * /
  94           @O verride
  95           pr otected Cl ass<ImageP ropertiesT ype> getRe sultClass( )
  96           {
  97                    retu rn ImagePr opertiesTy pe.class;
  98           }
  99  
  100  
  101           @O verride
  102           pr otected Ma p<Webservi ceInputPar ameterTran sactionCon textField,  String> g etTransact ionContext Fields()
  103           {
  104                    Map< Webservice InputParam eterTransa ctionConte xtField, S tring> tra nsactionCo ntextField s = 
  105                             new Ha shMap<Webs erviceInpu tParameter Transactio nContextFi eld, Strin g>();
  106                    
  107                    tran sactionCon textFields .put(Webse rviceInput ParameterT ransaction ContextFie ld.quality , transact ionContext NaValue);
  108                    tran sactionCon textFields .put(Webse rviceInput ParameterT ransaction ContextFie ld.queryFi lter, tran sactionCon textNaValu e);
  109  
  110                    retu rn transac tionContex tFields;
  111           }
  112           
  113           /*  (non-Java doc)
  114            *  @see gov. va.med.ima ging.web.c ommands.Ab stractWebs erviceComm and#transl ateRouterR esult(java .lang.Obje ct)
  115            * /
  116           @O verride
  117           pr otected Im agePropert iesType tr anslateRou terResult( List<Image Property>  routerResu lt)
  118           th rows Trans lationExce ption, Met hodExcepti on
  119           {
  120                    retu rn ViewerI magingRest Translator .translate ImagePrope rties(rout erResult);
  121           }
  122  
  123           pu blic Strin g getImage IEN() {
  124                    retu rn imageIE N;
  125           }
  126  
  127           pu blic Strin g getProps () {
  128                    retu rn props;
  129           }
  130  
  131           pu blic Strin g getFlags () {
  132                    retu rn flags;
  133           }
  134  
  135  
  136  
  137   }
  138  
  139