Produced by Araxis Merge on 6/9/2017 3:50:56 PM Eastern 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 | Fri Jun 9 19:50:56 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-server\src\main\java\gov\va\nvap\server\endpoint\announce | AnnouncerFacade.java | Fri Apr 21 20:03:28 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 167 |
| 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 | * To chan ge this te mplate, ch oose Tools | Templat es | |||||
| 3 | * and ope n the temp late in th e editor. | |||||
| 4 | */ | |||||
| 5 | package go v.va.nvap. server.end point.anno unce; | |||||
| 6 | ||||||
| 7 | import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce ment; | |||||
| 8 | import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce mentBatchS ummary; | |||||
| 9 | import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce mentOrg; | |||||
| 10 | import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce rInterface ; | |||||
| 11 | import gov .va.nvap.s vc.consent mgmt.stub. data.Organ ization; | |||||
| 12 | ||||||
| 13 | import jav a.util.Col lection; | |||||
| 14 | import jav a.util.Dat e; | |||||
| 15 | import jav a.util.Has hMap; | |||||
| 16 | import jav a.util.Has hSet; | |||||
| 17 | import jav a.util.Lis t; | |||||
| 18 | ||||||
| 19 | import jav ax.ejb.Rem ote; | |||||
| 20 | import jav ax.ejb.Sta teless; | |||||
| 21 | import jav ax.interce ptor.Inter ceptors; | |||||
| 22 | ||||||
| 23 | import org .springfra mework.bea ns.factory .annotatio n.Autowire d; | |||||
| 24 | import org .springfra mework.bea ns.factory .annotatio n.Qualifie r; | |||||
| 25 | import org .springfra mework.ejb .intercept or.SpringB eanAutowir ingInterce ptor; | |||||
| 26 | ||||||
| 27 | /** | |||||
| 28 | * | |||||
| 29 | * @author vhaislegb erb | |||||
| 30 | * @author Irakli Ka kushadze | |||||
| 31 | * @author Zack Pete rson | |||||
| 32 | */ | |||||
| 33 | @Stateless (name = "A nnouncerSe rvice", ma ppedName = "Announce rService") | |||||
| 34 | @Remote(An nouncerInt erface.cla ss) | |||||
| 35 | @Intercept ors(Spring BeanAutowi ringInterc eptor.clas s) | |||||
| 36 | public cla ss Announc erFacade i mplements AnnouncerI nterface { | |||||
| 37 | ||||||
| 38 | /* * | |||||
| 39 | * Spring in jection, s o that all the depen dencies ar e injected . | |||||
| 40 | * / | |||||
| 41 | @A utowired | |||||
| 42 | @Q ualifier(v alue = "An nouncer") | |||||
| 43 | An nouncerInt erface ann ouncer; | |||||
| 44 | ||||||
| 45 | @O verride | |||||
| 46 | pu blic Strin g createAn nouncement sBatch( | |||||
| 47 | final Organizati on targete dOrganizat ion, final String us erId, | |||||
| 48 | final Date dateR angeStart, final Dat e dateRang eStop, | |||||
| 49 | final boolean re announce) { | |||||
| 50 | retu rn this.an nouncer.cr eateAnnoun cementsBat ch(targete dOrganizat ion, | |||||
| 51 | userId, dateRangeS tart, date RangeStop, reannounc e); | |||||
| 52 | } | |||||
| 53 | ||||||
| 54 | @O verride | |||||
| 55 | public String cr eateAnnoun cementsBat ch( | |||||
| 56 | final Organizati on targete dOrganizat ion, final String us erId, Hash Set<String > iens) { | |||||
| 57 | retu rn this.an nouncer.cr eateAnnoun cementsBat ch(targete dOrganizat ion, userI d, iens); | |||||
| 58 | } | |||||
| 59 | ||||||
| 60 | @Overr ide | |||||
| 61 | public String cr eateAnnoun cementsBat ch(Collect ion<Organi zation> ta rgetedOrga nizations, | |||||
| 62 | String userId, D ate dateRa ngeStart, Date dateR angeStop, | |||||
| 63 | boolea n reannoun ce){ | |||||
| 64 | re turn this. announcer. createAnno uncementsB atch(targe tedOrganiz ations, | |||||
| 65 | userId, dateRangeS tart, date RangeStop, reannounc e); | |||||
| 66 | } | |||||
| 67 | ||||||
| 68 | @Overr ide | |||||
| 69 | public String cr eateAnnoun cementsBat ch(Collect ion<Organi zation> ta rgetedOrga nizations, | |||||
| 70 | String userId, H ashSet<Str ing> iens) { | |||||
| 71 | re turn this. announcer. createAnno uncementsB atch(targe tedOrganiz ations, us erId, iens ); | |||||
| 72 | } | |||||
| 73 | ||||||
| 74 | @O verride | |||||
| 75 | pu blic Annou ncement ge tAnnouncem entById(fi nal Long a nnouncemen tId) { | |||||
| 76 | retu rn this.an nouncer.ge tAnnouncem entById(an nouncement Id); | |||||
| 77 | } | |||||
| 78 | ||||||
| 79 | /** | |||||
| 80 | * Fin ds all ann ouncements for a par ticular us er. | |||||
| 81 | * | |||||
| 82 | * @pa ram userId User ID | |||||
| 83 | * @re turn List of objects of type A nnouncemen t found fo r this use r | |||||
| 84 | */ | |||||
| 85 | @Overr ide | |||||
| 86 | public List<Anno uncement> getAnnounc ementsByUs erId(Strin g userId) { | |||||
| 87 | re turn this. announcer. getAnnounc ementsByUs erId(userI d); | |||||
| 88 | } | |||||
| 89 | ||||||
| 90 | /** | |||||
| 91 | * Fin ds all ann ouncements for a lis t of conse nt directi ve ID numb ers | |||||
| 92 | * | |||||
| 93 | * @pa ram consen tDirective Ids list o f consent directive ID numbers | |||||
| 94 | * @re turn List of objects of type A nnouncemen t found fo r this pat ient | |||||
| 95 | */ | |||||
| 96 | @Overr ide | |||||
| 97 | public List<Anno uncement> getAnnounc ementsByCo nsentDirec tiveId(Lis t<Long> co nsentDirec tiveIds) { | |||||
| 98 | re turn this. announcer. getAnnounc ementsByCo nsentDirec tiveId(con sentDirect iveIds); | |||||
| 99 | } | |||||
| 100 | ||||||
| 101 | @O verride | |||||
| 102 | pu blic List< Announceme ntBatchSum mary> getB atchSummar y( | |||||
| 103 | final List<Strin g> batchId s) { | |||||
| 104 | retu rn this.an nouncer.ge tBatchSumm ary(batchI ds); | |||||
| 105 | } | |||||
| 106 | ||||||
| 107 | @O verride | |||||
| 108 | pu blic List< Announceme ntBatchSum mary> getB atchSummar yByDateRan ge( | |||||
| 109 | final Date start Date, fina l Date end Date) { | |||||
| 110 | retu rn this.an nouncer.ge tBatchSumm aryByDateR ange(start Date, endD ate); | |||||
| 111 | } | |||||
| 112 | ||||||
| 113 | @O verride | |||||
| 114 | pu blic Colle ction<Anno uncement> getUnsched uledAnnoun cementsByB atchId( | |||||
| 115 | final String bat chId, fina l int maxA nnouncemen ts, final int firstR esult) { | |||||
| 116 | retu rn this.an nouncer.ge tUnschedul edAnnounce mentsByBat chId(batch Id, | |||||
| 117 | maxAnnou ncements, firstResul t); | |||||
| 118 | } | |||||
| 119 | ||||||
| 120 | @O verride | |||||
| 121 | pu blic void removeAnno uncementBa tches(fina l Collecti on<String> batchIds) { | |||||
| 122 | this .announcer .removeAnn ouncementB atches(bat chIds); | |||||
| 123 | } | |||||
| 124 | ||||||
| 125 | @O verride | |||||
| 126 | pu blic List< Announceme ntBatchSum mary> retr ieveBatchS ummaries( | |||||
| 127 | final Date start Date, fina l Date end Date, fina l String o rgOid, | |||||
| 128 | final String use rId, final int first Result, fi nal int ma xResults) { | |||||
| 129 | retu rn this.an nouncer.re trieveBatc hSummaries (startDate , endDate, | |||||
| 130 | orgOid, userId, fi rstResult, maxResult s); | |||||
| 131 | } | |||||
| 132 | ||||||
| 133 | @O verride | |||||
| 134 | pu blic void storeAnnou ncement(fi nal Announ cement ann ouncement) { | |||||
| 135 | this .announcer .storeAnno uncement(a nnouncemen t); | |||||
| 136 | } | |||||
| 137 | ||||||
| 138 | @Overr ide | |||||
| 139 | public void crea teAnnounce mentOrg(An nouncement Org announ ceOrg) { | |||||
| 140 | th is.announc er.createA nnouncemen tOrg(annou nceOrg); | |||||
| 141 | } | |||||
| 142 | ||||||
| 143 | @Overr ide | |||||
| 144 | public List<Anno uncement> getNonBatc hAnnouncem entsByCrea tedTs(Date createdTs , String p atientIen) { | |||||
| 145 | re turn this. announcer. getNonBatc hAnnouncem entsByCrea tedTs(crea tedTs, pat ientIen); | |||||
| 146 | } | |||||
| 147 | ||||||
| 148 | @Overr ide | |||||
| 149 | public int getAn nounceExcl usionTimef rameHours( ) { | |||||
| 150 | re turn this. announcer. getAnnounc eExclusion TimeframeH ours(); | |||||
| 151 | } | |||||
| 152 | ||||||
| 153 | @Overr ide | |||||
| 154 | public List<Anno uncementOr g> getAnno uncementOr gsByAnnoun cement(Ann ouncement announceme nt) { | |||||
| 155 | re turn this. announcer. getAnnounc ementOrgsB yAnnouncem ent(announ cement); | |||||
| 156 | } | |||||
| 157 | ||||||
| 158 | @Overr ide | |||||
| 159 | public void remo veByAnnoun cement(Ann ouncement announceme nt) { | |||||
| 160 | th is.announc er.removeB yAnnouncem ent(announ cement); | |||||
| 161 | } | |||||
| 162 | ||||||
| 163 | @Overr ide | |||||
| 164 | public HashMap g etAnnounce mentsByBat chIdWithPa ging(Strin g batchId, String or gId, Integ er startRo w, Integer maxRows) { | |||||
| 165 | re turn this. announcer. getAnnounc ementsByBa tchIdWithP aging(batc hId, orgId , startRow , maxRows) ; | |||||
| 166 | } | |||||
| 167 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.