Produced by Araxis Merge on 3/8/2018 10:11:37 AM Eastern Standard 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 | PRE_PPS-N_v3.0.1.zip\PS_PPS_domain\src\main\java\gov\va\med\pharmacy\peps\domain\common\dao\impl | EplVistaUpdateStatusDaoImpl.java | Fri Jan 12 15:42:46 2018 UTC |
2 | PRE_PPS-N_v3.0.1.zip\PS_PPS_domain\src\main\java\gov\va\med\pharmacy\peps\domain\common\dao\impl | EplVistaUpdateStatusDaoImpl.java | Tue Mar 6 23:54:17 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 100 |
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 | /** | |
2 | * | |
3 | */ | |
4 | package go v.va.med.p harmacy.pe ps.domain. common.dao .impl; | |
5 | ||
6 | import gov .va.med.ph armacy.pep s.common.o bject.Vist aStatus; | |
7 | import gov .va.med.ph armacy.pep s.domain.c ommon.dao. EplVistaUp dateStatus Dao; | |
8 | import gov .va.med.ph armacy.pep s.domain.c ommon.mode l.EplVista StatusDo; | |
9 | ||
10 | import jav ax.annotat ion.Resour ce; | |
11 | ||
12 | import org .hibernate .Criteria; | |
13 | import org .hibernate .SessionFa ctory; | |
14 | import org .hibernate .criterion .Restricti ons; | |
15 | import org .springfra mework.ste reotype.Re pository; | |
16 | ||
17 | ||
18 | /** | |
19 | * @author DN S DN S
|
|
20 | * | |
21 | */ | |
22 | @Repositor y | |
23 | public cla ss EplVist aUpdateSta tusDaoImpl extends D ataAccessO bjectImpl< EplVistaSt atusDo, Lo ng> implem ents EplVi staUpdateS tatusDao { | |
24 | ||
25 | @Resou rce | |
26 | privat e SessionF actory ses sionFactor y; | |
27 | ||
28 | @Overr ide | |
29 | public EplVistaS tatusDo ge tStatusByN ame(VistaS tatus stat us){ | |
30 | Cr iteria cri teria = ge tSessionFa ctory().ge tCurrentSe ssion().cr eateCriter ia(EplVist aStatusDo. class); | |
31 | cr iteria.add (Restricti ons.eq("st atusName", status.to String())) ; | |
32 | re turn (EplV istaStatus Do) criter ia.uniqueR esult(); | |
33 | } | |
34 | ||
35 | /** | |
36 | * @re turn the s essionFact ory | |
37 | */ | |
38 | @Overr ide | |
39 | public SessionFa ctory getS essionFact ory() { | |
40 | re turn sessi onFactory; | |
41 | } | |
42 | ||
43 | /** | |
44 | * @pa ram sessio nFactory t he session Factory to set | |
45 | */ | |
46 | @Overr ide | |
47 | public void setS essionFact ory(Sessio nFactory s essionFact ory) { | |
48 | th is.session Factory = sessionFac tory; | |
49 | } | |
50 | ||
51 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.