Produced by Araxis Merge on 4/2/2019 1:06:54 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:\AraxisMergeCompare\Pri_un\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\dao\ewv | IEwvLinkedPdisRepository.java | Wed Mar 27 19:22:41 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\dao\ewv | IEwvLinkedPdisRepository.java | Thu Mar 28 17:50:42 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 146 |
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.a rs.dao.ewv ; | |
2 | ||
3 | import org .springfra mework.dat a.jpa.repo sitory.Jpa Repository ; | |
4 | import org .springfra mework.ste reotype.Re pository; | |
5 | ||
6 | import gov .va.med.do main.ewv.E wvLinkedPd is; | |
7 | import jav a.math.Big Decimal; | |
8 | import jav a.util.Lis t; | |
9 | ||
10 | /** | |
11 | * Reposit ory Interf ace used t o access t he informa tion in th e EWV_LINK ED_PDIS | |
12 | * table. | |
13 | * | |
14 | * @author DN S PANICV | |
15 | * | |
16 | */ | |
17 | @Repositor y | |
18 | public int erface IEw vLinkedPdi sRepositor y extends JpaReposit ory<EwvLin kedPdis, B igDecimal> { | |
19 | ||
20 | /* * | |
21 | * Reference material for below methods ob tained fro m: 1) | |
22 | * https://d ocs.spring .io/spring -data/jpa/ docs/1.5.0 .RC1/refer ence/html/ jpa.reposi tories.htm l | |
23 | * 2) | |
24 | * https://d ocs.spring .io/spring -data/jpa/ docs/1.5.0 .RC1/refer ence/html/ repositori es.html#re positories .query-met hods | |
25 | * 3) | |
26 | * https://d ocs.spring .io/spring -data/jpa/ docs/curre nt/api/org /springfra mework/dat a/jpa/repo sitory/Jpa Repository .html | |
27 | * 4) | |
28 | * https://s tackoverfl ow.com/que stions/465 91924/inse rt-a-new-r ow-using-j pareposito ry-in-java | |
29 | * 5) http:/ /www.javai nterviewpo int.com/sp ring-data- jpa-crud-e xample | |
30 | * / | |
31 | ||
32 | /* * | |
33 | * Built-in method tha t gets all the EwvLi nkedPdis o bjects in the | |
34 | * EWV_LINKE D_PDIS tab le. | |
35 | * | |
36 | * @return - a List of EwvLinked Pdis objec ts | |
37 | * / | |
38 | Li st<EwvLink edPdis> fi ndAll(); | |
39 | ||
40 | /* * | |
41 | * Built-in method tha t gets the EwvLinked Pdis objec t that has the given | |
42 | * unique "i d". | |
43 | * | |
44 | * @param id | |
45 | * - the un ique ident ifier of t he EwvLink edPdis obj ect one wi shes | |
46 | * to get f rom the Ew vLinkedPdi s table of the datab ase | |
47 | * | |
48 | * @return - the EwvLi nkedPdis o bject that has the g iven uniqu e "id" | |
49 | * / | |
50 | Ew vLinkedPdi s findOne( BigDecimal id); | |
51 | ||
52 | /* * | |
53 | * Built-in method tha t saves an d commits into the d atabase th e given | |
54 | * EwvLinked Pdis objec t into the EWV_LINKE D_PDIS tab le. This m ethod can be | |
55 | * used for both inser ting a new EwvLinked Pdis objec t or updat ing an | |
56 | * existing EwvLinkedP dis object in the da tabase. | |
57 | * | |
58 | * @param Ew vLinkedPdi s | |
59 | * - an Ewv LinkedPdis object to be insert ed or upda ted into t he | |
60 | * EWV_LINK ED_PDIS ta ble of the database | |
61 | * | |
62 | * | |
63 | * @return - the saved EwvLinked Pdis objec t that got either in serted or | |
64 | * u pdated int o the EWV_ LINKED_PDI S table of the datab ase | |
65 | * / | |
66 | @S uppressWar nings("unc hecked") | |
67 | Ew vLinkedPdi s saveAndF lush(EwvLi nkedPdis E wvLinkedPd is); | |
68 | ||
69 | Li st<EwvLink edPdis> fi ndByCurren tPdi(Strin g currentP di); | |
70 | ||
71 | Li st<EwvLink edPdis> fi ndByOrigin alPdi(Stri ng origina lPdi); | |
72 | ||
73 | Ew vLinkedPdi s findByGu id(BigDeci mal bigDec imal); | |
74 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.