Produced by Araxis Merge on 6/5/2018 10:24:14 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 | patch_205_build_9.zip\Java\ViewerImagingRouter\main\src\java\gov\va\med\imaging\viewer\router\commands | GetTreatingFacilitiesCommandImpl.java | Wed May 30 14:35:28 2018 UTC |
2 | patch_205_build_9.zip\Java\ViewerImagingRouter\main\src\java\gov\va\med\imaging\viewer\router\commands | GetTreatingFacilitiesCommandImpl.java | Mon Jun 4 20:24:44 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 210 |
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: Feb 17, 2018 | |
3 | * Develop er: PII | |
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.Treating FacilityRe sult; | |
13 | import gov .va.med.im aging.view er.datasou rce.Viewer ImagingDat aSourceSpi ; | |
14 | ||
15 | /** | |
16 | * @author PII | |
17 | * | |
18 | */ | |
19 | public cla ss GetTrea tingFacili tiesComman dImpl | |
20 | extends Ab stractView erImagingD ataSourceC ommandImpl <List<Trea tingFacili tyResult>> | |
21 | { | |
22 | pr ivate stat ic final l ong serial VersionUID = -473391 4547363362 029L; | |
23 | ||
24 | pr ivate fina l RoutingT oken globa lRoutingTo ken; | |
25 | pr ivate Stri ng patient Icn; | |
26 | pr ivate Stri ng patient Dfn; | |
27 | ||
28 | /* * | |
29 | * @param gl obalRoutin gToken | |
30 | * @param im ageUrns | |
31 | * / | |
32 | pu blic GetTr eatingFaci litiesComm andImpl( | |
33 | Routin gToken glo balRouting Token, | |
34 | String patientIc n, | |
35 | String patientDf n) | |
36 | { | |
37 | supe r(); | |
38 | this .globalRou tingToken = globalRo utingToken ; | |
39 | this .patientIc n = patien tIcn; | |
40 | this .patientDf n = patien tDfn; | |
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 | ||
54 | /* (non-Java doc) | |
55 | * @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SpiMethodN ame() | |
56 | * / | |
57 | @O verride | |
58 | pr otected St ring getSp iMethodNam e() | |
59 | { | |
60 | retu rn "getTre atingFacil ities"; | |
61 | } | |
62 | ||
63 | /* (non-Java doc) | |
64 | * @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SpiMethodP arameterTy pes() | |
65 | * / | |
66 | @O verride | |
67 | pr otected Cl ass<?>[] g etSpiMetho dParameter Types() | |
68 | { | |
69 | retu rn new Cla ss<?>[] {R outingToke n.class, S tring.clas s, String. class}; | |
70 | } | |
71 | ||
72 | /* (non-Java doc) | |
73 | * @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SpiMethodP arameters( ) | |
74 | * / | |
75 | @O verride | |
76 | pr otected Ob ject[] get SpiMethodP arameters( ) | |
77 | { | |
78 | retu rn new Obj ect[] { | |
79 | getRouti ngToken(), | |
80 | this.get PatientIcn (), | |
81 | this.get PatientDfn () | |
82 | }; | |
83 | } | |
84 | ||
85 | /* (non-Java doc) | |
86 | * @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) | |
87 | * / | |
88 | @O verride | |
89 | pr otected Li st<Treatin gFacilityR esult> get CommandRes ult(Viewer ImagingDat aSourceSpi spi) | |
90 | th rows Conne ctionExcep tion, Meth odExceptio n | |
91 | { | |
92 | retu rn spi.get TreatingFa cilities( | |
93 | getRouti ngToken(), | |
94 | getPatie ntIcn(), | |
95 | getPatie ntDfn()); | |
96 | } | |
97 | ||
98 | pr ivate Stri ng getPati entDfn() { | |
99 | retu rn patient Dfn; | |
100 | } | |
101 | ||
102 | pr ivate Stri ng getPati entIcn() { | |
103 | retu rn patient Icn; | |
104 | } | |
105 | ||
106 | ||
107 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.