Produced by Araxis Merge on 4/5/2017 4:26:31 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\VAP Code Base\VAP_Bld2_Source_Code_CIF_2017-02-14\nvap-svc-facility\src\main\java\gov\va\nvap\svc\facility\intf | FacilityService.java | Wed Feb 1 18:37:28 2017 UTC |
| 2 | eHX-CIF.zip\eHX-CIF\VAP Code Base\VAP_Bld2_Source_Code_CIF_2017-02-14\nvap-svc-facility\src\main\java\gov\va\nvap\svc\facility\intf | FacilityService.java | Mon Apr 3 14:10:10 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 132 |
| Changed | 2 | 4 |
| 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 | * 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. svc.facili ty.intf; | |
| 7 | ||
| 8 | import gov .va.nvap.s vc.facilit y.data.Fac ility; | |
| 9 | import gov .va.nvap.s vc.facilit y.data.Loc ation; | |
| 10 | ||
| 11 | import jav a.util.Col lection; | |
| 12 | ||
| 13 | /** | |
| 14 | * | |
| 15 | * @author vhaiswsas tra | |
| 16 | */ | |
| 17 | public int erface Fac ilityServi ce { | |
| 18 | ||
| 19 | /* * | |
| 20 | * Gets the list of Al l VistA Fa cilities t hat are a part of th e VA. | |
| 21 | * | |
| 22 | * @return T he list of all facil ities. | |
| 23 | * / | |
| 24 | Co llection<F acility> g etAllVistA Facilities (); | |
| 25 | ||
| 26 | /* * | |
| 27 | * Gets the list of Vi stA Facili ties that are curren tly allowe d to | |
| 28 | * participa te in the data shari ng pilot. | |
| 29 | * | |
| 30 | * @return T he list of facilitie s currentl y particip ating. | |
| 31 | * / | |
| 32 | Co llection<F acility> g etAllowedV istAFacili ties(); | |
| 33 | ||
| 34 | /* * | |
| 35 | * Gets a VA Facility by Station Number.. | |
| 36 | * | |
| 37 | * @param id A station Number su ch as 983. | |
| 38 | * @return A Facility correspond ing to Sta tion Numbe r. | |
| 39 | * @throws E ntityDoesN otExistExc eption | |
| 40 | * / | |
| 41 | pu blic Facil ity getFac ilityBySta tionNumber (String id ) throws E ntityDoesN otExistExc eption, Il legalArgum entExcepti on; | |
| 42 | ||
| 43 | /* * | |
| 44 | * Gets a fa cility bas ed on a VH A User id. A VHA us erID forma t is in th e form | |
| 45 | * <VHA><3Ch arLocation Code><Firs t5LastName ><First1Fi rstName> | |
| 46 | * Ex:
|
|
| 47 | * In other words this method sh ould extra ct charact ers betwee n 3-6 from the user id. | |
| 48 | * An ideal approach w ould've be en to retr ieve a use r facility from LDAP , had that been trac ked. | |
| 49 | * | |
| 50 | * @param id A Valid V HA User Id . | |
| 51 | * @return A Facility associated with the VHA User's id. | |
| 52 | * / | |
| 53 | Fa cility get VHAUserFac ility(Stri ng vhaUser Id) throws EntityDoe sNotExistE xception, IllegalArg umentExcep tion; | |
| 54 | ||
| 55 | /* * | |
| 56 | * Gets a VA Location by Code. | |
| 57 | * | |
| 58 | * Each Faci lity can h ave multip le Locatio ns. Here i s a list o f approved VA locati on codes | |
| 59 | * - http:/ /vaww4. DNS /NamingCon ventions/A pprovedLOC ATIONCodes .asp | |
| 60 | * | |
| 61 | * @param lo cationCode | |
| 62 | * A locati on code su ch as ISL, ISW, SLC etc. | |
| 63 | * @return A location correspond ing to loc ation code s. | |
| 64 | * @throws E ntityDoesN otExistExc eption | |
| 65 | * / | |
| 66 | pu blic Locat ion getLoc ationByCod e(String l ocationCod e) throws EntityDoes NotExistEx ception, I llegalArgu mentExcept ion; | |
| 67 | ||
| 68 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.