Produced by Araxis Merge on 9/15/2018 10:48:58 PM 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 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_user\mhv-usermgmt-portal-portlet\src\main\java\gov\va\med\mhv\usermgmt\web\converter | UserProfileFormConverter.java | Thu Aug 23 20:25:40 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_user\mhv-usermgmt-portal-portlet\src\main\java\gov\va\med\mhv\usermgmt\web\converter | UserProfileFormConverter.java | Sat Sep 15 23:00:24 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 282 |
| 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 | * | |
| 3 | */ | |
| 4 | package go v.va.med.m hv.usermgm t.web.conv erter; | |
| 5 | ||
| 6 | import org .springfra mework.cor e.convert. converter. Converter; | |
| 7 | ||
| 8 | import gov .va.med.mh v.common.a pi.dto.Use rProfileDT O; | |
| 9 | import gov .va.med.mh v.usermgmt .web.formb ean.UserPr ofile; | |
| 10 | ||
| 11 | /** | |
| 12 | * @author DNS | |
| 13 | * | |
| 14 | */ | |
| 15 | public cla ss UserPro fileFormCo nverter im plements C onverter<U serProfile , UserProf ileDTO> { | |
| 16 | ||
| 17 | @O verride | |
| 18 | pu blic UserP rofileDTO convert(Us erProfile src) { | |
| 19 | User ProfileDTO target = new UserPr ofileDTO() ; | |
| 20 | ||
| 21 | targ et.setAcce ptDisclaim er(src.get AcceptDisc laimer()); | |
| 22 | targ et.setAcce ptPrivacy( src.getAcc eptPrivacy ()); | |
| 23 | targ et.setAcce ptSMTerms( src.getAcc eptSMTerms ()); | |
| 24 | targ et.setAcce ptTerms(sr c.getAccep tTerms()); | |
| 25 | targ et.setAcce ssRoles(sr c.getAcces sRoles()); | |
| 26 | targ et.setAcco untType(sr c.getAccou ntType()); | |
| 27 | targ et.setAddr ess(src.ge tAddress() ); | |
| 28 | targ et.setAddr essState(s rc.getAddr essState() ); | |
| 29 | targ et.setAlte rnateAddre ss(src.get AlternateA ddress()); | |
| 30 | targ et.setAlte rnateAddre ssCity(src .getAltern ateAddress City()); | |
| 31 | targ et.setAlte rnateAddre ssCountry( src.getAlt ernateAddr essCountry ()); | |
| 32 | targ et.setAlte rnateAddre ssPostalCo de(src.get AlternateA ddressPost alCode()); | |
| 33 | targ et.setAlte rnateAddre ssProvince (src.getAl ternateAdd ressProvin ce()); | |
| 34 | targ et.setAlte rnateAddre ssState(sr c.getAlter nateAddres sState()); | |
| 35 | targ et.setAlte rnateAddre ssStreet1( src.getAlt ernateAddr essStreet1 ()); | |
| 36 | targ et.setAlte rnateAddre ssStreet2( src.getAlt ernateAddr essStreet2 ()); | |
| 37 | targ et.setAppt ReminderEm ailPref(sr c.getApptR eminderEma ilPref()); | |
| 38 | if ( src.getBbm iEmailPref () != null ) { | |
| 39 | System .out.print ln("BBMI E mail Pref exists in Form bean. .. : " + s rc.getBbmi EmailPref( )); | |
| 40 | target .setBbmiEm ailPref(sr c.getBbmiE mailPref() ); | |
| 41 | } | |
| 42 | else { | |
| 43 | System .out.print ln("BBMI E mail Pref Does NOT e xist in Fo rm Bean... : " + src .getBbmiEm ailPref()) ; | |
| 44 | } | |
| 45 | targ et.setAuto Auth(src.g etAutoAuth ()); | |
| 46 | targ et.setAuto AuthDate(s rc.getAuto AuthDate() ); | |
| 47 | targ et.setBirt hDate(src. getBirthDa te()); | |
| 48 | targ et.setBloo dType(src. getBloodTy pe()); | |
| 49 | targ et.setConf Email(src. getConfEma il()); | |
| 50 | targ et.setConf irmationLo ckOut(src. getConfirm ationLockO ut()); | |
| 51 | targ et.setConf Password(s rc.getConf Password() ); | |
| 52 | targ et.setConf Ssn(src.ge tConfSsn() ); | |
| 53 | targ et.setCont act(src.ge tContact() ); | |
| 54 | targ et.setCrea tedDate(sr c.getCreat edDate()); | |
| 55 | targ et.setCurr entLogin(s rc.getCurr entLogin() ); | |
| 56 | targ et.setCurr entOccupat ion(src.ge tCurrentOc cupation() ); | |
| 57 | targ et.setDeat hDate(src. getDeathDa te()); | |
| 58 | targ et.setEhrA ccess(src. getEhrAcce ss()); | |
| 59 | targ et.setEmai lCredentia ls(src.get EmailCrede ntials()); | |
| 60 | targ et.setEmai lHealthAwa reness(src .getEmailH ealthAware ness()); | |
| 61 | targ et.setEmer gencyConta cts(src.ge tEmergency Contacts() ); | |
| 62 | targ et.setFccx (src.getFc cx()); | |
| 63 | targ et.setFirs tName(src. getFirstNa me()); | |
| 64 | targ et.setGend er(src.get Gender()); | |
| 65 | targ et.setHeal thSummaryS entEmailPr ef(src.get HealthSumm arySentEma ilPref()); | |
| 66 | targ et.setId(s rc.getId() ); | |
| 67 | targ et.setInfo Message(sr c.getInfoM essage()); | |
| 68 | targ et.setInte restAlcoho l(src.getI nterestAlc ohol()); | |
| 69 | targ et.setInte restBloodP ressure(sr c.getInter estBloodPr essure()); | |
| 70 | targ et.setInte restDepres sion(src.g etInterest Depression ()); | |
| 71 | targ et.setInte restDiabet es(src.get InterestDi abetes()); | |
| 72 | targ et.setInte restDiet(s rc.getInte restDiet() ); | |
| 73 | targ et.setInte restExerci se(src.get InterestEx ercise()); | |
| 74 | targ et.setInte restHeart( src.getInt erestHeart ()); | |
| 75 | targ et.setInte restMilita ryRelated( src.getInt erestMilit aryRelated ()); | |
| 76 | targ et.setInte restPTSD(s rc.getInte restPTSD() ); | |
| 77 | targ et.setInte restRemind er(src.get InterestRe minder()); | |
| 78 | targ et.setInte restSmokin g(src.getI nterestSmo king()); | |
| 79 | targ et.setInte restStress (src.getIn terestStre ss()); | |
| 80 | targ et.setIsAd ministrato r(src.getI sAdministr ator()); | |
| 81 | targ et.setIsCh ampVABenef iciary(src .getIsCham pVABenefic iary()); | |
| 82 | targ et.setIsEm ployee(src .getIsEmpl oyee()); | |
| 83 | targ et.setIsHe althCarePr ovider(src .getIsHeal thCareProv ider()); | |
| 84 | targ et.setIsMP IControlle d(src.getI sMPIContro lled()); | |
| 85 | targ et.setIsOr ganDonor(s rc.getIsOr ganDonor() ); | |
| 86 | targ et.setIsOt her(src.ge tIsOther() ); | |
| 87 | targ et.setIsPa tient(src. getIsPatie nt()); | |
| 88 | targ et.setIsPa tientAdvoc ate(src.ge tIsPatient Advocate() ); | |
| 89 | targ et.setIsCh ampVABenef iciary(src .getIsCham pVABenefic iary()); | |
| 90 | targ et.setIsSe rviceMembe r(src.getI sServiceMe mber()); | |
| 91 | targ et.setIsVe teran(src. getIsVeter an()); | |
| 92 | targ et.setLast Login(src. getLastLog in()); | |
| 93 | targ et.setLast Name(src.g etLastName ()); | |
| 94 | targ et.setLock Count(src. getLockCou nt()); | |
| 95 | targ et.setLock Date(src.g etLockDate ()); | |
| 96 | targ et.setMari talStatus( src.getMar italStatus ()); | |
| 97 | targ et.setMhvI d(src.getM hvId()); | |
| 98 | targ et.setModi fiedDate(s rc.getModi fiedDate() ); | |
| 99 | targ et.setName (src.getNa me()); | |
| 100 | targ et.setOccu pation(src .getOccupa tion()); | |
| 101 | targ et.setOldP assword(sr c.getOldPa ssword()); | |
| 102 | targ et.setOplo ck(src.get Oplock()); | |
| 103 | targ et.setOrga nDonor(src .getOrganD onor()); | |
| 104 | targ et.setOrie ntationVid eoView(src .getOrient ationVideo View()); | |
| 105 | targ et.setPart icipationF ormSign(sr c.getParti cipationFo rmSign()); | |
| 106 | targ et.setPass word(src.g etPassword ()); | |
| 107 | targ et.setPass wordHintAn swer1(src. getPasswor dHintAnswe r1()); | |
| 108 | targ et.setPass wordHintAn swer2(src. getPasswor dHintAnswe r2()); | |
| 109 | targ et.setPass wordHintQu estion1(sr c.getPassw ordHintQue stion1()); | |
| 110 | targ et.setPass wordHintQu estion2(sr c.getPassw ordHintQue stion2()); | |
| 111 | targ et.setPass wordLastCh anged(src. getPasswor dLastChang ed()); | |
| 112 | targ et.setPass wordLockOu t(src.getP asswordLoc kOut()); | |
| 113 | targ et.setPhys icalProof( src.getPhy sicalProof ()); | |
| 114 | targ et.setProo fInstituti onId(src.g etProofIns titutionId ()); | |
| 115 | targ et.setProo fLevel(src .getProofL evel()); | |
| 116 | targ et.setProo fLevelDate (src.getPr oofLevelDa te()); | |
| 117 | targ et.setRest rictSIPAcc ess(src.ge tRestrictS IPAccess() ); | |
| 118 | targ et.setRest rictSIPAcc essBy(src. getRestric tSIPAccess By()); | |
| 119 | targ et.setRest rictSIPAcc essDate(sr c.getRestr ictSIPAcce ssDate()); | |
| 120 | targ et.setRest rictSIPAcc essReason( src.getRes trictSIPAc cessReason ()); | |
| 121 | targ et.setRxAg reementDat e(src.getR xAgreement Date()); | |
| 122 | targ et.setRxAg reementSig ned(src.ge tRxAgreeme ntSigned() ); | |
| 123 | targ et.setRxTr ackingEmai lPref(src. getRxTrack ingEmailPr ef()); | |
| 124 | // A dded for J AZZ 601513 : Add News letter Sub scription to Registr ation Page | |
| 125 | targ et.setNews letterEmai lPref(src. getNewslet terEmailPr ef()); | |
| 126 | targ et.setSsn( src.getSsn ()); | |
| 127 | targ et.setTemp oraryPassw ord(src.ge tTemporary Password() ); | |
| 128 | targ et.setTerm sModifiedT ime(src.ge tTermsModi fiedTime() ); | |
| 129 | targ et.setUser Alias(src. getUserAli as()); | |
| 130 | targ et.setUser Name(src.g etUserName ()); | |
| 131 | ||
| 132 | targ et.setRest rictSIPAcc ess(src.ge tRestrictS IPAccess() ); | |
| 133 | targ et.setRest rictSIPAcc essBy(src. getRestric tSIPAccess By()); | |
| 134 | ||
| 135 | targ et.setMili taryBranch (src.getMi litaryBran ch()); | |
| 136 | targ et.setMili taryBranch 2(src.getM ilitaryBra nch2()); | |
| 137 | targ et.setSalu tation(src .getSaluta tion()); | |
| 138 | targ et.setBran chOther(sr c.getBranc hOther()); | |
| 139 | ||
| 140 | retu rn target; | |
| 141 | } | |
| 142 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.