Produced by Araxis Merge on 6/5/2018 10:24:13 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\TransactionContext\main\src\java\gov\va\med\imaging\transactioncontext | TransactionContext.java | Wed May 30 14:35:23 2018 UTC |
2 | patch_205_build_9.zip\Java\TransactionContext\main\src\java\gov\va\med\imaging\transactioncontext | TransactionContext.java | Mon Jun 4 20:22:09 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 1286 |
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.tra nsactionco ntext; | |
5 | ||
6 | import gov .va.med.Ro utingToken ; | |
7 | import jav a.security .Principal ; | |
8 | ||
9 | ||
10 | /** | |
11 | * This in terface de fines the security a nd transac tion conte xt propert ies availa ble | |
12 | * to the ViX applic ation code . | |
13 | * New Str ing proper ties may b e added by simply ad ding the a ccessor me thods in t his | |
14 | * interfa ce, the dy namic prox y will tak e care of the rest. New prope rties of o ther | |
15 | * types a re very pr oblematic. | |
16 | * | |
17 | * @author PI I
|
|
18 | * | |
19 | */ | |
20 | public int erface Tra nsactionCo ntext | |
21 | extends Pr incipal | |
22 | { | |
23 | // The retur n value of the get a ccessor me thod of th e properti es listed here will be include d | |
24 | // when the getContext DebugState () method is called, in order. | |
25 | pu blic final static St ring[] deb ugProperti es = | |
26 | { | |
27 | "rea lm", "tran sactionId" , "siteNum ber", "com mandClassN ame", "ser vicedSourc e" | |
28 | }; | |
29 | ||
30 | /* * | |
31 | * propertie s that are defined t o be addit ional debu g informat ion and in cluded whe n requesti ng additio nal inform ation | |
32 | * / | |
33 | pu blic final static St ring [] ad ditionalDe bugInforma tionProper ties = | |
34 | { | |
35 | "vis taSessionI ndex" | |
36 | }; | |
37 | ||
38 | /* * | |
39 | * delimiter used to s eparate en tries in d ebug infor mation whe n adding d ebug infor mation ent ries | |
40 | * / | |
41 | pu blic final static St ring debug Informatio nDelimiter = "\n"; | |
42 | ||
43 | /* * | |
44 | * The realm , access c ode (user ID), crede ntials typ e and | |
45 | * the authe nticatedBy Delegate f lags are r ead-only. Its quest ionalble w hether | |
46 | * the appli cation nee ds access to any of these but they are h ere for no w. | |
47 | * The acces s and veri fy codes a re always set by the authentic ating real m. | |
48 | * The realm identifie s the name of the re alm that t he user wa s authenti cated thro ugh. | |
49 | * The appli cation sho uld make n o assupmti ons or dec isions on the values returned | |
50 | * from this method, t he value i s usefule strictly f or logging . | |
51 | * @return | |
52 | * / | |
53 | pu blic Strin g getRealm (); | |
54 | ||
55 | /* * | |
56 | * The acces s code is equivalent to the us er id. | |
57 | * NOTE: cal ling setAc cessCode o n a Transa ctionConte xt where i sClientPri ncipal() r eturns fal se | |
58 | * will be i gnored. | |
59 | * | |
60 | * @return | |
61 | * / | |
62 | pu blic void setAccessC ode(String accessCod e); | |
63 | pu blic Strin g getAcces sCode(); | |
64 | ||
65 | /* * | |
66 | * The verif y code is the passwo rd. | |
67 | * NOTE: thi s value ma y be blank or null i f the cred entials ty pe is | |
68 | * not PASSW ORD. | |
69 | * NOTE: cal ling setVe rifyCode o n a Transa ctionConte xt where i sClientPri ncipal() r eturns fal se | |
70 | * will be i gnored. | |
71 | * | |
72 | * @return | |
73 | * / | |
74 | pu blic void setVerifyC ode(String verifyCod e); | |
75 | pu blic Strin g getVerif yCode(); | |
76 | ||
77 | /* * | |
78 | * If the us er authent ication wa s done by a delegate d realm (i .e. NOT by VistA) | |
79 | * thene thi s flag wil l be "true ", else "f alse". | |
80 | * @return | |
81 | * / | |
82 | pu blic Boole an isAuthe nticatedBy Delegate() ; | |
83 | ||
84 | /* * | |
85 | * If the us er is auth enticated by VistA, then this will be tr ue. | |
86 | * Any other authentic ation meth od (delega te, certif icate, etc ) this wil l be false | |
87 | * @return | |
88 | * / | |
89 | pu blic Boole an isAuthe nticatedBy Vista(); | |
90 | ||
91 | /* * | |
92 | * If the ba cking prin cipal is a ClientPri ncipal the n return t rue. | |
93 | * The appli cation may choose to prohibit some opera tions when this is t rue. | |
94 | * @return | |
95 | * / | |
96 | pu blic Boole an isClien tPrincipal (); | |
97 | ||
98 | /* * | |
99 | * Identifie s the type of creden tials prov ided by th e user dur ing authen tication. | |
100 | * @return | |
101 | * / | |
102 | pu blic Strin g getCrede ntialsType (); | |
103 | ||
104 | /* * | |
105 | * The site name may b e set by t he authent icating re alm or by applicatio n | |
106 | * code. | |
107 | * The getLo ggerXXX ve rsion retu rns the ap plication set value if availab le | |
108 | * else it r eturns the VistA set value. | |
109 | * @return | |
110 | * / | |
111 | pu blic Strin g getSiteN ame(); | |
112 | pu blic Strin g getLogge rSiteName( ); | |
113 | pu blic void setSiteNam e(String s iteName); | |
114 | ||
115 | /* * | |
116 | * The site number may be set by the authe nticating realm or b y applicat ion | |
117 | * code. | |
118 | * The getLo ggerXXX ve rsion retu rns the ap plication set value if availab le | |
119 | * else it r eturns the VistA set value. | |
120 | * @return | |
121 | * / | |
122 | pu blic Strin g getSiteN umber(); | |
123 | pu blic Strin g getLogge rSiteNumbe r(); | |
124 | pu blic void setSiteNum ber(String siteNumbe r); | |
125 | ||
126 | /* * | |
127 | * The SSN m ay be set by the aut henticatin g realm or by applic ation | |
128 | * code. | |
129 | * The getLo ggerXXX ve rsion retu rns the ap plication set value if availab le | |
130 | * else it r eturns the VistA set value. | |
131 | * @return | |
132 | * / | |
133 | pu blic Strin g getSsn() ; | |
134 | pu blic Strin g getLogge rSsn(); | |
135 | pu blic void setSsn(Str ing ssn); | |
136 | ||
137 | /* * | |
138 | * The DUZ m ay be set by the aut henticatin g realm or by applic ation | |
139 | * code. | |
140 | * The getLo ggerXXX ve rsion retu rns the ap plication set value if availab le | |
141 | * else it r eturns the VistA set value. | |
142 | * @return | |
143 | * / | |
144 | pu blic Strin g getDuz() ; | |
145 | pu blic Strin g getLogge rDuz(); | |
146 | pu blic void setDuz(Str ing duz); | |
147 | ||
148 | /* * | |
149 | * The site name may b e set by t he authent icating re alm or by applicatio n | |
150 | * code. | |
151 | * The getLo ggerXXX ve rsion retu rns the ap plication set value if availab le | |
152 | * else it r eturns the VistA set value. | |
153 | * @return | |
154 | * / | |
155 | pu blic Strin g getFullN ame(); | |
156 | pu blic Strin g getLogge rFullName( ); | |
157 | pu blic void setFullNam e(String f ullName); | |
158 | ||
159 | pu blic Strin g getTrans actionId() ; | |
160 | pu blic void setTransac tionId(Str ing transa ctionID); | |
161 | ||
162 | pu blic Strin g getPurpo seOfUse(); | |
163 | pu blic void setPurpose OfUse(Stri ng purpose OfUse); | |
164 | ||
165 | /* * | |
166 | * Return a String tha t includes the user and transa ction iden tity. | |
167 | * This is i ntended fo r display/ logging an d should n ot be used as any ki nd of | |
168 | * identifie r. | |
169 | * | |
170 | * @return | |
171 | * / | |
172 | pu blic Strin g getDispl ayIdentity (); | |
173 | ||
174 | /* * | |
175 | * Clear the transacti on context , includin g security context. | |
176 | * Additiona l calls to this Tran sactionCon text reali zation or any other | |
177 | * Transacti onContext realizatio n on this thread wil l fail. | |
178 | * / | |
179 | pu blic void clear(); | |
180 | ||
181 | /* * | |
182 | * Return an opaque ob ject encap sulating t he transac tion conte xt state. | |
183 | * | |
184 | * @return | |
185 | * / | |
186 | pu blic Trans actionCont extMemento getMement o(); | |
187 | pu blic void setMemento (Transacti onContextM emento mem ento); | |
188 | ||
189 | /* * | |
190 | * Returns t he hash co de of the underlying storage i nstance, t he VistaRe almPrincip al | |
191 | * | |
192 | * @return | |
193 | * / | |
194 | pu blic Integ er getIden tity(); | |
195 | ||
196 | // A method that retur ns a Strin g that sho ws the tra nsaction c ontext sta te | |
197 | // in a form useful fo r debuggin g. This m ethod MUST never thr ow an Exce ption | |
198 | // and SHOUL D never th row a Thro wable (i.e . no NPEs! ) regardle ss of stat e. | |
199 | pu blic Strin g getConte xtDebugSta te(); | |
200 | ||
201 | /* transacti on log spe cific prop erties */ | |
202 | ||
203 | // the time that a tra nsaction s tarted on the Vix (m illisecond s since 01 Jan1970) | |
204 | pu blic Long getStartTi me(); | |
205 | pu blic void setStartTi me(Long st artTime); | |
206 | ||
207 | // the durat ion of the transacti on on the Vix (in mi lliseconds ) | |
208 | pu blic Long getDuratio n(); | |
209 | pu blic void setDuratio n(Long sta rtTime); | |
210 | ||
211 | pu blic Strin g getPatie ntID(); | |
212 | pu blic void setPatient ID(String patientID) ; | |
213 | ||
214 | pu blic Strin g getReque stType(); | |
215 | pu blic void setRequest Type(Strin g requestT ype); | |
216 | ||
217 | /* * | |
218 | * Asynchron ous comman ds may gen erate tran saction lo g entries. | |
219 | * The trans action ID must be th e same as the parent (client c alls) | |
220 | * transacti on ID. Th e individu al step of the comma nd process ing | |
221 | * that gene rates a tr ansaction log entry MUST set a childRequ estType. | |
222 | * @return | |
223 | * / | |
224 | pu blic Strin g getChild RequestTyp e(); | |
225 | pu blic void setChildRe questType( String chi ldRequestT ype); | |
226 | ||
227 | pu blic Strin g getComma ndId(); | |
228 | pu blic void setCommand Id(String commandId) ; | |
229 | ||
230 | pu blic Strin g getParen tCommandId (); | |
231 | pu blic void setParentC ommandId(S tring pare ntCommandI d); | |
232 | ||
233 | pu blic Strin g getQuery Filter(); | |
234 | pu blic void setQueryFi lter(Strin g queryFil ter); | |
235 | ||
236 | // the numbe r of disti nct image entities r eturned (u sually 1 o r the numb er of stud ies in a g raph) | |
237 | /* * | |
238 | * The numbe r of entri es returne d by the f acade | |
239 | * / | |
240 | pu blic Integ er getEntr iesReturne d(); | |
241 | pu blic void setEntries Returned(I nteger ent riesReturn ed); | |
242 | ||
243 | /* * | |
244 | * The numbe r of entri es returne d by the d ata source | |
245 | * @return | |
246 | * / | |
247 | pu blic Integ er getData SourceEntr iesReturne d(); | |
248 | pu blic void setDataSou rceEntries Returned(I nteger ent riesReturn ed); | |
249 | ||
250 | pu blic Strin g getUrn() ; | |
251 | pu blic void setUrn(Str ing urn); | |
252 | ||
253 | pu blic Strin g getQuali ty(); | |
254 | pu blic void setQuality (String qu ality); | |
255 | ||
256 | pu blic Strin g getOrigi natingAddr ess(); | |
257 | pu blic void setOrigina tingAddres s(String o riginating Address); | |
258 | ||
259 | pu blic Boole an isItemC ached(); | |
260 | pu blic void setItemCac hed(Boolea n returned itemCached ); | |
261 | ||
262 | pu blic Strin g getError Message(); | |
263 | pu blic void setErrorMe ssage(Stri ng errorMe ssage); | |
264 | ||
265 | /* * | |
266 | * Returns t he source that reque sted the d ata (VA or DOD) | |
267 | * @deprecat ed This fi eld is no longer use d in the t ransaction log | |
268 | * @return | |
269 | * | |
270 | * / | |
271 | @D eprecated | |
272 | pu blic Strin g getReque stingSourc e(); | |
273 | @D eprecated | |
274 | pu blic void setRequest ingSource( String req uestingSou rce); | |
275 | ||
276 | /* * | |
277 | * Returns t he site nu mber sourc e of the d ata (200, 660, etc). | |
278 | * @return | |
279 | * / | |
280 | pu blic Strin g getServi cedSource( ); | |
281 | pu blic void setService dSource(St ring servi cedSource) ; | |
282 | ||
283 | // return a hash of th e principa l realm, i dentifier and creden tials | |
284 | pu blic Strin g getSecur ityHashCod e(); | |
285 | ||
286 | /* * | |
287 | * Returns t he protoco l of the d ata source that serv iced the r equest | |
288 | * @return T he protoco l of the u rl that wa s used to handle the request | |
289 | * / | |
290 | pu blic Strin g getDatas ourceProto col(); | |
291 | pu blic void setDatasou rceProtoco l(String p rotocol); | |
292 | ||
293 | // the total number of facade by tes sent | |
294 | pu blic Long getFacadeB ytesSent() ; | |
295 | pu blic void setFacadeB ytesSent(L ong facade BytesSent) ; | |
296 | ||
297 | // the total number of facade by tes receiv ed | |
298 | pu blic Long getFacadeB ytesReceiv ed(); | |
299 | pu blic void setFacadeB ytesReceiv ed(Long fa cadeBytesR eceived); | |
300 | ||
301 | // the total number of datasourc e bytes se nt | |
302 | pu blic Long getDataSou rceBytesSe nt(); | |
303 | pu blic void setDataSou rceBytesSe nt(Long da taSourceBy tesSent); | |
304 | ||
305 | // the total number of datasourc e bytes re ceived | |
306 | pu blic Long getDataSou rceBytesRe ceived(); | |
307 | pu blic void setDataSou rceBytesRe ceived(Lon g dataSour ceBytesRec eived); | |
308 | ||
309 | /* * | |
310 | * Returns t he modalit y for the image acce ssed in th e transact ion | |
311 | * @return T he image m odality | |
312 | * / | |
313 | pu blic Strin g getModal ity(); | |
314 | pu blic void setModalit y(String m odality); | |
315 | ||
316 | /* * | |
317 | * The Proto colOverrid e property , if not n ull, will override t he | |
318 | * preferred protocols , if the s ite resolu tion data source sup ports | |
319 | * it. This is useful in testin g to force a Vix to call anoth er Vix | |
320 | * over a sp ecific pro tocol. | |
321 | * It is req uired that the proto col overri de NOT be passed | |
322 | * to remote Vix as th at would: | |
323 | * 1.) poten tially ope n a securi ty hole, o r at the l east break because | |
324 | * the secur ity contex t would no t be appli cable | |
325 | * 2.) confu se the bej eebers out of anyone testing ' cause it w ould be | |
326 | * hard to k now who is actually serving th e request | |
327 | * | |
328 | * It is als o highly r ecommended that this property not be ext ernally ac cessible, | |
329 | * that is a VIX facad e does not allow it to be set, by normal users. | |
330 | * | |
331 | * NOTE: its entirely possible t o configur e an infin ite loop o f Vix1 | |
332 | * talking t o Vix2 tal king to th e Vix1, ta lking to V ix2, .... | |
333 | * | |
334 | * This valu e must be a comma-se parated li st of vali d protocol s. | |
335 | * | |
336 | * @return | |
337 | * / | |
338 | pu blic Strin g getOverr ideProtoco l(); | |
339 | pu blic void setOverrid eProtocol( String pre ferredProt ocols); | |
340 | ||
341 | /* * | |
342 | * The Overr ideRouting Token prop erty, if n ot null, f orces the VIX to act as a clie nt | |
343 | * and proxy the reque st to the targeted s ite. This is used f or testing and not | |
344 | * for produ ction and the warnin gs for pro tocol over ride apply to this p roperty | |
345 | * as well. | |
346 | * @return | |
347 | * / | |
348 | pu blic Routi ngToken ge tOverrideR outingToke n(); | |
349 | pu blic void setOverrid eRoutingTo ken(Routin gToken rou tingToken) ; | |
350 | ||
351 | ||
352 | /* * | |
353 | * The Respo nseCode pr operty is the code t hat was se nt back to the reque sting clie nt | |
354 | * from the facade. Fo r an HTTP request th is code mi ght be 404 (not foun d), 200 (o k), | |
355 | * 409 (inva lid creden tials), 50 0 (interna l server e rror), etc . This res ponse code is | |
356 | * NOT HTTP specific a nd because this valu e might no t always b e an integ er this is held | |
357 | * as a stri ng. | |
358 | * @return | |
359 | * / | |
360 | pu blic Strin g getRespo nseCode(); | |
361 | pu blic void setRespons eCode(Stri ng respons eCode); | |
362 | ||
363 | /* * | |
364 | * The Excep tionClassN ame is the name of t he class ( not includ ing packag e) that ca used the | |
365 | * error. Th is is used to easily determine the root cause of t he problem . If the t ransaction | |
366 | * did not h ave an err or or any problem, t his value will be nu ll. | |
367 | * @return | |
368 | * / | |
369 | pu blic Strin g getExcep tionClassN ame(); | |
370 | pu blic void setExcepti onClassNam e(String c lassName); | |
371 | ||
372 | /* * | |
373 | * Get the c ommand cla ss name ex ecuted. | |
374 | * @return t he command class nam e executed . | |
375 | * / | |
376 | pu blic Strin g getComma ndClassNam e (); | |
377 | ||
378 | /* * | |
379 | * Set the c ommand cla ss name ex ecuted. | |
380 | * @param co mmandClass Name The c ommand cla ss name ex ecuted. | |
381 | * / | |
382 | pu blic void setCommand ClassName (String co mmandClass Name); | |
383 | ||
384 | /* * | |
385 | * Get the m achine nam e of this computer. | |
386 | * @return t he machine name - lo calhost ho stname or ip address of this c omputer, o r null if not determ inable. | |
387 | * / | |
388 | pu blic Strin g getMachi neName (); | |
389 | ||
390 | /* * | |
391 | * Set the m achine nam e of this computer. | |
392 | * @param ma chineName - localhos t hostname or ip add ress of th is compute r. | |
393 | * / | |
394 | pu blic void setMachine Name (Stri ng machine Name); | |
395 | ||
396 | /* | |
397 | * | |
398 | * Get the a mount of t ime, in mi lliseconds , that it took to ge t the firs t byte bac k from a s ocket read request. | |
399 | * @return t he Long am ount of ti me, in mil liseconds, that it t ook to get the first byte back from a so cket read request, o r null if unknown. | |
400 | * / | |
401 | pu blic Long getTimeToF irstByte ( ); | |
402 | ||
403 | /* | |
404 | * | |
405 | * Set the a mount of t ime, in mi lliseconds , that it took to ge t the firs t byte bac k from a s ocket read request. | |
406 | * @param ti meToFirstB yte The Lo ng amount of time, i n millisec onds, that it took t o get the first byte back from a socket read reque st. | |
407 | * / | |
408 | pu blic void setTimeToF irstByte ( Long timeT oFirstByte ); | |
409 | ||
410 | /* * | |
411 | * @return t he VIX sof tware vers ion as def ined by th e VIX inst aller | |
412 | * / | |
413 | pu blic Strin g getVixSo ftwareVers ion(); | |
414 | ||
415 | /* * | |
416 | * Set the V IX softwar e version as defined by the VI X installe r | |
417 | * @param vi xSoftwareV ersion - t he VIX sof tware vers ion | |
418 | * / | |
419 | pu blic void setVixSoft wareVersio n(String v ixSoftware Version); | |
420 | ||
421 | ||
422 | /* * | |
423 | * @return t rue if the command i s executin g asynchro nously | |
424 | * / | |
425 | pu blic Boole an isAsync hronousCom mand(); | |
426 | ||
427 | /* * | |
428 | * Set the c ommand exe cution str ategy | |
429 | * @param as ynchronous Command - true if th e command is execute d asynchro nously, fa lse otherw ise | |
430 | * / | |
431 | pu blic void setAsynchr onousComma nd(Boolean asynchron ousCommand ); | |
432 | ||
433 | /* * | |
434 | * Holds the security context ty pe, should be set by the Facad e and used by the da ta source | |
435 | * @return | |
436 | * / | |
437 | pu blic Strin g getImagi ngSecurity ContextTyp e(); | |
438 | pu blic void setImaging SecurityCo ntextType( String ima gingSecuri tyContextT ype); | |
439 | ||
440 | pu blic Strin g getBroke rSecurityT oken(); | |
441 | pu blic Strin g getLogge rBrokerSec urityToken (); | |
442 | pu blic void setBrokerS ecurityTok en(String brokerSecu rityToken) ; | |
443 | ||
444 | /* * | |
445 | * Determine s if the t oken has b een genera ted by the local sit e. | |
446 | * @return | |
447 | * / | |
448 | pu blic Boole an isToken LocallyGen erated(); | |
449 | pu blic void setTokenLo callyGener ated(Boole an value); | |
450 | ||
451 | /* * | |
452 | * Get/set t he name of the appli cation use d when gen erating a broker sec urity toke n | |
453 | * @return | |
454 | * / | |
455 | pu blic Strin g getBroke rSecurityA pplication Name(); | |
456 | pu blic void setBrokerS ecurityApp licationNa me(String brokerSecu rityApplic ationName) ; | |
457 | ||
458 | pu blic Strin g getCache LocationId (); | |
459 | pu blic Strin g getLogge rCacheLoca tionId(); | |
460 | pu blic void setCacheLo cationId(S tring cach eLocationI d); | |
461 | ||
462 | pu blic Strin g getUserD ivision(); | |
463 | pu blic Strin g getLogge rUserDivis ion(); | |
464 | pu blic void setUserDiv ision(Stri ng userDiv ision); | |
465 | ||
466 | /* * | |
467 | * Get the m ethod used for remot ely loggin g into a s ite (CAPRI or BSE) | |
468 | * @return | |
469 | * / | |
470 | pu blic Strin g getLogin Method(); | |
471 | /* * | |
472 | * Set the m ethod used for remot ely loggin g into a s ite (CAPRI or BSE) | |
473 | * @param re moteLoginM ethod | |
474 | * / | |
475 | pu blic void setLoginMe thod(Strin g remoteLo ginMethod) ; | |
476 | ||
477 | /* * | |
478 | * The image format th e facade r esponds wi th for ima ge request s | |
479 | * @return | |
480 | * / | |
481 | pu blic Strin g getFacad eImageForm atSent(); | |
482 | ||
483 | /* * | |
484 | * The image format th e facade r esponds wi th for ima ge request s | |
485 | * @param fa cadeImageF ormatSent | |
486 | * / | |
487 | pu blic void setFacadeI mageFormat Sent(Strin g facadeIm ageFormatS ent); | |
488 | ||
489 | /* * | |
490 | * The image quality t he facade responds w ith for im age reques ts | |
491 | * @return | |
492 | * / | |
493 | pu blic Strin g getFacad eImageQual itySent(); | |
494 | /* * | |
495 | * The image quality t he facade responds w ith for im age reques ts | |
496 | * @param fa cadeImageQ ualitySent | |
497 | * / | |
498 | pu blic void setFacadeI mageQualit ySent(Stri ng facadeI mageQualit ySent); | |
499 | ||
500 | /* * | |
501 | * The image format re ceived by the data s ource befo re any ima ge convers ion is don e | |
502 | * @return | |
503 | * / | |
504 | pu blic Strin g getDataS ourceImage FormatRece ived(); | |
505 | /* * | |
506 | * The image format re ceived by the data s ource befo re any ima ge convers ion is don e | |
507 | * @param da taSourceIm ageFormatR ecieved | |
508 | * / | |
509 | pu blic void setDataSou rceImageFo rmatReceiv ed(String dataSource ImageForma tRecieved) ; | |
510 | ||
511 | /* * | |
512 | * The image quality r eceived by the data source bef ore any im age conver sion is do ne | |
513 | * @return | |
514 | * / | |
515 | pu blic Strin g getDataS ourceImage QualityRec eived(); | |
516 | ||
517 | /* * | |
518 | * The image quality r eceived by the data source bef ore any im age conver sion is do ne | |
519 | * @param da taSourceIm ageQuality Received | |
520 | * / | |
521 | pu blic void setDataSou rceImageQu alityRecei ved(String dataSourc eImageQual ityReceive d); | |
522 | ||
523 | /* * | |
524 | * Specifies whether t he transac tion resul t should b e formatte d for a HA IMS-1 clie nt | |
525 | * @return | |
526 | * / | |
527 | pu blic Boole an isHaims 1Client(); | |
528 | pu blic void setHaims1C lient(Bool ean value) ; | |
529 | ||
530 | /* * | |
531 | * Get the v ersion of the client that init iated the request | |
532 | * @return | |
533 | * / | |
534 | pu blic Strin g getClien tVersion() ; | |
535 | ||
536 | /* * | |
537 | * Set the v ersion of the client that init iated the request | |
538 | * @param ve rsion | |
539 | * / | |
540 | pu blic void setClientV ersion(Str ing client Version); | |
541 | ||
542 | /* * | |
543 | * Return th e name of the method called by the data source, th is should be set for each prox y call | |
544 | * @return | |
545 | * / | |
546 | pu blic Strin g getDataS ourceMetho d(); | |
547 | pu blic void setDataSou rceMethod( String dat aSourceMet hod); | |
548 | ||
549 | /* * | |
550 | * Return th e version of the dat a source c alled | |
551 | * @return | |
552 | * / | |
553 | pu blic Strin g getDataS ourceVersi on(); | |
554 | pu blic void setDataSou rceVersion (String da taSourceVe rsion); | |
555 | ||
556 | pu blic Strin g getDebug Informatio n(); | |
557 | pu blic void addDebugIn formation( String deb ugInformat ion); | |
558 | pu blic void setDebugIn formation( String deb ugInformat ion); | |
559 | ||
560 | /* * | |
561 | * Returns t he hostnam e of the s erver that responded to the re quest (if it is a VI SA impleme ntation) | |
562 | * @return | |
563 | * / | |
564 | pu blic Strin g getDataS ourceRespo nseServer( ); | |
565 | pu blic void setDataSou rceRespons eServer(St ring dataS ourceRespo nseServer) ; | |
566 | ||
567 | pu blic Strin g getThrea dId(); | |
568 | pu blic void setThreadI d(String t hreadId); | |
569 | ||
570 | /* * | |
571 | * The site number for the VIX f rom the Vi xConfig.xm l file | |
572 | * @return | |
573 | * / | |
574 | pu blic Strin g getVixSi teNumber() ; | |
575 | pu blic void setVixSite Number(Str ing vixSit eNumber); | |
576 | ||
577 | /* * | |
578 | * The site number for the VIX t hat reques ted data f rom this V IX, this v alue comes from that VIX serve r VixConfi g.xml file | |
579 | * @return | |
580 | * / | |
581 | pu blic Strin g getReque stingVixSi teNumber() ; | |
582 | pu blic void setRequest ingVixSite Number(Str ing reques tingVixSit eNumber); | |
583 | ||
584 | /* * | |
585 | * The ident ifier of t he VistA S ession tha t was used for this transactio n | |
586 | * @return | |
587 | * / | |
588 | pu blic Long getVistaSe ssionIndex (); | |
589 | pu blic void setVistaSe ssionIndex (Long vist aSessionIn dex); | |
590 | ||
591 | /* * | |
592 | * Any field s that are marked as additiona l debug in formation properties will be r eturned by this meth od. This m ethod MAY return | |
593 | * null if n o properti es are mar ked as add itional fi elds or if none of t he propert ies have a value set | |
594 | * @return | |
595 | * / | |
596 | pu blic Strin g getAddit ionalDebug Informatio n(); | |
597 | ||
598 | /* * | |
599 | * | |
600 | * @return | |
601 | * / | |
602 | pu blic Boole an isAllow AddFederat ionCompres sion(); | |
603 | pu blic void setAllowAd dFederatio nCompressi on(Boolean allowAddF ederationC ompression ); | |
604 | ||
605 | /* * | |
606 | * The Cache d image Fi lename rec eived by t he data so urce befor e any imag e conversi on is done | |
607 | * @return | |
608 | * / | |
609 | pu blic Strin g getCache Filename() ; | |
610 | pu blic void setCacheFi lename(Str ing cacheF ilename); | |
611 | ||
612 | /* * | |
613 | * One of th e Credenti als requir es to acce ss image f ile | |
614 | * / | |
615 | pu blic Strin g getStora geUsername (); | |
616 | pu blic void setStorage Username(S tring stor ageUsernam e); | |
617 | ||
618 | /* * | |
619 | * One of th e Credenti als requir es to acce ss image f ile | |
620 | * / | |
621 | pu blic Strin g getStora gePassword (); | |
622 | pu blic void setStorage Password(S tring stor agePasswor d); | |
623 | ||
624 | /* * | |
625 | * One of th e Credenti als requir es to acce ss image f ile | |
626 | * / | |
627 | pu blic Strin g getStora geSiteNumb er(); | |
628 | pu blic void setStorage SiteNumber (String st orageSiteN umber); | |
629 | ||
630 | ||
631 | /* * | |
632 | * Is this a viewer pr ocess? | |
633 | * / | |
634 | pu blic Boole an isViewe rProcess() ; | |
635 | pu blic void setViewerP rocess(Boo lean viewe rProcess); | |
636 | ||
637 | ||
638 | /* * | |
639 | * viewer ht tp servlet request m ethod (POS T/GET/HEAD /etc) | |
640 | * / | |
641 | pu blic Strin g getHttpS ervletRequ estMethod( ); | |
642 | pu blic void setHttpSer vletReques tMethod(St ring httpS ervletRequ estMethod) ; | |
643 | ||
644 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.