Produced by Araxis Merge on 4/5/2017 4:21:45 PM 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:\working_scrub\Unredacted\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterEJB\src\main\java\gov\va\med\nhin\adapter\patientdiscovery | VapConsentManagement.java | Fri Feb 10 15:41:44 2017 UTC |
| 2 | eHX-CIF.zip\eHX-CIF\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterEJB\src\main\java\gov\va\med\nhin\adapter\patientdiscovery | VapConsentManagement.java | Tue Apr 4 12:54:26 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 240 |
| 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.n hin.adapte r.patientd iscovery; | |
| 2 | ||
| 3 | import gov .va.nvap.p rivacy.Con sentDirect iveAuthori zationRequ estType; | |
| 4 | import gov .va.nvap.p rivacy.Con sentDirect iveAuthori zationResp onseType; | |
| 5 | import gov .va.nvap.p rivacy.Con sentDirect iveDocumen tRetrieveR equestType ; | |
| 6 | import gov .va.nvap.p rivacy.Con sentDirect iveDocumen tRetrieveR esponseTyp e; | |
| 7 | import gov .va.nvap.p rivacy.Con sentDirect iveExpirat ionRequest Type; | |
| 8 | import gov .va.nvap.p rivacy.Con sentDirect iveExpirat ionRespons eType; | |
| 9 | import gov .va.nvap.p rivacy.Con sentDirect iveQueryRe questType; | |
| 10 | import gov .va.nvap.p rivacy.Con sentDirect iveQueryRe sponseType ; | |
| 11 | import gov .va.nvap.p rivacy.Con sentDirect iveRevocat ionRequest Type; | |
| 12 | import gov .va.nvap.p rivacy.Con sentDirect iveRevocat ionRespons eType; | |
| 13 | import gov .va.nvap.p rivacy.Org anizationT rustedSour ceRequestT ype; | |
| 14 | import gov .va.nvap.p rivacy.Org anizationT rustedSour ceResponse Type; | |
| 15 | import gov .va.nvap.p rivacy.Org anizations QueryReque stType; | |
| 16 | import gov .va.nvap.p rivacy.Org anizations QueryRespo nseType; | |
| 17 | import gov .va.nvap.p rivacy.Res trictionsQ ueryReques tType; | |
| 18 | import gov .va.nvap.p rivacy.Res trictionsQ ueryRespon seType; | |
| 19 | import gov .va.nvap.p rivacy.Sta tusQueryRe questType; | |
| 20 | import gov .va.nvap.p rivacy.Sta tusQueryRe sponseType ; | |
| 21 | ||
| 22 | import jav ax.ejb.EJB ; | |
| 23 | import jav ax.ejb.Sta teless; | |
| 24 | import jav ax.jws.Web Service; | |
| 25 | ||
| 26 | import org .slf4j.Log ger; | |
| 27 | import org .slf4j.Log gerFactory ; | |
| 28 | ||
| 29 | import pri vacy.servi ce.nvap.va .gov.Conse ntManageme ntServiceF aultMessag e; | |
| 30 | ||
| 31 | /** | |
| 32 | * | |
| 33 | * @author Zack Pete rson | |
| 34 | */ | |
| 35 | @WebServic e(serviceN ame = "Con sentManage mentServic e", portNa me = "Cons entManagem entPortTyp e", endpoi ntInterfac e = "priva cy.service .nvap. DNS .ConsentMa nagementPo rtType", t argetNames pace = "ht tp://gov.v a.nvap.ser vice.priva cy/") | |
| 36 | @Stateless (name = "V apConsentM anagement" ) | |
| 37 | public cla ss VapCons entManagem ent implem ents VapCo nsentManag ementPortT ypeLocal | |
| 38 | { | |
| 39 | pr ivate stat ic final L ogger logg er = Logge rFactory.g etLogger(V apConsentM anagement. class.getN ame()); | |
| 40 | ||
| 41 | pr ivate CMPr oxy cmProx y; | |
| 42 | ||
| 43 | @E JB(beanInt erface = C MProxy.cla ss, beanNa me = "CMPr oxyVAP") | |
| 44 | pu blic void setCMProxy (CMProxy c mProxy) | |
| 45 | { | |
| 46 | this .cmProxy = cmProxy; | |
| 47 | } | |
| 48 | ||
| 49 | pu blic Conse ntDirectiv eQueryResp onseType g etConsentD irectives( ConsentDir ectiveQuer yRequestTy pe consent DirectiveQ ueryReques t) throws ConsentMan agementSer viceFaultM essage | |
| 50 | { | |
| 51 | logg er.debug(" getConsent Directives {}", cons entDirecti veQueryReq uest); | |
| 52 | ||
| 53 | Cons entDirecti veQueryRes ponseType response = cmProxy.g etConsentD irectives( consentDir ectiveQuer yRequest); | |
| 54 | ||
| 55 | retu rn respons e; | |
| 56 | } | |
| 57 | ||
| 58 | pu blic Conse ntDirectiv eExpiratio nResponseT ype getExp iringConse ntDirectiv es(Consent DirectiveE xpirationR equestType consentDi rectiveExp irationReq uest) thro ws Consent Management ServiceFau ltMessage | |
| 59 | { | |
| 60 | thro w new Unsu pportedOpe rationExce ption("Not supported yet."); | |
| 61 | } | |
| 62 | ||
| 63 | pu blic Conse ntDirectiv eExpiratio nResponseT ype getExp iringDetai ledConsent Directives (ConsentDi rectiveExp irationReq uestType c onsentDire ctiveExpir ationReque st) throws ConsentMa nagementSe rviceFault Message | |
| 64 | { | |
| 65 | thro w new Unsu pportedOpe rationExce ption("Not supported yet."); | |
| 66 | } | |
| 67 | ||
| 68 | pu blic Conse ntDirectiv eExpiratio nResponseT ype getAut horizedCon sentForSum mary(Conse ntDirectiv eExpiratio nRequestTy pe consent DirectiveA uthorizedR equest) th rows Conse ntManageme ntServiceF aultMessag e | |
| 69 | { | |
| 70 | thro w new Unsu pportedOpe rationExce ption("Not supported yet."); | |
| 71 | } | |
| 72 | ||
| 73 | pu blic Conse ntDirectiv eDocumentR etrieveRes ponseType getConsent DirectiveD ocuments(C onsentDire ctiveDocum entRetriev eRequestTy pe consent DirectiveD ocumentRet rieveReque st) throws ConsentMa nagementSe rviceFault Message | |
| 74 | { | |
| 75 | thro w new Unsu pportedOpe rationExce ption("Not supported yet."); | |
| 76 | } | |
| 77 | ||
| 78 | pu blic Conse ntDirectiv eAuthoriza tionRespon seType pro cessConsen tDirective Update(Con sentDirect iveRevocat ionRequest Type conse ntDirectiv eUpdateReq uest) thro ws Consent Management ServiceFau ltMessage | |
| 79 | { | |
| 80 | thro w new Unsu pportedOpe rationExce ption("Not supported yet."); | |
| 81 | } | |
| 82 | ||
| 83 | pu blic Conse ntDirectiv eAuthoriza tionRespon seType pro cessConsen tDirective Authorizat ion(Consen tDirective Authorizat ionRequest Type conse ntDirectiv eAuthoriza tionReques t) throws ConsentMan agementSer viceFaultM essage | |
| 84 | { | |
| 85 | logg er.debug(" processCon sentDirect iveAuthori zation {}" , consentD irectiveAu thorizatio nRequest); | |
| 86 | ||
| 87 | Cons entDirecti veAuthoriz ationRespo nseType re sponse = c mProxy.pro cessConsen tDirective Authorizat ion(consen tDirective Authorizat ionRequest ); | |
| 88 | ||
| 89 | retu rn respons e; | |
| 90 | } | |
| 91 | ||
| 92 | pu blic Conse ntDirectiv eRevocatio nResponseT ype proces sConsentDi rectiveRev ocation(Co nsentDirec tiveRevoca tionReques tType cons entDirecti veRevocati onRequest) throws Co nsentManag ementServi ceFaultMes sage | |
| 93 | { | |
| 94 | logg er.debug(" processCon sentDirect iveRevocat ion {}", c onsentDire ctiveRevoc ationReque st); | |
| 95 | ||
| 96 | Cons entDirecti veRevocati onResponse Type respo nse = cmPr oxy.proces sConsentDi rectiveRev ocation(co nsentDirec tiveRevoca tionReques t); | |
| 97 | ||
| 98 | retu rn respons e; | |
| 99 | } | |
| 100 | ||
| 101 | pu blic Organ izationsQu eryRespons eType getO rganizatio ns(Organiz ationsQuer yRequestTy pe organiz ationsQuer yRequest) throws Con sentManage mentServic eFaultMess age | |
| 102 | { | |
| 103 | thro w new Unsu pportedOpe rationExce ption("Not supported yet."); | |
| 104 | } | |
| 105 | ||
| 106 | public Organizat ionTrusted SourceResp onseType g etIsOrgani zationTrus tedSource( Organizati onTrustedS ourceReque stType org anizationT rustedSour ceRequest) throws Co nsentManag ementServi ceFaultMes sage { | |
| 107 | lo gger.debug ("getIsOrg anizationT rustedSour ce {}", or ganization TrustedSou rceRequest ); | |
| 108 | ||
| 109 | Or ganization TrustedSou rceRespons eType resp onse = cmP roxy.getIs Organizati onTrustedS ource(orga nizationTr ustedSourc eRequest); | |
| 110 | ||
| 111 | re turn respo nse; | |
| 112 | } | |
| 113 | ||
| 114 | public Restricti onsQueryRe sponseType getRestri ctions(Res trictionsQ ueryReques tType rest rictionsQu eryRequest ) throws C onsentMana gementServ iceFaultMe ssage { | |
| 115 | th row new Un supportedO perationEx ception("N ot support ed yet."); | |
| 116 | } | |
| 117 | ||
| 118 | public StatusQue ryResponse Type getSt atus(Statu sQueryRequ estType st atusQueryR equest) th rows Conse ntManageme ntServiceF aultMessag e { | |
| 119 | th row new Un supportedO perationEx ception("N ot support ed yet."); | |
| 120 | } | |
| 121 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.