20. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 11/9/2017 4:31:02 PM Central 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.

20.1 Files compared

# Location File Last Modified
1 PPS-N_B397.zip\PPS-N_B397\PPS-N_B397\PS_PPS_domain\src\main\java\gov\va\med\pharmacy\peps\domain\common\dao\impl EplVistaUpdateStatusDaoImpl.java Thu Nov 9 15:00:20 2017 UTC
2 PPS-N_B397.zip\PPS-N_B397\PPS-N_B397\PS_PPS_domain\src\main\java\gov\va\med\pharmacy\peps\domain\common\dao\impl EplVistaUpdateStatusDaoImpl.java Thu Nov 9 19:37:45 2017 UTC

20.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 100
Changed 1 2
Inserted 0 0
Removed 0 0

20.3 Comparison options

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

20.4 Active regular expressions

No regular expressions were active.

20.5 Comparison detail

  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      CARUSR
  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   }