4138. EPMO Open Source Coordination Office Redaction File Detail Report

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

4138.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:17 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-svc-consent-mgmt\src\main\java\gov\va\nvap\svc\consentmgmt\stub\dao DelayReasonDAO.java Fri Apr 21 20:03:30 2017 UTC

4138.2 Comparison summary

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

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

4138.4 Active regular expressions

No regular expressions were active.

4138.5 Comparison detail

        1   package go v.va.nvap. svc.consen tmgmt.stub .dao;
        2  
        3   import gov .va.nvap.s vc.consent mgmt.stub. data.Delay Reason;
        4   import jav a.util.Arr ayList;
        5   import jav a.util.Lis t;
        6   import jav ax.persist ence.Entit yManager;
        7   import jav ax.persist ence.NoRes ultExcepti on;
        8   import jav ax.persist ence.Persi stenceCont ext;
        9   import jav ax.persist ence.Query ;
        10  
        11   /**
        12    *
        13    * @since  04/05/2016
        14    * @author  Johann So nnenberg
        15    */
        16   public cla ss DelayRe asonDAO {
        17  
        18       @Persi stenceCont ext
        19       privat e EntityMa nager em;
        20  
        21       public  void setE ntityManag er(EntityM anager ent ityManager ) {
        22           th is.em = en tityManage r;
        23       }
        24  
        25       public  List<Dela yReason> f indAll() {
        26           tr y {
        27                final Qu ery q = th is.em.crea teNamedQue ry("DelayR eason.find All");
        28                return ( List<Delay Reason>) q .getResult List();
        29           }  catch (fin al NoResul tException  nre) {
        30                return n ew ArrayLi st<DelayRe ason>();
        31           }
        32       }
        33  
        34       public  DelayReas on findByD elayReason Id(Long de layReasonI d) {
        35           tr y {
        36                final Qu ery q = th is.em.crea teNamedQue ry("DelayR eason.find ByDelayRea sonId");
        37                q.setPar ameter("de layReasonI d", delayR easonId);
        38                return ( DelayReaso n) q.getSi ngleResult ();
        39           }  catch (fin al NoResul tException  nre) {
        40                return n ew DelayRe ason();
        41           }
        42       }
        43  
        44       public  DelayReas on findByN ame(String  name) {
        45           tr y {
        46                final Qu ery q = th is.em.crea teNamedQue ry("DelayR eason.find ByName");
        47                q.setPar ameter("na me", name) ;
        48                return ( DelayReaso n) q.getSi ngleResult ();
        49           }  catch (fin al NoResul tException  nre) {
        50                return n ew DelayRe ason();
        51           }
        52       }
        53  
        54   }