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 | IEwvPdfReferenceRepository.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 | IEwvPdfReferenceRepository.java | Thu Mar 28 17:50:42 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 312 |
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 wvReferenc es; | |
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_REFE RENCES | |
12 | * table. | |
13 | * | |
14 | * @author DN S PEREZF | |
15 | * | |
16 | */ | |
17 | @Repositor y | |
18 | public int erface IEw vPdfRefere nceReposit ory extend s JpaRepos itory<EwvR eferences, BigDecima l> { | |
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 EwvRe ferences o bjects in the | |
34 | * EWV_REFER ENCES tabl e. | |
35 | * | |
36 | * @return - a List of EwvRefere nces objec ts | |
37 | * / | |
38 | // List<EwvRe ferences> findAll(); | |
39 | ||
40 | /* * | |
41 | * Built-in method tha t gets the EwvRefere nces objec t that has the given | |
42 | * unique "i d". | |
43 | * | |
44 | * @param id | |
45 | * - the un ique ident ifier of t he EwvRefe rences obj ect one wi shes | |
46 | * to get f rom the EW V_REFERENC ES table o f the data base | |
47 | * | |
48 | * @return - the EwvRe ferences o bject that has the g iven uniqu e "id" | |
49 | * / | |
50 | Ew vReference s findOne( BigDecimal id); | |
51 | ||
52 | /* * | |
53 | * Built-in method tha t gets a L ist of all the EwvRe ferences o bjects tha t | |
54 | * have the given "ref erenceName ". | |
55 | * | |
56 | * @param re ferenceNam e | |
57 | * - the Re ference Na me of inte rest | |
58 | * | |
59 | * @return - the List of EwvRefe rences obj ects that meet the s earch crit eria | |
60 | * / | |
61 | Li st<EwvRefe rences> fi ndByRefere nceName(St ring refer enceName); | |
62 | ||
63 | /* * | |
64 | * Built-in method tha t gets a L ist of all the EwvRe ferences o bjects tha t | |
65 | * have the given "ref erenceName " and "arc hive" valu e. | |
66 | * | |
67 | * @param re ferenceNam e | |
68 | * - the Re ference Na me of inte rest | |
69 | * @param ar chive | |
70 | * - the ar chive valu e of inter est; shoul d be "true " or "fals e" | |
71 | * | |
72 | * @return - the List of EwvRefe rences obj ects that meet the s earch crit eria | |
73 | * / | |
74 | Li st<EwvRefe rences> fi ndByRefere nceNameAnd Archive(St ring refer enceName, String arc hive); | |
75 | ||
76 | /* * | |
77 | * Built-in method tha t gets a L ist of all the EwvRe fences obj ects that have | |
78 | * the given "referenc eFileName" . | |
79 | * | |
80 | * @param re ferenceFil eName | |
81 | * - the Re ference Fi le Name of interest | |
82 | * | |
83 | * @return - the List of EwvRefe rences obj ects that meet the s earch crit eria | |
84 | * / | |
85 | Li st<EwvRefe rences> fi ndByRefere nceFileNam e(String r eferenceFi leName); | |
86 | ||
87 | /* * | |
88 | * Built-in method tha t gets a L ist of all the EwvRe ferences o bjects tha t | |
89 | * have the given "ref erenceFile Name" and "archive" value. | |
90 | * | |
91 | * @param re ferenceFil eName | |
92 | * - the Re ference Fi le Name of interest | |
93 | * @param ar chive | |
94 | * - the ar chive valu e of inter est; shoul d be "true " or "fals e" | |
95 | * | |
96 | * @return - the List of EwvRefe rences obj ects that meet the s earch crit eria | |
97 | * / | |
98 | Li st<EwvRefe rences> fi ndByRefere nceFileNam eAndArchiv e(String r eferenceFi leName, St ring archi ve); | |
99 | ||
100 | /* * | |
101 | * Built-in method tha t gets a L ist of all the EwvRe ferences o bjects tha t | |
102 | * have the given "ref erenceName " and "ref erenceFile Name". | |
103 | * | |
104 | * @param re ferenceNam e | |
105 | * - the Re ference Na me of inte rest | |
106 | * @param re ferenceFil eName | |
107 | * - the Re ference Fi le Name of interest | |
108 | * | |
109 | * @return - the List of EwvRefe rences obj ects that meet the s earch crit eria | |
110 | * / | |
111 | Li st<EwvRefe rences> fi ndByRefere nceNameAnd ReferenceF ileName(St ring refer enceName, String ref erenceFile Name); | |
112 | ||
113 | /* * | |
114 | * Built-in method tha t gets a L ist of all the EwvRe ferences o bjects tha t | |
115 | * have the given "ref erenceName ", "refere nceFileNam e" and "ar chive" val ue. | |
116 | * | |
117 | * @param re ferenceNam e | |
118 | * - the Re ference Na me of inte rest | |
119 | * @param re ferenceFil eName | |
120 | * - the Re ference Fi le Name of interest | |
121 | * @param ar chive | |
122 | * - the ar chive valu e of inter est; shoul d be "true " or "fals e" | |
123 | * | |
124 | * @return - the List of EwvRefe rences obj ects that meet the s earch crit eria | |
125 | * / | |
126 | Li st<EwvRefe rences> fi ndByRefere nceNameAnd ReferenceF ileNameAnd Archive(St ring refer enceName, | |
127 | String reference FileName, String arc hive); | |
128 | ||
129 | /* * | |
130 | * Built-in method tha t gets a L ist of all the EwvRe fences obj ects that have | |
131 | * the given "archive" value. | |
132 | * | |
133 | * @param ar chive | |
134 | * - the ar chive valu e of inter est; shoul d be "true " or "fals e" | |
135 | * @return - the List of EwvRefe rences obj ects that meet the s earch crit eria | |
136 | * / | |
137 | Li st<EwvRefe rences> fi ndByArchiv e(String a rchive); | |
138 | ||
139 | /* * | |
140 | * Built-in method tha t saves an d commits into the d atabase th e given | |
141 | * EwvRefere nces objec t into the EWV_REFER ENCES tabl e. This me thod can b e | |
142 | * used for both inser ting a new EwvRefere nces objec t or updat ing an | |
143 | * existing EwvReferen ces object in the da tabase. | |
144 | * | |
145 | * @param ew vReference s | |
146 | * - an Ewv References object to be insert ed or upda ted into t he | |
147 | * EWV_REFE RENCES tab le of the database | |
148 | * | |
149 | * | |
150 | * @return - the saved EwvRefere nces objec t that got either in serted or | |
151 | * u pdated int o the EWV_ REFERENCES table of the databa se | |
152 | * / | |
153 | /* @S uppressWar nings("unc hecked") | |
154 | Ew vReference s saveAndF lush(EwvRe ferences e wvReferenc es);*/ | |
155 | ||
156 | Ew vReference s findByGu id(BigDeci mal bigDec imal); | |
157 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.