4275. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:51:25 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.

4275.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:25 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-web\src\main\java\gov\va\nvap\web\dao UserAuditDAO.java Fri Apr 21 20:03:30 2017 UTC

4275.2 Comparison summary

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

4275.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

4275.4 Active regular expressions

No regular expressions were active.

4275.5 Comparison detail

        1   /*
        2    * To chan ge this li cense head er, choose  License H eaders in  Project Pr operties.
        3    * To chan ge this te mplate fil e, choose  Tools | Te mplates
        4    * and ope n the temp late in th e editor.
        5    */
        6   package go v.va.nvap. web.dao;
        7  
        8   import jav a.util.Lis t;
        9   import jav ax.persist ence.Entit yManager;
        10   import jav ax.persist ence.Persi stenceCont ext;
        11   import jav ax.persist ence.Query ;
        12   import jav a.util.Dat e;
        13  
        14   /**
        15    *
        16    * @author  Raul Alfa ro
        17    */
        18   public cla ss UserAud itDAO {
        19       @Persi stenceCont ext
        20           pr ivate Enti tyManager  em;
        21  
        22       /**
        23        * Set  the entit y manager  (Injected  by Spring) .
        24        * @pa ram em
        25        */
        26       public  void setE ntityManag er(final E ntityManag er em) {
        27           th is.em = em ;
        28       }
        29       
        30       /**
        31        * cre ates query  with two  parameters  that need  to be fil led in, st artDate an d endDate,  both incl usive
        32        * @re turn 
        33        */
        34       privat e Query ma keHourlyCo untQuery() {
        35           re turn this. em.createN amedQuery( "UserAcces sAudit.hou rCount");
        36       }
        37       
        38       /**
        39        * Get s count fo r log ins  between pr ovided dat es, dates  should inc lude times tamps
        40        * @pa ram query
        41        * @pa ram startD ate
        42        * @pa ram endDat e
        43        * @re turn 
        44        */
        45       public  final Lis t<Object>  getResults (final Dat e startDat e, final D ate endDat e){
        46           
        47           fi nal Query  query = ma keHourlyCo untQuery() ;
        48           // add parame ter dats t o query
        49           qu ery.setPar ameter("st artDate",  startDate) ;
        50           qu ery.setPar ameter("en dDate", en dDate);
        51           
        52           re turn query .getResult List();
        53       }
        54       
        55       
        56   }