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\announce | AnnouncerControllerInterface.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 | 138 |
| 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 | ||||||
| 6 | package go v.va.nvap. server.ann ounce; | |||||
| 7 | ||||||
| 8 | import gov .va.nvap.s vc.consent mgmt.jpa.e xceptions. Nonexisten tEntityExc eption; | |||||
| 9 | import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce ment; | |||||
| 10 | import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce mentBatchS ummary; | |||||
| 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.persist ence.Entit yManager; | |||||
| 20 | ||||||
| 21 | /** | |||||
| 22 | * | |||||
| 23 | * @author vhaislegb erb | |||||
| 24 | * @author Irakli Ka kushadze | |||||
| 25 | * @author Zack Pete rson | |||||
| 26 | */ | |||||
| 27 | public int erface Ann ouncerCont rollerInte rface { | |||||
| 28 | ||||||
| 29 | vo id create( Announceme nt announc ement); | |||||
| 30 | ||||||
| 31 | /* * | |||||
| 32 | * Creates a batch of announceme nts based on the pro vided para meters and | |||||
| 33 | * returns t he batch i dentifier to the inv oker for f urther pro cessing. | |||||
| 34 | * | |||||
| 35 | * @param ta rgetOrgani zation | |||||
| 36 | * The targ et organiz ation or w ho the ann ouncement is for. | |||||
| 37 | * @param da teRangeSta rt | |||||
| 38 | * The star t date of the date r ange to be used and applied to the | |||||
| 39 | * consent directive create dat e. | |||||
| 40 | * @param da teRangeSto p | |||||
| 41 | * The stop date of t he date ra nge to be used and a pplied to the | |||||
| 42 | * consent directive create dat e. | |||||
| 43 | * @param re announce | |||||
| 44 | * Flag tha t indicate s whether a re-annou nce should be perfor med | |||||
| 45 | * or not. | |||||
| 46 | * @return T he unique identifier for the b atch. | |||||
| 47 | * / | |||||
| 48 | St ring creat eAnnounceB atch(Organ ization ta rgetOrgani zation, St ring userI d, | |||||
| 49 | Date d ateRangeSt art, Date dateRangeS top, boole an reannou nce); | |||||
| 50 | ||||||
| 51 | St ring creat eAnnounceB atch(Organ ization ta rgetOrgani zation, St ring userI d, HashSet <String> i ens); | |||||
| 52 | ||||||
| 53 | public String cr eateAnnoun ceBatch(fi nal Collec tion<Organ ization> t argetOrgan izations, | |||||
| 54 | final String use rId, final Date date RangeStart , | |||||
| 55 | final Date dateR angeStop, final bool ean reanno unce); | |||||
| 56 | ||||||
| 57 | vo id edit(An nouncement announcem ent) throw s Nonexist entEntityE xception, | |||||
| 58 | Except ion; | |||||
| 59 | ||||||
| 60 | An nouncement findAnnou ncement(Lo ng id); | |||||
| 61 | ||||||
| 62 | Li st<Announc ement> fin dAnnouncem entEntitie s(); | |||||
| 63 | ||||||
| 64 | Li st<Announc ement> fin dAnnouncem entEntitie s(int maxR esults, in t firstRes ult); | |||||
| 65 | ||||||
| 66 | /** | |||||
| 67 | * Fin ds all ann ouncements for a par ticular us er. | |||||
| 68 | * | |||||
| 69 | * @pa ram userId User ID | |||||
| 70 | * @re turn List of objects of type A nnouncemen t found fo r this use r | |||||
| 71 | */ | |||||
| 72 | public List<Anno uncement> findAnnoun cementsByU serId(Stri ng userId) ; | |||||
| 73 | ||||||
| 74 | /** | |||||
| 75 | * Fin ds all ann ouncements for a lis t of conse nt directi ve ID numb ers | |||||
| 76 | * | |||||
| 77 | * @pa ram consen tDirective Ids list o f consent directive ID numbers | |||||
| 78 | * @re turn List of objects of type A nnouncemen t found fo r this pat ient | |||||
| 79 | */ | |||||
| 80 | public List<Anno uncement> findAnnoun cementsByC onsentDire ctiveId(Li st<Long> c onsentDire ctiveIds); | |||||
| 81 | ||||||
| 82 | pu blic List< Announceme nt> findUn scheduledA nnouncemen tsByBatchI d( | |||||
| 83 | String batchId, int maxAnn ouncements , int firs tResult); | |||||
| 84 | ||||||
| 85 | in t getAnnou ncementCou nt(); | |||||
| 86 | ||||||
| 87 | /* * | |||||
| 88 | * Removes a ll announc ement reco rds that b elong to t he batch s pecified b y | |||||
| 89 | * the batch Ids parame ter. | |||||
| 90 | * | |||||
| 91 | * @param ba tchIds | |||||
| 92 | * The batc h identifi ers whose announceme nts are to be remove d. | |||||
| 93 | * / | |||||
| 94 | vo id removeB yBatchId(C ollection< String> ba tchIds); | |||||
| 95 | ||||||
| 96 | /* * | |||||
| 97 | * Get the l ist of ann ouncement batch summ aries by d ate range, organizat ion. | |||||
| 98 | * | |||||
| 99 | * @param st artDate | |||||
| 100 | * the star t date (op tional) | |||||
| 101 | * @param en dDate | |||||
| 102 | * the end date (opti onal) | |||||
| 103 | * @param or gOid | |||||
| 104 | * the orga nization O ID (option al) | |||||
| 105 | * @param us erId | |||||
| 106 | * the orga nization O ID (option al) | |||||
| 107 | * @param fi rstResult | |||||
| 108 | * the inde x to start the first record (o ptional) | |||||
| 109 | * @param th e | |||||
| 110 | * maximum number of results (o ptional) | |||||
| 111 | * @return l ist of bat ch summari es | |||||
| 112 | * / | |||||
| 113 | Li st<Announc ementBatch Summary> r etrieveBat chSummarie s(Date sta rtDate, | |||||
| 114 | Date e ndDate, St ring orgOi d, String userId, in t firstRes ult, | |||||
| 115 | int ma xResults); | |||||
| 116 | ||||||
| 117 | /* * | |||||
| 118 | * Retrieve the list o f batch su mmaries th at relate to the bat ch identif iers | |||||
| 119 | * passed in as a para meter. | |||||
| 120 | * | |||||
| 121 | * @param ba tchIds | |||||
| 122 | * The list of batch identifier s to retri eve summar ies for. | |||||
| 123 | * @return T he list of batch sum maries. | |||||
| 124 | * / | |||||
| 125 | pu blic List< Announceme ntBatchSum mary> retr ieveBatchS ummaries( | |||||
| 126 | List<S tring> bat chIds); | |||||
| 127 | ||||||
| 128 | Li st<Announc ementBatch Summary> r etrieveBat chSummarie sByDateRan ge( | |||||
| 129 | Date s tartDate, Date endDa te); | |||||
| 130 | ||||||
| 131 | List<A nnouncemen t> findNon BatchAnnou ncementsBy CreatedTs( final Date createdTs , String p atientIen) ; | |||||
| 132 | ||||||
| 133 | vo id setEnti tyManager( EntityMana ger em); | |||||
| 134 | ||||||
| 135 | List<A nnouncemen t> findAll Announceme ntsByBatch Id(final S tring batc hId); | |||||
| 136 | ||||||
| 137 | HashMa p findAllA nnouncemen tsByBatchI dWithPagin g(final St ring batch Id, final String org Id, final Integer st artRow, fi nal Intege r maxRows) ; | |||||
| 138 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.