Produced by Araxis Merge on 3/25/2019 8:58:00 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\CoreValueObjects\main\src\java\gov\va\med\imaging\datasource | WorkListDataSourceSpi.java | Mon Mar 18 20:39:05 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\CoreValueObjects\main\src\java\gov\va\med\imaging\datasource | WorkListDataSourceSpi.java | Tue Mar 19 12:03:24 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 388 |
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.dat asource; | |
2 | ||
3 | import gov .va.med.Ro utingToken ; | |
4 | import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on; | |
5 | import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception; | |
6 | import gov .va.med.im aging.data source.ann otations.S PI; | |
7 | import gov .va.med.im aging.exch ange.busin ess.WorkIt em; | |
8 | import gov .va.med.im aging.exch ange.busin ess.WorkIt emFilter; | |
9 | import gov .va.med.im aging.exch ange.busin ess.WorkIt emTag; | |
10 | import gov .va.med.im aging.exch ange.busin ess.dicom. SCWorkItem QueryParam eters; | |
11 | // import gov.va.med .imaging.e xchange.bu siness.Wor kItemTags; | |
12 | import gov .va.med.im aging.exch ange.busin ess.dicom. StorageCom mitWorkIte m; | |
13 | ||
14 | import jav a.util.Lis t; | |
15 | ||
16 | /** | |
17 | * This cl ass define s the Serv ice Provid er Interfa ce (SPI) f or the Dic omImporter DataSource class. | |
18 | * All the abstract methods in this clas s must be implemente d by each | |
19 | * data so urce servi ce provide r who wish es to supp ly the imp lementatio n of a | |
20 | * DicomDa taSource f or a parti cular data source typ e. | |
21 | * | |
22 | * @since 1.0 | |
23 | * @author DNS louthj | |
24 | * | |
25 | */ | |
26 | @SPI(descr iption="Th e service provider i nterface f or DICOM s torage") | |
27 | public int erface Wor kListDataS ourceSpi | |
28 | extends Ve rsionableD ataSourceS pi | |
29 | { | |
30 | /* * | |
31 | * Creates a new work item | |
32 | * @param wo rkItem | |
33 | * @return | |
34 | * @throws M ethodExcep tion | |
35 | * @throws C onnectionE xception | |
36 | * / | |
37 | pu blic abstr act WorkIt em createW orkItem(Wo rkItem wor kItem) | |
38 | th rows Metho dException , Connecti onExceptio n; | |
39 | ||
40 | /* * | |
41 | * Gets the list of wo rk items t hat match the provid ed filter | |
42 | * @param fi lter | |
43 | * @return | |
44 | * @throws M ethodExcep tion | |
45 | * @throws C onnectionE xception | |
46 | * / | |
47 | pu blic abstr act List<W orkItem> g etWorkItem List(WorkI temFilter filter) | |
48 | th rows Metho dException , Connecti onExceptio n; | |
49 | ||
50 | /* * | |
51 | * Updates a work item | |
52 | * @param wo rkItemId | |
53 | * @param ex pectedStat us | |
54 | * @param ne wStatus | |
55 | * @param ne wMessage | |
56 | * @param up datingUser | |
57 | * @param up datingAppl ication | |
58 | * @return | |
59 | * @throws M ethodExcep tion | |
60 | * @throws C onnectionE xception | |
61 | * / | |
62 | pu blic abstr act boolea n updateWo rkItem( | |
63 | int wo rkItemId, | |
64 | String expectedS tatus, | |
65 | String newStatus , | |
66 | String newMessag e, | |
67 | String updatingU ser, | |
68 | String updatingA pplication ) | |
69 | th rows Metho dException , Connecti onExceptio n; | |
70 | ||
71 | /* * | |
72 | * Adds work item tags to an exi sting work item, as long as th e work ite m is still | |
73 | * in one of the allow ed statuse s | |
74 | * @param wo rkItemId | |
75 | * @param al lowedStatu ses | |
76 | * @param ne wTags | |
77 | * @param up datedBy | |
78 | * @return | |
79 | * @throws M ethodExcep tion | |
80 | * @throws C onnectionE xception | |
81 | * / | |
82 | pu blic abstr act boolea n postWork ItemTags( | |
83 | int wo rkItemId, | |
84 | List<S tring> all owedStatus es, | |
85 | List<W orkItemTag > newTags, | |
86 | String updatingU ser, | |
87 | String updatingA pplication ) | |
88 | th rows Metho dException , Connecti onExceptio n; | |
89 | ||
90 | /* * | |
91 | * Deletes a work item by id | |
92 | * @param id | |
93 | * @return | |
94 | * @throws M ethodExcep tion | |
95 | * @throws C onnectionE xception | |
96 | * / | |
97 | pu blic abstr act boolea n deleteWo rkItem(int id) | |
98 | th rows Metho dException , Connecti onExceptio n; | |
99 | ||
100 | /* * | |
101 | * Gets a wo rk item by ID and tr ansitions it to the new status , but only if it | |
102 | * is still in the exp ected stat us. Otherw ise, throw s an excep tion. | |
103 | * @param id | |
104 | * @param ex pectedStat us | |
105 | * @param ne wStatus | |
106 | * @param up datingUser | |
107 | * @param up datingAppl ication | |
108 | * @return | |
109 | * @throws M ethodExcep tion | |
110 | * @throws C onnectionE xception | |
111 | * / | |
112 | pu blic abstr act WorkIt em getAndT ransitionW orkItem( | |
113 | int id , | |
114 | String expectedS tatus, | |
115 | String newStatus , | |
116 | String updatingU ser, | |
117 | String updatingA pplication ) | |
118 | th rows Metho dException , Connecti onExceptio n; | |
119 | ||
120 | /* * | |
121 | * Gets the oldest wor k item of a given ty pe in the specified status (if any exist ), and | |
122 | * updates i t to the n ew status. | |
123 | * @param ty pe | |
124 | * @param ex pectedStat us | |
125 | * @param ne wStatus | |
126 | * @param up datingUser | |
127 | * @param up datingAppl ication | |
128 | * @return | |
129 | * @throws M ethodExcep tion | |
130 | * @throws C onnectionE xception | |
131 | * / | |
132 | pu blic abstr act WorkIt em getAndT ransitionN extWorkIte m( | |
133 | String type, | |
134 | String expectedS tatus, | |
135 | String newStatus , | |
136 | String updatingU ser, | |
137 | String updatingA pplication , | |
138 | String placeId) | |
139 | th rows Metho dException , Connecti onExceptio n; | |
140 | ||
141 | /* * | |
142 | * Creates a new stora ge commit work item | |
143 | * @param St orageCommi tWorkItem input SC W I structur e | |
144 | * @return S torageComm itWorkItem stored SC WI struct ure | |
145 | * @throws M ethodExcep tion | |
146 | * @throws C onnectionE xception | |
147 | * / | |
148 | pu blic abstr act Storag eCommitWor kItem crea teSCWorkIt em(Storage CommitWork Item scWI) | |
149 | th rows Metho dException , Connecti onExceptio n; | |
150 | ||
151 | /* * | |
152 | * Lists exi sting stor age commit work item s for give n host nam e. If host name is e mpty, | |
153 | * returns a ll SC Work Items. | |
154 | * @param SC WorkItemQu eryParamet ers | |
155 | * @return L ist<Storag eCommitWor kItem> | |
156 | * @throws M ethodExcep tion | |
157 | * @throws C onnectionE xception | |
158 | * / | |
159 | pu blic abstr act List<S torageComm itWorkItem > listSCWo rkItems(SC WorkItemQu eryParamet ers parame ters) | |
160 | th rows Metho dException , Connecti onExceptio n; | |
161 | ||
162 | /* * | |
163 | * gets an e xisting st orage comm it work it em. Option ally proce sses it be fore retur n | |
164 | * @param sc WIID the W ork Item I D of the S C WI | |
165 | * #param do Process fl ag to requ est proces sing of WI before re turn | |
166 | * @return S torageComm itWorkItem | |
167 | * @throws M ethodExcep tion | |
168 | * @throws C onnectionE xception | |
169 | * / | |
170 | pu blic abstr act Storag eCommitWor kItem getS CWorkItem( String scW IID, boole an doProce ss) | |
171 | th rows Metho dException , Connecti onExceptio n; | |
172 | ||
173 | /* * | |
174 | * update an existing storage co mmit work item's sta tus. | |
175 | * @param sc WIID the W ork Item I D of the S C WI | |
176 | * #param st atus the e xisting SC WI status to be upd ated with | |
177 | * @return b oolean | |
178 | * @throws M ethodExcep tion | |
179 | * @throws C onnectionE xception | |
180 | * / | |
181 | pu blic abstr act boolea n updateSC WorkItemSt atus(Strin g scWIID, String sta tus) | |
182 | th rows Metho dException , Connecti onExceptio n; | |
183 | ||
184 | /* * | |
185 | * gets an e xisting st orage comm it work it em. Option ally proce sses it be fore retur n | |
186 | * @param sc WIID the W ork Item I D of the S C WI | |
187 | * #param do Process fl ag to requ est proces sing of WI before re turn | |
188 | * @return b oolean | |
189 | * @throws M ethodExcep tion | |
190 | * @throws C onnectionE xception | |
191 | * / | |
192 | pu blic abstr act boolea n deleteSC WorkItem(S tring scWI ID) | |
193 | th rows Metho dException , Connecti onExceptio n; | |
194 | ||
195 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.