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