Produced by Araxis Merge on 12/13/2018 10:35:24 AM 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\service\report | StandardReportCriteria.java | Fri Dec 7 17:36:30 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\service\report | StandardReportCriteria.java | Wed Dec 12 19:46:44 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 130 |
| 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 | // Java cl asses | |
| 8 | import jav a.util.Map ; | |
| 9 | ||
| 10 | import org .apache.co mmons.lang 3.ClassUti ls; | |
| 11 | ||
| 12 | import gov .va.med.cc ht.model.r eport.Repo rtSetup; | |
| 13 | import gov .va.med.fw .security. UserPrinci pal; | |
| 14 | ||
| 15 | /** | |
| 16 | * | |
| 17 | * | |
| 18 | * Project : Common</ br> Create d on: 2:12 :09 PM </b r> | |
| 19 | * | |
| 20 | * @author DN S
|
|
| 21 | */ | |
| 22 | public cla ss Standar dReportCri teria exte nds Common Criteria { | |
| 23 | ||
| 24 | pr ivate stat ic final S tring REPO RT_SETUP = ClassUtil s.getShort ClassName( ReportSetu p.class); | |
| 25 | pr ivate stat ic final S tring REPO RT_USER = ClassUtils .getShortC lassName(U serPrincip al.class); | |
| 26 | ||
| 27 | /* * | |
| 28 | * An instan ce of seri alVersionU ID | |
| 29 | * / | |
| 30 | pr ivate stat ic final l ong serial VersionUID = -438223 2991833315 64L; | |
| 31 | ||
| 32 | /* * | |
| 33 | * A default construct or | |
| 34 | * / | |
| 35 | pu blic Stand ardReportC riteria() { | |
| 36 | supe r(); | |
| 37 | } | |
| 38 | ||
| 39 | /* * | |
| 40 | * A default construct or | |
| 41 | * | |
| 42 | * @param cr iteria | |
| 43 | * / | |
| 44 | pu blic Stand ardReportC riteria(Ma p criteria ) { | |
| 45 | supe r(criteria ); | |
| 46 | } | |
| 47 | ||
| 48 | pu blic void setReportS etup(Repor tSetup set up) { | |
| 49 | this .addCriter ion(REPORT _SETUP, se tup); | |
| 50 | } | |
| 51 | ||
| 52 | pu blic Repor tSetup get ReportSetu p() { | |
| 53 | Obje ct criteri on = this. getCriteri a().get(RE PORT_SETUP ); | |
| 54 | retu rn criteri on instanc eof Report Setup ? (R eportSetup ) criterio n : null; | |
| 55 | } | |
| 56 | ||
| 57 | pu blic void setReportU ser(UserPr incipal se tup) { | |
| 58 | this .addCriter ion(REPORT _USER, set up); | |
| 59 | } | |
| 60 | ||
| 61 | pu blic UserP rincipal g etReportUs er() { | |
| 62 | Obje ct criteri on = this. getCriteri a().get(RE PORT_USER) ; | |
| 63 | retu rn criteri on instanc eof UserPr incipal ? (UserPrinc ipal) crit erion : nu ll; | |
| 64 | } | |
| 65 | ||
| 66 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.