Produced by Araxis Merge on 6/9/2017 3:51:18 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:51:17 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-svc-consent-mgmt\src\main\java\gov\va\nvap\svc\consentmgmt\stub\dao | LetterTypeDAO.java | Fri Apr 21 20:03:30 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 36 |
| 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.nvap. svc.consen tmgmt.stub .dao; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.s vc.consent mgmt.stub. data.Lette rType; | |||||
| 4 | import jav a.util.Arr ayList; | |||||
| 5 | import jav a.util.Lis t; | |||||
| 6 | import jav ax.persist ence.Entit yManager; | |||||
| 7 | import jav ax.persist ence.NoRes ultExcepti on; | |||||
| 8 | import jav ax.persist ence.Persi stenceCont ext; | |||||
| 9 | import jav ax.persist ence.Query ; | |||||
| 10 | import org .springfra mework.tra nsaction.a nnotation. Transactio nal; | |||||
| 11 | ||||||
| 12 | /** | |||||
| 13 | * | |||||
| 14 | * @since 06/02/2016 | |||||
| 15 | * @author Johann So nnenberg | |||||
| 16 | */ | |||||
| 17 | public cla ss LetterT ypeDAO { | |||||
| 18 | ||||||
| 19 | @Persi stenceCont ext | |||||
| 20 | privat e EntityMa nager em; | |||||
| 21 | ||||||
| 22 | public void setE ntityManag er(EntityM anager ent ityManager ) { | |||||
| 23 | th is.em = en tityManage r; | |||||
| 24 | } | |||||
| 25 | ||||||
| 26 | @Trans actional | |||||
| 27 | public List<Lett erType> li stAll() { | |||||
| 28 | tr y { | |||||
| 29 | final Qu ery q = th is.em.crea teQuery("S ELECT t FR OM LetterT ype t ORDE R BY t.nam e DESC"); | |||||
| 30 | ||||||
| 31 | return ( List<Lette rType>) q. getResultL ist(); | |||||
| 32 | } catch (fin al NoResul tException nre) { | |||||
| 33 | return n ew ArrayLi st<LetterT ype>(); | |||||
| 34 | } | |||||
| 35 | } | |||||
| 36 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.