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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\service\report | StandardReportBuilder.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 | StandardReportBuilder.java | Mon Jun 10 19:21:31 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 178 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 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 gov .va.med.cc ht.model.r eport.Repo rtSetup; | |
| 8 | // Framewo rk classes | |
| 9 | import gov .va.med.fw .report.Co nfigurable ReportBuil der; | |
| 10 | import gov .va.med.fw .report.Re portConfig uration; | |
| 11 | import gov .va.med.fw .report.Re portExcept ion; | |
| 12 | import gov .va.med.fw .report.da ta.QueryCr iteria; | |
| 13 | import gov .va.med.fw .report.da ta.ReportD ata; | |
| 14 | import gov .va.med.fw .report.da ta.ReportD ataService ; | |
| 15 | ||
| 16 | // ESR cla sses | |
| 17 | ||
| 18 | /** | |
| 19 | * Allows concrete r eport buil der implem entations to be conf igured thr ough | |
| 20 | * spring context fi le | |
| 21 | * | |
| 22 | * Project : Framewor k</br> Cre ated on: 4 :59:46 PM </br> | |
| 23 | * | |
| 24 | * @author DNS | |
| 25 | */ | |
| 26 | public cla ss Standar dReportBui lder exten ds Configu rableRepor tBuilder { | |
| 27 | ||
| 28 | pr ivate stat ic final l ong serial VersionUID = -539360 6047148762 963L; | |
| 29 | ||
| 30 | pu blic Stand ardReportB uilder(fin al ReportD ataService reportDat aService) { | |
| 31 | supe r(reportDa taService) ; | |
| 32 | } | |
| 33 | ||
| 34 | /* * | |
| 35 | * @see gov. va.med.fw. report.Rep ortBuilder #buildRepo rt(gov.va. med.fw.rep ort.Report Configurat ion) | |
| 36 | * / | |
| 37 | pu blic void buildRepor t(ReportCo nfiguratio n configur ation) thr ows Report Exception { | |
| 38 | supe r.buildRep ort(setRep ortSetupCo py(configu ration)); | |
| 39 | } | |
| 40 | ||
| 41 | /* * | |
| 42 | * @see gov. va.med.fw. report.Rep ortBuilder #buildRepo rt(gov.va. med.fw.rep ort.Report Configurat ion, | |
| 43 | * gov. va.med.fw. report.dat a.ReportDa ta) | |
| 44 | * / | |
| 45 | pu blic void buildRepor t(ReportCo nfiguratio n configur ation, Rep ortData da ta) | |
| 46 | throws ReportExc eption { | |
| 47 | supe r.buildRep ort(setRep ortSetupCo py(configu ration), d ata); | |
| 48 | } | |
| 49 | ||
| 50 | /* * | |
| 51 | * @see gov. va.med.fw. service.Ab stractComp onent#afte rPropertie sSet() | |
| 52 | * / | |
| 53 | pu blic void afterPrope rtiesSet() throws Ex ception { | |
| 54 | supe r.afterPro pertiesSet (); | |
| 55 | } | |
| 56 | ||
| 57 | /* * | |
| 58 | * | |
| 59 | * @param co nfiguratio n | |
| 60 | * @throws R eportExcep tion | |
| 61 | * / | |
| 62 | pr otected Re portConfig uration se tReportSet upCopy(Rep ortConfigu ration con figuration ) | |
| 63 | throws ReportExc eption { | |
| 64 | Quer yCriteria criteria = configura tion.getQu eryCriteri a(); | |
| 65 | Stan dardReport Criteria r eportCrite ria = crit eria insta nceof Stan dardReport Criteria ? (Standard ReportCrit eria) crit eria | |
| 66 | : null; | |
| 67 | if(r eportCrite ria != nul l){ | |
| 68 | Report Setup repo rtSetup = reportCrit eria.getRe portSetup( ); | |
| 69 | Report Setup repo rtSetupCop y = getRep ortSetupCo py(reportS etup); | |
| 70 | report Criteria.s etReportSe tup(report SetupCopy) ; | |
| 71 | } | |
| 72 | return configura tion; | |
| 73 | } | |
| 74 | ||
| 75 | /* * | |
| 76 | * This meth od returns copy of g etReportSe tup. | |
| 77 | * | |
| 78 | * @param co nfig | |
| 79 | * @return | |
| 80 | * @throws R eportExcep tion | |
| 81 | * / | |
| 82 | pr otected Re portSetup getReportS etupCopy(R eportSetup reportSet up) throws ReportExc eption { | |
| 83 | Repo rtSetup ne wReportSet up = null; | |
| 84 | if ( reportSetu p != null) { | |
| 85 | newRep ortSetup = new Repor tSetup(); | |
| 86 | } | |
| 87 | retu rn newRepo rtSetup; | |
| 88 | } | |
| 89 | ||
| 90 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.