Produced by Araxis Merge on 3/25/2019 8:58:03 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\ImagingRouter\main\src\java\gov\va\med\imaging\router\commands\worklist | DeleteRemoteWorkItemCommandImpl.java | Mon Mar 18 20:39:14 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\ImagingRouter\main\src\java\gov\va\med\imaging\router\commands\worklist | DeleteRemoteWorkItemCommandImpl.java | Tue Mar 19 12:03:52 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 138 |
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 | /** | |
2 | * | |
3 | */ | |
4 | package go v.va.med.i maging.rou ter.comman ds.worklis t; | |
5 | import gov .va.med.Ro utingToken ; | |
6 | import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on; | |
7 | import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception; | |
8 | import gov .va.med.im aging.core .router.Ab stractComm andImpl; | |
9 | import gov .va.med.im aging.core .router.wo rklist.Int ernalWorkL istRouter; | |
10 | import gov .va.med.im aging.core .router.wo rklist.Wor kListConte xt; | |
11 | import gov .va.med.im aging.rout er.facade. ImagingCon text; | |
12 | ||
13 | /** | |
14 | * @author DNS tjahjb | |
15 | * | |
16 | * Delete Work item Record fro m Data Sou rce. | |
17 | * | |
18 | */ | |
19 | public cla ss DeleteR emoteWorkI temCommand Impl | |
20 | extends Ab stractComm andImpl<Bo olean> | |
21 | { | |
22 | ||
23 | pr ivate stat ic final l ong serial VersionUID = 1464588 8959201891 81L; | |
24 | pr ivate fina l RoutingT oken routi ngToken; | |
25 | pr ivate fina l String i d; | |
26 | ||
27 | pu blic Delet eRemoteWor kItemComma ndImpl( | |
28 | Routin gToken rou tingToken, | |
29 | String id) | |
30 | { | |
31 | supe r(); | |
32 | this .routingTo ken = rout ingToken; | |
33 | this .id = id; | |
34 | } | |
35 | ||
36 | pr ivate Stri ng getWork ItemId() | |
37 | { | |
38 | retu rn id; | |
39 | } | |
40 | ||
41 | pr ivate Rout ingToken g etWKRoutin gToken() | |
42 | { | |
43 | retu rn routing Token; | |
44 | } | |
45 | ||
46 | ||
47 | @O verride | |
48 | pu blic Boole an callSyn chronously InTransact ionContext () | |
49 | th rows Metho dException , Connecti onExceptio n | |
50 | { | |
51 | getL ogger().in fo("Synchr onous Comm and [" + t his.getCla ss().getSi mpleName() + "] - pr ocessing." ); | |
52 | ||
53 | retu rn Imaging Context.ge tRouter(). deleteRemo teWorkItem FromDataSo urce( | |
54 | getWKRou tingToken( ), getWork ItemId()); | |
55 | } | |
56 | ||
57 | @O verride | |
58 | pu blic boole an equals( Object obj ) | |
59 | { | |
60 | retu rn false; | |
61 | } | |
62 | ||
63 | @O verride | |
64 | pr otected St ring param eterToStri ng() | |
65 | { | |
66 | retu rn this.id ; | |
67 | } | |
68 | ||
69 | ||
70 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.