97. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/20/2017 5:56:12 PM 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.

97.1 Files compared

# Location File Last Modified
1 Genisis_2.0_v6_bld6.zip\Source Code\UI\Services\src\main\java\gov\va\genisis2\converter RefreshHistoryConverter.java Thu Dec 14 19:57:07 2017 UTC
2 Genisis_2.0_v6_bld6.zip\Source Code\UI\Services\src\main\java\gov\va\genisis2\converter RefreshHistoryConverter.java Wed Dec 20 22:08:45 2017 UTC

97.2 Comparison summary

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

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

97.4 Active regular expressions

No regular expressions were active.

97.5 Comparison detail

  1   package go v.va.genis is2.conver ter;
  2  
  3   import org .springfra mework.ste reotype.Co mponent;
  4  
  5   import gov .va.genisi s2.common. enums.Refr eshStatusE num;
  6   import gov .va.genisi s2.model.R efreshHist ory;
  7   import gov .va.genisi s2.util.Da teUtil;
  8  
  9   /**
  10    * This cl ass is use d to conve rt Refresh HistoryDTO  to UserRe freshHisto ry entity
  11    * and vic e-versa.
  12    * 
  13    * @author  P II
  14    *
  15    */
  16   @Component
  17   public cla ss Refresh HistoryCon verter {
  18  
  19           pu blic Refre shHistory  populateUs erRefreshH istory(Str ing userna me, String  jobType)  {
  20                    Refr eshHistory  refreshHi story = ne w RefreshH istory();
  21  
  22                    refr eshHistory .setSchedu ledBy(user name);
  23                    refr eshHistory .setStartD ate(DateUt il.getToda ysDate());
  24                    refr eshHistory .setStatus (RefreshSt atusEnum.S TARTED.get Desc());
  25                    refr eshHistory .setJobTyp e(jobType) ;
  26                    retu rn refresh History;
  27           }
  28  
  29           pu blic Refre shHistory  populateUs erRefreshH istory(Ref reshHistor y refreshH istory) {
  30                    refr eshHistory .setEndDat e(DateUtil .getTodays Date());
  31                    refr eshHistory .setStatus (RefreshSt atusEnum.C OMPLETED.g etDesc());
  32  
  33                    retu rn refresh History;
  34           }
  35  
  36           pu blic Refre shHistory  populateUs erRefreshH istory(Ref reshHistor y refreshH istory, St ring error Message) {
  37                    refr eshHistory .setStatus (RefreshSt atusEnum.F AILED.getD esc());
  38                    refr eshHistory .setErrorM essage(err orMessage) ;
  39  
  40                    retu rn refresh History;
  41           }
  42  
  43           pu blic Refre shHistory  populateSt udyApprova lRefreshHi story(Stri ng usernam e) {
  44                    Refr eshHistory  refreshHi story = ne w RefreshH istory();
  45  
  46                    refr eshHistory .setSchedu ledBy(user name);
  47                    refr eshHistory .setStartD ate(DateUt il.getToda ysDate());
  48                    refr eshHistory .setStatus (RefreshSt atusEnum.S TARTED.get Desc());
  49                    refr eshHistory .setJobTyp e("StudyAp proval");
  50                    retu rn refresh History;
  51           }
  52  
  53           pu blic Refre shHistory  populateSt udyApprova lRefreshHi story(Refr eshHistory  refreshHi story) {
  54                    refr eshHistory .setEndDat e(DateUtil .getTodays Date());
  55                    refr eshHistory .setStatus (RefreshSt atusEnum.C OMPLETED.g etDesc());
  56  
  57                    retu rn refresh History;
  58           }
  59  
  60           pu blic Refre shHistory  populateSt udyApprova lRefreshHi story(Refr eshHistory  refreshHi story, Str ing errorM essage) {
  61                    refr eshHistory .setStatus (RefreshSt atusEnum.F AILED.getD esc());
  62                    refr eshHistory .setErrorM essage(err orMessage) ;
  63  
  64                    retu rn refresh History;
  65           }
  66   }