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\ViewerImagingWebApp\main\src\java\gov\va\med\imaging\viewer\commands | GetImageFilterDetailCommand.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 | GetImageFilterDetailCommand.java | Tue Mar 19 12:04:12 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 250 |
Changed | 1 | 2 |
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 | 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.tran sactioncon text.Trans actionCont ext; | |
9 | import gov .va.med.im aging.tran sactioncon text.Trans actionCont extFactory ; | |
10 | import gov .va.med.im aging.view er.ViewerI magingCont ext; | |
11 | import gov .va.med.im aging.view er.busines s.ImageFil terFieldVa lue; | |
12 | import gov .va.med.im aging.view er.rest.tr anslator.V iewerImagi ngRestTran slator; | |
13 | import gov .va.med.im aging.view er.rest.ty pes.ImageF ilterDetai lResultTyp e; | |
14 | import gov .va.med.im aging.view er.rest.ty pes.UserIn foType; | |
15 | import gov .va.med.im aging.web. commands.W ebserviceI nputParame terTransac tionContex tField; | |
16 | ||
17 | import jav a.util.Arr ayList; | |
18 | import jav a.util.Lis t; | |
19 | import jav a.util.Map ; | |
20 | ||
21 | import org .apache.lo gging.log4 j.LogManag er; | |
22 | import org .apache.lo gging.log4 j.Logger; | |
23 | ||
24 | /** | |
25 | * @author DNS tjahjb | |
26 | * | |
27 | */ | |
28 | public cla ss GetImag eFilterDet ailCommand | |
29 | extends Ab stractView erImagingC ommands<Li st<ImageFi lterFieldV alue>, Ima geFilterDe tailResult Type> | |
30 | { | |
31 | pr ivate Logg er logger = LogManag er.getLogg er(this.ge tClass()); | |
32 | ||
33 | pr ivate fina l String i nterfaceVe rsion; | |
34 | pr ivate fina l String s iteId; | |
35 | pr ivate fina l String f ilterIen; | |
36 | pr ivate fina l String f ilterName; | |
37 | pr ivate fina l String u serId; | |
38 | ||
39 | pu blic GetIm ageFilterD etailComma nd( | |
40 | String siteId, | |
41 | String filterIen , | |
42 | String filterNam e, | |
43 | String userId, | |
44 | String interface Version) | |
45 | { | |
46 | supe r("GetImag eFilterDet ailCommand "); | |
47 | this .siteId = siteId; | |
48 | this .filterIen = filterI en; | |
49 | this .filterNam e = filter Name; | |
50 | this .userId = userId; | |
51 | this .interface Version = interfaceV ersion; | |
52 | } | |
53 | ||
54 | @O verride | |
55 | pr otected Li st<ImageFi lterFieldV alue> exec uteRouterC ommand() | |
56 | th rows Metho dException , Connecti onExceptio n | |
57 | { | |
58 | try | |
59 | { | |
60 | Routin gToken rou tingToken = RoutingT okenHelper .createSit eAppropria teRoutingT oken(getSi teId()); | |
61 | ||
62 | return ViewerIma gingContex t.getRoute r().getIma geFilterDe tail( | |
63 | routingTok en, | |
64 | getFilterI en(), | |
65 | getFilterN ame(), | |
66 | getUserId( )); | |
67 | } | |
68 | catc h(RoutingT okenFormat Exception rtfX) | |
69 | { | |
70 | throw new Method Exception( rtfX); | |
71 | } | |
72 | } | |
73 | ||
74 | pr ivate Stri ng getFilt erIen() { | |
75 | retu rn filterI en; | |
76 | } | |
77 | ||
78 | pr ivate Stri ng getFilt erName() { | |
79 | retu rn filterN ame; | |
80 | } | |
81 | ||
82 | @O verride | |
83 | pr otected St ring getMe thodParame terValuesS tring() | |
84 | { | |
85 | retu rn siteId + "," + us erId; | |
86 | } | |
87 | ||
88 | @O verride | |
89 | pr otected Cl ass<ImageF ilterDetai lResultTyp e> getResu ltClass() | |
90 | { | |
91 | retu rn ImageFi lterDetail ResultType .class; | |
92 | } | |
93 | ||
94 | @O verride | |
95 | pr otected Im ageFilterD etailResul tType tran slateRoute rResult(Li st<ImageFi lterFieldV alue> rout erResult) | |
96 | { | |
97 | logg er.debug(" ImageFilte rDetails t o translat e: " + rou terResult) ; | |
98 | re turn Viewe rImagingRe stTranslat or.transla teImageFil terFieldVa lues(route rResult); | |
99 | } | |
100 | ||
101 | pu blic Strin g getSiteI d() | |
102 | { | |
103 | retu rn siteId; | |
104 | } | |
105 | ||
106 | pu blic Strin g getUserI d() | |
107 | { | |
108 | retu rn userId; | |
109 | } | |
110 | ||
111 | @O verride | |
112 | pr otected Ma p<Webservi ceInputPar ameterTran sactionCon textField, String> g etTransact ionContext Fields() { | |
113 | retu rn null; | |
114 | } | |
115 | ||
116 | @O verride | |
117 | pu blic Strin g getInter faceVersio n() { | |
118 | retu rn interfa ceVersion; | |
119 | } | |
120 | ||
121 | @O verride | |
122 | pu blic Integ er getEntr iesReturne d(ImageFil terDetailR esultType translated Result) { | |
123 | retu rn 1; | |
124 | } | |
125 | ||
126 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.