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.
# | Location | File | Last Modified |
---|---|---|---|
1 | C:\AraxisMergeCompare\Pri_un\IMAG_Source\VISA\Java\ViewerImagingRouter\main\src\java\gov\va\med\imaging\viewer\router\commands | PostImagePropertiesCommandImpl.java | Mon Mar 18 20:39:15 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\ViewerImagingRouter\main\src\java\gov\va\med\imaging\viewer\router\commands | PostImagePropertiesCommandImpl.java | Tue Mar 19 12:04:10 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 202 |
Changed | 2 | 4 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
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 |
No regular expressions were active.
1 | /** | |
2 | * Date Cr eated: May 2, 2018 | |
3 | * Develop er: DNS tjahjb | |
4 | */ | |
5 | package go v.va.med.i maging.vie wer.router .commands; | |
6 | ||
7 | import jav a.util.Lis t; | |
8 | ||
9 | import gov .va.med.Ro utingToken ; | |
10 | import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on; | |
11 | import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception; | |
12 | import gov .va.med.im aging.view er.busines s.ImageFil terFieldVa lue; | |
13 | import gov .va.med.im aging.view er.busines s.ImagePro perty; | |
14 | import gov .va.med.im aging.view er.datasou rce.Viewer ImagingDat aSourceSpi ; | |
15 | ||
16 | /** | |
17 | * @author DNS tjahjb | |
18 | * | |
19 | */ | |
20 | public cla ss PostIma geProperti esCommandI mpl | |
21 | extends Ab stractView erImagingD ataSourceC ommandImpl <String> | |
22 | { | |
23 | pr ivate stat ic final l ong serial VersionUID = -770391 4547367762 027L; | |
24 | ||
25 | pr ivate fina l RoutingT oken globa lRoutingTo ken; | |
26 | pr ivate fina l List<Ima geProperty > imagePro perties; | |
27 | ||
28 | /* * | |
29 | * @param gl obalRoutin gToken | |
30 | * @param im ageIEN | |
31 | * @param fl ags | |
32 | * @param im agePropert ies | |
33 | * / | |
34 | pu blic PostI mageProper tiesComman dImpl( | |
35 | Routin gToken glo balRouting Token, | |
36 | List<I mageProper ty> imageP roperties) | |
37 | { | |
38 | supe r(); | |
39 | this .globalRou tingToken = globalRo utingToken ; | |
40 | this .imageProp erties = i mageProper ties; | |
41 | } | |
42 | ||
43 | /* (non-Java doc) | |
44 | * @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get RoutingTok en() | |
45 | * / | |
46 | @O verride | |
47 | pu blic Routi ngToken ge tRoutingTo ken() | |
48 | { | |
49 | retu rn globalR outingToke n; | |
50 | } | |
51 | ||
52 | /* * | |
53 | * @return t he imagePr operties | |
54 | * / | |
55 | pu blic List< ImagePrope rty> getIm agePropert ies() | |
56 | { | |
57 | retu rn imagePr operties; | |
58 | } | |
59 | ||
60 | /* * | |
61 | ||
62 | /* (non-Java doc) | |
63 | * @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SpiMethodN ame() | |
64 | * / | |
65 | @O verride | |
66 | pr otected St ring getSp iMethodNam e() | |
67 | { | |
68 | retu rn "setIma geProperti es"; | |
69 | } | |
70 | ||
71 | /* (non-Java doc) | |
72 | * @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SpiMethodP arameterTy pes() | |
73 | * / | |
74 | @O verride | |
75 | pr otected Cl ass<?>[] g etSpiMetho dParameter Types() | |
76 | { | |
77 | retu rn new Cla ss<?>[] {R outingToke n.class, L ist.class} ; | |
78 | } | |
79 | ||
80 | /* (non-Java doc) | |
81 | * @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SpiMethodP arameters( ) | |
82 | * / | |
83 | @O verride | |
84 | pr otected Ob ject[] get SpiMethodP arameters( ) | |
85 | { | |
86 | retu rn new Obj ect[] { | |
87 | getRouti ngToken(), | |
88 | this.get ImagePrope rties()}; | |
89 | } | |
90 | ||
91 | /* (non-Java doc) | |
92 | * @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get CommandRes ult(gov.va .med.imagi ng.datasou rce.Versio nableDataS ourceSpi) | |
93 | * / | |
94 | @O verride | |
95 | pr otected St ring getCo mmandResul t(ViewerIm agingDataS ourceSpi s pi) | |
96 | th rows Conne ctionExcep tion, Meth odExceptio n | |
97 | { | |
98 | retu rn spi.set ImagePrope rties( | |
99 | getRouti ngToken(), | |
100 | this.get ImagePrope rties()); | |
101 | } | |
102 | ||
103 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.