71. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/11/2019 10:54:10 AM 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.

71.1 Files compared

# Location File Last Modified
1 HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\service\report StandardReportService.java Wed May 29 15:26:02 2019 UTC
2 HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\service\report StandardReportService.java Mon Jun 10 19:27:46 2019 UTC

71.2 Comparison summary

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

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

71.4 Active regular expressions

No regular expressions were active.

71.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrig ht � 2010  VHA. All r ights rese rved
  3    ********* ********** ********** ********** ********** ********** *********/
  4   // Package
  5   package go v.va.med.c cht.servic e.report;
  6  
  7   import jav a.io.Seria lizable;
  8   import jav a.text.Par seExceptio n;
  9   import jav a.util.Dat e;
  10   import jav a.util.Lin kedHashMap ;
  11   import jav a.util.Lis t;
  12   import jav a.util.Map ;
  13  
  14   import gov .va.med.cc ht.model.r eport.Comp letedRepor t;
  15   import gov .va.med.cc ht.model.r eport.Comp letedRepor tFieldType ;
  16   import gov .va.med.cc ht.model.r eport.Repo rtSetup;
  17   import gov .va.med.cc ht.model.r eport.Sche duledRepor t;
  18   import gov .va.med.cc ht.model.r eport.Simp leComplete dReport;
  19   import gov .va.med.cc ht.model.t erminology .StandardR eport;
  20   import gov .va.med.fw .model.Ent ityKey;
  21   import gov .va.med.fw .persisten t.NoRecord FoundExcep tion;
  22   import gov .va.med.fw .report.Re portExcept ion;
  23   import gov .va.med.fw .security. UserPrinci pal;
  24   import gov .va.med.fw .service.S erviceExce ption;
  25  
  26   /**
  27    * Provide s methods  for schedu ling, gene rating, an d viewing  reports, r eport
  28    * schedul es, and re port setup s. These m ethods are  mainly in voked by t he ESR UI
  29    * layer t o display  reports, r eport setu ps on the  screen.
  30    * 
  31    * Project : Common</ br> Create d on: 11:2 5:09 AM </ br>
  32    * 
  33    * @author   DN S
  34    */
  35   public int erface Sta ndardRepor tService e xtends Ser ializable  {
  36  
  37           /* *
  38            *  Gets a li st of stan dard repor ts. This m ethod is i ntended fo r a Schedu led
  39            *  Reports s creen.
  40            * /
  41           @S uppressWar nings("unc hecked")
  42           Li st getStan dardReport s() throws  ServiceEx ception;
  43  
  44           /* *
  45            *  Gets a li st of stan dard repor ts accessi ble for th e user. Th is method  is
  46            *  intended  for a Sche duled Repo rts screen .
  47            *  
  48            *  @param us er
  49            *              The user  who setup  the repor ts.
  50            * /
  51           Li st<Standar dReport> g etStandard Reports(Us erPrincipa l user) th rows Servi ceExceptio n;
  52  
  53           /* *
  54            *  
  55            *  @param id entifier
  56            *  @return R eportSetup  with the  specified  id or null  if not fo und
  57            *  @throws S erviceExce ption
  58            * /
  59           Sc heduledRep ort getSch eduledRepo rt(EntityK ey<Schedul edReport>  identifier ) throws S erviceExce ption;
  60  
  61           /* *
  62            *  Add or up date a Com pletedRepo rt
  63            *  
  64            *  @param re portSetup
  65            *  @throws S erviceExce ption
  66            * /
  67           Sc heduledRep ort saveSc heduledRep ort(Schedu ledReport  scheduledR eport, boo lean conve rtToText)  throws Ser viceExcept ion;
  68           vo id updateS cheduledRe port(Sched uledReport  scheduled Report)
  69                             throws  ServiceEx ception;
  70  
  71           /* *
  72            *  
  73            *  @param id entifier
  74            *  @return C ompletedRe port with  the specif ied id or  null if no t found.
  75            *  @throws S erviceExce ption
  76            * /
  77           Co mpletedRep ort getCom pletedRepo rt(EntityK ey<Complet edReport>  identifier )
  78                             throws  ServiceEx ception;
  79  
  80           vo id saveRep ortCriteri a(ReportSe tup report Setup) thr ows Servic eException ;
  81  
  82           /* *
  83            *  Generates  a report  asynchrono usly with  the specif ic report  setup. Thi s
  84            *  method is  intended  for a Repo rt setup s creen when  a user pr esses a bu tton
  85            *  to genera te a repor t asynchro nously.
  86            *  
  87            *  @param us er
  88            *              A curren t logged-i n user
  89            *  @param se tup
  90            *              A report  setup to  generate a  report
  91            * /
  92           vo id generat eReport(Re portSetup  setup) thr ows Servic eException ;
  93  
  94           /* *
  95            *  Generates  a report  asynchrono usly with  the specif ic report  data in th e
  96            *  Map. Usef ul for per sistence o f generate Report arg uments int o a databa se.
  97            *  
  98            *  @param re portData
  99            *              ReportDa ta abiding  by keys i n Standard ReportServ ice
  100            * /
  101           vo id buildRe port(Repor tSetup set up) throws  ServiceEx ception;
  102  
  103           /* *
  104            *  Generates  a report  asynchrono usly with  the specif ic report  setup. Thi s
  105            *  method is  intended  for a Repo rt setup s creen when  a user pr esses a bu tton
  106            *  to genera te a repor t asynchro nously.
  107            *  
  108            *  @param us er
  109            *              A curren t logged-i n user
  110            *  @param cr iteria
  111            *              An OPP r eport crit eria to ge nerate an  OPP report
  112            * /
  113  
  114           /* *
  115            *  Schedules  a report  generation . This met hod is int ended for  a Report
  116            *  schedule  screen whe n a user p resses a b utton to s chedule a  report
  117            *  generatio n.
  118            *  
  119            *  @param us er
  120            *              A curren t logged-i n user
  121            *  @param se tup
  122            *              A report  schedule  to schedul e for a re port gener ation
  123            * /
  124           vo id schedul eReport(Sc heduledRep ort schedu ledReport)  throws Se rviceExcep tion;
  125  
  126           /* *
  127            *  Cancels a  previousl y schedule d report.  The Report Setup will  be delete d,
  128            *  and any s cheduled t riggers wi ll be unsc heduled.
  129            *  
  130            *  @param id entifier
  131            *  @throws S erviceExce ption
  132            * /
  133           vo id cancelS cheduledRe port(Entit yKey<Sched uledReport > identifi er)
  134                             throws  NoRecordF oundExcept ion, Servi ceExceptio n;
  135  
  136           /* *
  137            *  Returns t he SimpleC ompletedRe port for t he given i dentifier.
  138            *  
  139            *  @param id entifier
  140            *  @return
  141            *  @throws S erviceExce ption
  142            * /
  143           Si mpleComple tedReport  getSimpleC ompletedRe port(Entit yKey<Simpl eCompleted Report> id entifier)
  144                             throws  ServiceEx ception;
  145  
  146           /* *
  147            *  Returns C ompleted R eport para meters as  ReportSetu p
  148            *  
  149            *  @param id entifier
  150            *  @return
  151            *  @throws S erviceExce ption
  152            *  @throws P arseExcept ion 
  153            * /
  154           Re portSetup  getComplet edReportPa rameters(E ntityKey<S impleCompl etedReport > identifi er)
  155                             throws  ServiceEx ception, P arseExcept ion;
  156  
  157           /* *
  158            *  This meth od deleted  completed  report.
  159            *  
  160            *  @param id entifier
  161            *  @param us er
  162            *  @throws N oRecordFou ndExceptio n
  163            *  @throws S erviceExce ption
  164            * /
  165  
  166           vo id deleteC ompletedRe port(Entit yKey<Compl etedReport > identifi er, UserPr incipal us er)
  167                             throws  NoRecordF oundExcept ion, Servi ceExceptio n;
  168  
  169           /* *
  170            *  This meth od inactiv ates a com pleted rep ort.
  171            *  
  172            *  @param id entifier
  173            *  @param us er
  174            *  @throws N oRecordFou ndExceptio n
  175            *  @throws S erviceExce ption
  176            * /
  177           vo id inactiv ateComplet edReport(E ntityKey<C ompletedRe port> iden tifier, Us erPrincipa l user)
  178                             throws  NoRecordF oundExcept ion, Servi ceExceptio n, ReportE xception;
  179  
  180           /* *
  181            *  This meth od purges  all those  inactive r eports whi ch are old er than
  182            *  specified  system pa rameter. A t present,  only batc h process  uses this
  183            *  method.
  184            *  
  185            *  @return
  186            *  @throws S erviceExce ption
  187            * /
  188           In teger purg eCompleted Reports()  throws Ser viceExcept ion;
  189  
  190           Ma p<String,  String> ge tExpiringR eportIdUse rMap() thr ows Servic eException ;
  191  
  192           /* *
  193            *  This meth od returns  all the i nformation  required  to display  filter
  194            *  dropdown  menus on c ompleted r eports scr een.
  195            *  
  196            *  @return
  197            *  @throws S erviceExce ption
  198            * /
  199           Re portFilter  getComple tedReportF ilter() th rows Servi ceExceptio n;
  200  
  201           vo id updateC ompletedRe port(Simpl eCompleted Report sim pleComplet edReport)  throws Ser viceExcept ion;
  202  
  203           /* *
  204            *  Returns a  table con taining th e next <nu mDates> oc currences  of the rep ort
  205            *  execution  after (an d not incl uding) the  specified  <starting Date>. Eac h
  206            *  array in  the return ed list wi ll contain  three val ues:
  207            *  <ol>
  208            *  <li>The r eport exec ution date
  209            *  <li>the c alculated  start date  of the re port data  on that da te
  210            *  <li>the c alculated  end date o f the repo rt data on  that date
  211            *  </ol>
  212            *  The retur ned List w ill always  be non-nu ll, althou gh it may  have zero
  213            *  number of  rows.
  214            *  
  215            *  @param us er
  216            *              The user  requestin g the prev iew
  217            *  @param re portSetup
  218            *              The Repo rtSetup wh ose schedu le and par ameters we  consider  when
  219            *              calculat ing the pr eview text
  220            *  @param nu mDates
  221            *              The numb er of date s to calcu late
  222            *  @param st artingDate
  223            *              The star ting date  after whic h the resu lts will b e populate d
  224            *  @return S ee descrip tion
  225            *  @throws S erviceExce ption
  226            *               If ther e were any  Quartz sc heduling e rrors or o ther issue s
  227            * /
  228           Li st<Date[]>  getSchedu lePreview( UserPrinci pal user,  ReportSetu p reportSe tup, int n umDates,
  229                             Date s tartingDat e) throws  ServiceExc eption;
  230           Li st<Schedul edReport>  searchSche duledRepor ts(ReportF ilterSearc hQueryInfo  searchQue ryInfo) th rows Servi ceExceptio n;
  231           Li st<SimpleC ompletedRe port> sear chComplete dReports(C ompletedRe portsSearc hQueryInfo  searchQue ryInfo) th rows Servi ceExceptio n;
  232           Li nkedHashMa p<String,  String> ge tUniqueFil terValues( CompletedR eportField Type field Type);
  233   }