2. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/8/2017 1:33:39 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.

2.1 Files compared

# Location File Last Modified
1 PC_CP4_CiF.zip\FPPS_Backend\fpps_app\src\main\java\gov\va\med\fee\dao IPrivacyRestrictionRepo.java Fri Dec 8 17:53:42 2017 UTC
2 PC_CP4_CiF.zip\FPPS_Backend\fpps_app\src\main\java\gov\va\med\fee\dao IPrivacyRestrictionRepo.java Fri Dec 8 18:28:28 2017 UTC

2.2 Comparison summary

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

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

2.4 Active regular expressions

No regular expressions were active.

2.5 Comparison detail

  1   package go v.va.med.f ee.dao;
  2   import jav a.util.Lis t;
  3  
  4   import org .springfra mework.dat a.jpa.repo sitory.Jpa Repository ;
  5   import org .springfra mework.dat a.jpa.repo sitory.Mod ifying;
  6   import org .springfra mework.dat a.jpa.repo sitory.Que ry;
  7   import org .springfra mework.dat a.reposito ry.query.P aram;
  8   import org .springfra mework.ste reotype.Re pository;
  9   import org .springfra mework.tra nsaction.a nnotation. Transactio nal;
  10  
  11   import gov .va.med.do main.fee.P rivacyToPe rson;
  12  
  13  
  14  
  15  
  16   /**
  17    * 
  18    * @author   DN S      YIBRIK
  19    * email :  yibrieked ir@gmail.c om
  20    *
  21    */
  22   @Repositor y
  23   public int erface IPr ivacyRestr ictionRepo  extends J paReposito ry<Privacy ToPerson,  Long> {
  24           
  25           /* *
  26            *  
  27            *  @param us erName
  28            *  @param pe rsonId
  29            *  @param re ason
  30            *  @param ty pe
  31            *  @param ap pUser
  32            *  accepts t hese param eters and  inserts to  DB, \
  33            * /
  34           
  35                @Modifyi ng
  36                @Query(v alue ="INS ERT INTO "
  37                                      + "fpps_ owner.priv acy_to_per son "
  38                                      + " (pri vacy_reque st_id"
  39                                      + ", use r_name, pe rson_id,"
  40                                      + " reas on,"
  41                                      + " requ est_type_f lag,"
  42                                      + " crea ted_by, da te_created ) "
  43                         + " VALUES  (fpps_own er.mig.nex tval, :ntn ame, :ssn,  :reason,  :type, :ap puser, sys date)",nat iveQuery=t rue)
  44             
  45                
  46                
  47                @Transac tional
  48                void add PrivacyRes triction(
  49                             @Param ("ntname")  String us erName,
  50                             @Param ("ssn") St ring perso nId,
  51                         @Param("re ason") Str ing reason ,
  52                             @Param ("type") S tring type ,
  53                             @Param ("appuser" ) String a ppUser
  54                             );
  55            
  56  
  57           @Q uery(value  =" SELECT  "
  58                             + "c.c laim_index  " 
  59                             + "FRO M claims c , "
  60                             + "per son_info p  "
  61                + " WHER E c.claim_ index=p.cl aim_index  "
  62                + " AND  UPPER(c.us er_name)=U PPER(:ntna me) AND p. person_id= :ssn",nati veQuery=tr ue)
  63           Li st<Integer > checkCla imAssociat edWithTheU ser(@Param ("ntname") String ntN ame , @Par am("ssn")S tring ssn) ;
  64           
  65           
  66           @Q uery(value =" SELECT  COUNT(*) F ROM fpps_o wner.priva cy_to_pers on p "
  67                    + "  WHERE UPPE R(p.user_n ame)=UPPER (:ntname)  AND p.pers on_id=:ssn ",nativeQu ery=true)
  68           in t checkPri vacyRestri ctionExist anceInDB(@ Param("ntn ame")Strin g ntName ,  @Param("s sn")String  ssn);
  69  
  70      }
  71           
  72  
  73