194. EPMO Open Source Coordination Office Redaction File Detail Report

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.

194.1 Files compared

# Location File Last Modified
1 MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_user\mhv-usermgmt-portal-api\src\main\java\gov\va\med\mhv\usermgmt\service AccountValidatorService.java Thu Aug 23 20:25:24 2018 UTC
2 MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_user\mhv-usermgmt-portal-api\src\main\java\gov\va\med\mhv\usermgmt\service AccountValidatorService.java Sat Sep 15 22:39:53 2018 UTC

194.2 Comparison summary

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

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

194.4 Active regular expressions

No regular expressions were active.

194.5 Comparison detail

  1   /**
  2    *
  3    */
  4   package go v.va.med.m hv.usermgm t.service;
  5  
  6   import gov .va.med.mh v.common.a pi.dto.Fac ilityInfoD TO;
  7   import gov .va.med.mh v.common.a pi.dto.InP ersonAuthe nticationD TO;
  8   import gov .va.med.mh v.common.a pi.dto.InP ersonAuthe nticationD TOLight;
  9   import gov .va.med.mh v.common.a pi.dto.Pat ientDTO;
  10   import gov .va.med.mh v.common.a pi.dto.Pat ientWithDe legatesDTO ;
  11   import gov .va.med.mh v.common.a pi.dto.Use rProfileDT O;
  12   import gov .va.med.mh v.common.a pi.excepti on.MHVExce ption;
  13   import gov .va.med.mh v.usermgmt .common.dt o.A24Patie ntLinkTO;
  14   import gov .va.med.mh v.usermgmt .common.dt o.A31Perso nalInfoUpd ateTO;
  15   import gov .va.med.mh v.usermgmt .common.dt o.A43Patie ntMoveTO;
  16   import gov .va.med.mh v.usermgmt .common.dt o.Activity DTO;
  17   import gov .va.med.mh v.usermgmt .common.dt o.FieldTes tDTO;
  18  
  19   import jav a.util.Dat e;
  20   import jav a.util.Lis t;
  21  
  22   import jav ax.ws.rs.C onsumes;
  23   import jav ax.ws.rs.G ET;
  24   import jav ax.ws.rs.P OST;
  25   import jav ax.ws.rs.P ath;
  26   import jav ax.ws.rs.P athParam;
  27   import jav ax.ws.rs.P roduces;
  28   import jav ax.ws.rs.Q ueryParam;
  29   import jav ax.ws.rs.c ore.MediaT ype;
  30   import jav ax.ws.rs.c ore.Respon se;
  31  
  32   import org .springfra mework.ste reotype.Se rvice;
  33  
  34   /**
  35    * @author   DNS
  36    *
  37    * The poi nt of this  service i s to provi de a metho d to clien ts that do es not
  38    * require  authentic ation but  that can p rovide an  answer as  to whether  the
  39    * usernam e provided  as a para meter to t he isUserA ctive meth od refers  to a user
  40    * that is  an active  MHV end u ser.
  41    *
  42    */
  43   @Path("/")
  44   @Service(" accountVal idatorServ ice")
  45   public int erface Acc ountValida torService  {
  46  
  47           /* *
  48            *  Returns t rue if the  user is a n active M HV user; o therwise f alse.
  49            *  @param us erName The  username  of the use r whose ac count stat us is in q uestion.
  50            *  @return T rue if the  user is a ctive; oth erwise fal se.
  51            *  @throws M HVExceptio n In the e vent that  an excepti on occurs.
  52            * /
  53           @G ET
  54           @C onsumes(Me diaType.AP PLICATION_ JSON)
  55           @P roduces(Me diaType.AP PLICATION_ JSON)
  56           @P ath("/isin active/{us erName}")
  57           pu blic Boole an isUserI nactive(@P athParam(" userName")  String us erName) th rows MHVEx ception;
  58  
  59           @G ET
  60           @C onsumes(Me diaType.AP PLICATION_ JSON)
  61           @P roduces(Me diaType.AP PLICATION_ JSON)
  62           @P ath("/find UserNameBy Hash/{ahas h:.+}") 
  63           St ring findU serNameByH ash(@PathP aram("ahas h") String  ahash);
  64  
  65           @G ET
  66           @C onsumes(Me diaType.AP PLICATION_ JSON)
  67           @P roduces(Me diaType.AP PLICATION_ JSON)
  68           @P ath("/find UserProfil eByusernam e/{usernam e}")
  69           Us erProfileD TO findUse rProfileBy username(@ PathParam( "username" ) String u sername) t hrows MHVE xception;
  70  
  71           @G ET
  72           @C onsumes(Me diaType.AP PLICATION_ JSON)
  73           @P roduces(Me diaType.AP PLICATION_ JSON)
  74           @P ath("/find UserProfil eById/{id} ")
  75           Us erProfileD TO findUse rProfileBy Id(@PathPa ram("id")  Long id);
  76  
  77           @G ET
  78           @C onsumes(Me diaType.AP PLICATION_ JSON)
  79           @P roduces(Me diaType.AP PLICATION_ JSON)
  80           @P ath("/getP atientForU ser/{userP rofileId}" )
  81           Pa tientDTO g etPatientF orUser(@Pa thParam("u serProfile Id") Long  userProfil eId);
  82  
  83           @G ET
  84           @C onsumes(Me diaType.AP PLICATION_ JSON)
  85           @P roduces(Me diaType.AP PLICATION_ JSON)
  86           @P ath("/getP atientById /{patientI d}")
  87           Pa tientDTO g etPatientB yId(@PathP aram("pati entId") Lo ng patient Id);
  88           
  89           @G ET
  90           @C onsumes(Me diaType.AP PLICATION_ JSON)
  91           @P roduces(Me diaType.AP PLICATION_ JSON)
  92           @P ath("/sear chPersonIn MVIByICN/{ icn}")
  93           Pa tientDTO s earchPerso nInMVIByIC N(@PathPar am("icn")  String icn ) throws M HVExceptio n;
  94  
  95           @G ET
  96           @C onsumes(Me diaType.AP PLICATION_ JSON)
  97           @P roduces(Me diaType.AP PLICATION_ JSON)
  98           @P ath("/getP atientByIc n/{icn}")
  99           Pa tientDTO g etPatientB yIcn(@Path Param("icn ") String  icn) throw s MHVExcep tion;
  100  
  101           @G ET
  102           @C onsumes(Me diaType.AP PLICATION_ JSON)
  103           @P roduces(Me diaType.AP PLICATION_ JSON)
  104           @P ath("/sear chPersonIn MVIForDSLo gonn/{edip iValue}")
  105           Pa tientDTO s earchPerso nInMVIForD SLogon(@Pa thParam("e dipiValue" ) String e dipiValue)  throws MH VException ;
  106  
  107           @G ET
  108           @C onsumes(Me diaType.AP PLICATION_ JSON)
  109           @P roduces(Me diaType.AP PLICATION_ JSON)
  110           @P ath("/sear chPersonIn MVIForUSAA /{fName}/{ mName}/{lN ame}/{dob} /{gender}/ {ssn}")
  111           Pa tientDTO s earchPerso nInMVIForU SAA(@PathP aram("fNam e") String  fName, @P athParam(" mName") St ring mName ,
  112                    @Pat hParam("lN ame") Stri ng lName,  @PathParam ("dob") St ring dob,  @PathParam ("gender")  String ge nder, @Pat hParam("ss n") String  ssn)
  113                    thro ws MHVExce ption;
  114  
  115           @P OST
  116           @C onsumes(Me diaType.AP PLICATION_ JSON)
  117           @P roduces(Me diaType.AP PLICATION_ JSON)
  118           @P ath("/matc hPerson/{u serProfile Id}")
  119           Pa tientDTO m atchPerson (@PathPara m("userPro fileId") L ong userPr ofileId) t hrows MHVE xception;
  120  
  121           @P OST
  122           @C onsumes(Me diaType.AP PLICATION_ JSON)
  123           @P roduces(Me diaType.AP PLICATION_ JSON)
  124           @P ath("/matc hPerson/{u serProfile Id}")
  125           Pa tientDTO a ddPersonFo rCorrelati on(@PathPa ram("userP rofileId")  Long user ProfileId)  throws MH VException ;
  126  
  127           @P OST
  128           @C onsumes(Me diaType.AP PLICATION_ JSON)
  129           @P roduces(Me diaType.AP PLICATION_ JSON)
  130           @P ath("/pati entMoveNot ification" )
  131           pu blic Respo nse patien tMoveNotif ication(A4 3PatientMo veTO a43Pa tientMoveT O);
  132           
  133           @P OST
  134           @C onsumes(Me diaType.AP PLICATION_ JSON)
  135           @P roduces(Me diaType.AP PLICATION_ JSON)
  136           @P ath("/pati entLinkNot ification" )
  137           pu blic Respo nse patien tLinkNotif ication(A2 4PatientLi nkTO a24Pa tientLinkT O);
  138           
  139           @P OST
  140           @C onsumes(Me diaType.AP PLICATION_ JSON)
  141           @P roduces(Me diaType.AP PLICATION_ JSON)
  142           @P ath("/pers onalNotifi cation")
  143           pu blic Respo nse person alNotifica tion(A31Pe rsonalInfo UpdateTO a 31PesonalI nfoUpdateT O);
  144           
  145           @P OST
  146           @C onsumes(Me diaType.AP PLICATION_ JSON)
  147           @P roduces(Me diaType.AP PLICATION_ JSON)
  148           @P ath("/remo veCorrelat ion/{userP rofileId}" )
  149           Pa tientDTO r emoveCorre lation(@Pa thParam("u serProfile Id") Long  userProfil eId) throw s MHVExcep tion;
  150  
  151           @P OST
  152           @C onsumes(Me diaType.AP PLICATION_ JSON)
  153           @P roduces(Me diaType.AP PLICATION_ JSON)
  154           @P ath("/upda teTreatmen tFacilitie sForExisti ngPatients /{userProf ileId}")
  155           Pa tientDTO u pdateTreat mentFacili tiesForExi stingPatie nts(@PathP aram("user ProfileId" ) Long use rProfileId ) throws M HVExceptio n;
  156  
  157           @G ET
  158           @C onsumes(Me diaType.AP PLICATION_ JSON)
  159           @P roduces(Me diaType.AP PLICATION_ JSON)
  160           @P ath("/proc essLastLog in/{userPr ofileId}/{ csid}")
  161           vo id process LastLogin( @PathParam ("userProf ileId") Lo ng userPro fileId, @P athParam(" csid")Stri ng csid);
  162  
  163           @G ET
  164           @C onsumes(Me diaType.AP PLICATION_ JSON)
  165           @P roduces(Me diaType.AP PLICATION_ JSON)
  166           @P ath("/getU serProfile ForVAAFITr aits/{firs tName}/{la stName}/{g ender}/{do b:.+}")
  167           Us erProfileD TO getUser ProfileFor VAAFITrait s(@PathPar am("firstN ame") Stri ng firstNa me, @PathP aram("last Name") Str ing lastNa me, @PathP aram("dob" ) String d ob, @PathP aram("gend er") Strin g gender)  throws MHV Exception;
  168  
  169           @G ET
  170           @C onsumes(Me diaType.AP PLICATION_ JSON)
  171           @P roduces(Me diaType.AP PLICATION_ JSON)
  172           @P ath("/getA uthenticat ionForPati ent/{patie ntId}")
  173           In PersonAuth entication DTOLight g etAuthenti cationForP atient(@Pa thParam("p atientId") Long patie ntId) thro ws MHVExce ption;
  174  
  175           @G ET
  176           @C onsumes(Me diaType.AP PLICATION_ JSON)
  177           @P roduces(Me diaType.AP PLICATION_ JSON)
  178           @P ath("/getA ustinMHVFa cilityInfo ")
  179           Fa cilityInfo DTO getAus tinMHVFaci lityInfo()  throws MH VException ;
  180  
  181           @P OST
  182           @P roduces(Me diaType.AP PLICATION_ JSON)
  183           @C onsumes(Me diaType.AP PLICATION_ JSON)
  184           @P ath("/save IPA")
  185           In PersonAuth entication DTOLight s aveIPA(InP ersonAuthe nticationD TOLight ip aDTO) thro ws MHVExce ption;
  186  
  187           @P OST
  188           @P roduces(Me diaType.AP PLICATION_ JSON)
  189           @C onsumes(Me diaType.AP PLICATION_ JSON)
  190           @P ath("/audi tOnlineAut henticatio nEvent/{su bjectId}/{ successful }/{activit yName}/{ac tionName}/ {detail}")
  191           vo id auditOn lineAuthen ticationEv ent(@PathP aram("subj ectId") Lo ng subject Id, @PathP aram("succ essful")Bo olean succ essful, @P athParam(" activityNa me")String  activityN ame,
  192                    @Pat hParam("ac tionName") String act ionName, @ PathParam( "detail")S tring deta il);
  193  
  194           @P OST
  195           @P roduces(Me diaType.AP PLICATION_ JSON)
  196           @C onsumes(Me diaType.AP PLICATION_ JSON)
  197           @P ath("/audi tOnlineAut henticatio nEvent/{su bjectId}")
  198           vo id auditOn lineAuthen ticationEv ent2(@Path Param("sub jectId") L ong subjec tId);
  199  
  200           @G ET
  201           @P roduces(Me diaType.AP PLICATION_ JSON)
  202           @C onsumes(Me diaType.AP PLICATION_ JSON)
  203           @P ath("/getV apiiFormSt atusForUse r/{userPro fileId}")
  204           St ring getVa piiFormSta tusForUser (@PathPara m("userPro fileId")Lo ng userPro fileId) th rows MHVEx ception;
  205  
  206           @P OST
  207           @P roduces(Me diaType.AP PLICATION_ JSON)
  208           @C onsumes(Me diaType.AP PLICATION_ JSON)
  209           @P ath("/audi tDSLogonMa ppingEvent /{subjectI d}/{succes sful}/{act or}/{activ ityType}/{ actionType }")
  210           vo id auditDS LogonMappi ngEvent(@P athParam(" subjectId" ) Long sub jectId, @P athParam(" successful ") Boolean  successfu l, @PathPa ram("actor ") String  actor,
  211                    @Pat hParam("ac tivityType ") String  activityTy pe, @PathP aram("acti onType") S tring acti onType);
  212           
  213           @P OST
  214           @P ath("/crea teAccountA ctivityLog ")
  215           @C onsumes(Me diaType.AP PLICATION_ JSON)
  216           pu blic void  createAcco untActivit yLog(Activ ityDTO act ivity)  th rows MHVEx ception;
  217           
  218           @P OST
  219           @P roduces(Me diaType.AP PLICATION_ JSON)
  220           @C onsumes(Me diaType.AP PLICATION_ JSON)
  221           @P ath("/audi tDSLogonAc tivity/{us erProfileI d}/{succes sful}/{act or}/{actio nType}/{ac tivityDeta ilValue}")
  222           vo id auditDS LogonMappi ngActivity (@PathPara m("userPro fileId") L ong userPr ofileId, @ PathParam( "successfu l") Boolea n successf ul, @PathP aram("acto r") String  actor,
  223                    @Pat hParam("ac tionType")  String ac tionType,  @PathParam ("activity DetailValu e") String  activityD etailValue );
  224  
  225  
  226           @P OST
  227           @P roduces(Me diaType.AP PLICATION_ JSON)
  228           @C onsumes(Me diaType.AP PLICATION_ JSON)
  229           @P ath("/save Hash/{user ProfileId} /{ahash:.+ }")
  230           vo id saveHas h(@PathPar am("userPr ofileId")  Long userP rofileId,  @PathParam ("ahash")  String aha sh);
  231  
  232   //      @P OST
  233   //      @P roduces(Me diaType.AP PLICATION_ JSON)
  234   //      @C onsumes(Me diaType.AP PLICATION_ JSON)
  235   //      @P ath("/save HashByUser Name/{user Name}/{aha sh}")
  236   //      vo id saveHas h(@PathPar am("userNa me") Strin g userName , @PathPar am("ahash" ) String a hash);
  237  
  238   //      @P OST
  239   //      @P roduces(Me diaType.AP PLICATION_ JSON)
  240   //      @C onsumes(Me diaType.AP PLICATION_ JSON)
  241   //      @P ath("/ipaA uthenticat eFull")
  242   //      In PersonAuth entication DTO ipaAut henticateF ull(InPers onAuthenti cationDTO  ipaDTO) th rows MHVEx ception;
  243           
  244           @P OST
  245           @P roduces(Me diaType.AP PLICATION_ JSON)
  246           @C onsumes(Me diaType.AP PLICATION_ JSON)
  247           @P ath("/save IPAFull")
  248           In PersonAuth entication DTO saveIP AFull(InPe rsonAuthen ticationDT O ipaDTOFu ll) throws  MHVExcept ion;
  249  
  250           @P OST
  251           @P roduces(Me diaType.AP PLICATION_ JSON)
  252           @C onsumes(Me diaType.AP PLICATION_ JSON)
  253           @P ath("/auth enticateOn line")
  254           In PersonAuth entication DTOLight a uthenticat eOnline(In PersonAuth entication DTOLight i paDTO) thr ows MHVExc eption;
  255  
  256  
  257           @P OST
  258           @P roduces(Me diaType.AP PLICATION_ JSON)
  259           @C onsumes(Me diaType.AP PLICATION_ JSON)
  260           @P ath("/ipaA uthenticat e")
  261           In PersonAuth entication DTOLight i paAuthenti cate(InPer sonAuthent icationDTO Light ipaD TO) throws  MHVExcept ion;
  262  
  263           @P OST
  264           @P roduces(Me diaType.AP PLICATION_ JSON)
  265           @C onsumes(Me diaType.AP PLICATION_ JSON)
  266           @P ath("/audi tUpgradeEv ent/{subje ctId}/{act or}/{actio nType}/{ac tivityDeta ilValue}")
  267           vo id auditUp gradeEvent (@PathPara m("subject Id") Long  subjectId,  @PathPara m("actor")  String ac tor, @Path Param("act ionType")  String act ionType,
  268                    @Pat hParam("ac tivityDeta ilValue")  String act ivityDetai lValue);
  269  
  270           @P OST
  271           @P roduces(Me diaType.AP PLICATION_ JSON)
  272           @C onsumes(Me diaType.AP PLICATION_ JSON)
  273           @P ath("/defe rAuthentic ation")
  274           In PersonAuth entication DTOLight d eferAuthen tication(I nPersonAut henticatio nDTOLight  ipaDTO) th rows MHVEx ception;
  275  
  276           @P OST
  277           @P roduces(Me diaType.AP PLICATION_ JSON)
  278           @C onsumes(Me diaType.AP PLICATION_ JSON)
  279           @P ath("/audi tManualAut henticatio nEvent/{su bjectId}/{ successful }/{activit yName}/{de tail}")
  280           vo id auditMa nualAuthen ticationEv ent(@PathP aram("subj ectId") Lo ng subject Id, @PathP aram("succ essful") B oolean suc cessful,
  281                    @Pat hParam("ac tivityName ") String  actionName , @PathPar am("detail ") String  detail);
  282  
  283           @P OST
  284           @P roduces(Me diaType.AP PLICATION_ JSON)
  285           @C onsumes(Me diaType.AP PLICATION_ JSON)
  286           @P ath("/chec kPassowrd" )
  287           bo olean chec kPassowrd( UserProfil eDTO userP rofileDTO) ;
  288  
  289           @P OST
  290           @P roduces(Me diaType.AP PLICATION_ JSON)
  291           @C onsumes(Me diaType.AP PLICATION_ JSON)
  292           @P ath("/save UserProfil e")
  293           Us erProfileD TO saveUse rProfile(U serProfile DTO userPr ofileDTO)  throws MHV Exception;
  294  
  295           @P OST
  296           @P roduces(Me diaType.AP PLICATION_ JSON)
  297           @C onsumes(Me diaType.AP PLICATION_ JSON)
  298           @P ath("/audi tMviEvent/ {subjectId }/{actor}/ {successfu l}/{activi tyActionTy pe}/{activ ityType}")
  299           vo id auditMv iEvent(@Pa thParam("s ubjectId")  Long subj ectId, @Pa thParam("a ctor") Str ing actor,  @PathPara m("success ful") Bool ean succes sful,
  300                    @Pat hParam("ac tivityActi onType") S tring acti vityAction Type, @Pat hParam("ac tivityType ") String  activityTy pe);
  301  
  302           @P OST
  303           @P roduces(Me diaType.AP PLICATION_ JSON)
  304           @C onsumes(Me diaType.AP PLICATION_ JSON)
  305           @P ath("/logE authEvent/ {userName} /{csid}/{e vent}/{aha sh:.+}")
  306           vo id logEaut hEvent(@Pa thParam("a hash")Stri ng ahash,  @PathParam ("userName ")String u serName, @ PathParam( "csid")Str ing csid,  @PathParam ("event")S tring even t);
  307  
  308           @G ET
  309           @P roduces(Me diaType.AP PLICATION_ JSON)
  310           @C onsumes(Me diaType.AP PLICATION_ JSON)
  311           @P ath("/getV apiiFormUr l")
  312           St ring getVa piiFormUrl ();
  313  
  314           @G ET
  315           @P roduces(Me diaType.AP PLICATION_ JSON)
  316           @C onsumes(Me diaType.AP PLICATION_ JSON)
  317           @P ath("/getS reAutoLogi nUrl")
  318           St ring getSr eAutoLogin Url();
  319  
  320  
  321           @G ET
  322           @P roduces(Me diaType.AP PLICATION_ JSON)
  323           @C onsumes(Me diaType.AP PLICATION_ JSON)
  324           @P ath("/getS reAnonymou sUrl")
  325           St ring getSr eAnonymous Url();
  326  
  327           @G ET
  328           @C onsumes(Me diaType.AP PLICATION_ JSON)
  329           @P roduces(Me diaType.AP PLICATION_ JSON)
  330           @P ath("/user profiledob av")
  331           pu blic UserP rofileDTO  getUserPro file(@Quer yParam("fi rstName")  String fir stName, @Q ueryParam( "lastName" ) String l astName, @ QueryParam ("gender")  String ge nder, @Que ryParam("b irthDate") Date birth Date) thro ws MHVExce ption;
  332  
  333           @G ET
  334           @C onsumes(Me diaType.AP PLICATION_ JSON)
  335           @P roduces(Me diaType.AP PLICATION_ JSON)
  336           @P ath("/user profilesco unt")
  337           pu blic Long  getUserPro filesCount (@QueryPar am("firstN ame") Stri ng firstNa me, @Query Param("las tName") St ring lastN ame, @Quer yParam("ge nder") Str ing gender , @QueryPa ram("birth Date")Date  birthDate ) throws M HVExceptio n;
  338  
  339           @G ET
  340           @C onsumes(Me diaType.AP PLICATION_ JSON)
  341           @P roduces(Me diaType.AP PLICATION_ JSON)
  342           @P ath("/user profilefor username")
  343           pu blic UserP rofileDTO  getUserPro fileForUse rName(@Que ryParam("f irstName")  String fi rstName, @ QueryParam ("lastName ") String  lastName,  @QueryPara m("userNam e") String  userName,  @QueryPar am("gender ") String  gender, @Q ueryParam( "birthDate ")Date bir thDate) th rows MHVEx ception;
  344  
  345           @G ET
  346           @C onsumes(Me diaType.AP PLICATION_ JSON)
  347           @P roduces(Me diaType.AP PLICATION_ JSON)
  348           @P ath("/user profilebyn amessn")
  349           pu blic List< UserProfil eDTO> getU serProfile ByNameSSN( @QueryPara m("firstNa me") Strin g firstNam e, @QueryP aram("last Name") Str ing lastNa me, @Query Param("gen der") Stri ng gender,  @QueryPar am("birthD ate")Date  birthDate,  @QueryPar am("ssn")S tring ssn)  throws MH VException ;
  350  
  351           @G ET
  352           @C onsumes(Me diaType.AP PLICATION_ JSON)
  353           @P roduces(Me diaType.AP PLICATION_ JSON)
  354           @P ath("/user profilebyn amessncoun t")
  355           pu blic Long  getUserPro fileByName SSNCount(@ QueryParam ("firstNam e") String  firstName , @QueryPa ram("lastN ame") Stri ng lastNam e, @QueryP aram("gend er") Strin g gender,  @QueryPara m("birthDa te")Date b irthDate,  @QueryPara m("ssn")St ring ssn)  throws MHV Exception;
  356  
  357           @G ET
  358           @C onsumes(Me diaType.AP PLICATION_ JSON)
  359           @P roduces(Me diaType.AP PLICATION_ JSON)
  360           @P ath("/user profilebyn ameemail")
  361           pu blic List< UserProfil eDTO> getU serProfile ByNameEmai l(@QueryPa ram("first Name") Str ing firstN ame, @Quer yParam("la stName") S tring last Name, @Que ryParam("g ender") St ring gende r, @QueryP aram("birt hDate")Dat e birthDat e, @QueryP aram("emai l")String  email) thr ows MHVExc eption;
  362  
  363           @G ET
  364           @C onsumes(Me diaType.AP PLICATION_ JSON)
  365           @P roduces(Me diaType.AP PLICATION_ JSON)
  366           @P ath("/user profilebyn ameemailco unt")
  367           pu blic Long  getUserPro fileByName EmailCount (@QueryPar am("firstN ame") Stri ng firstNa me, @Query Param("las tName") St ring lastN ame, @Quer yParam("ge nder") Str ing gender , @QueryPa ram("birth Date")Date  birthDate , @QueryPa ram("email ")String e mail) thro ws MHVExce ption;
  368  
  369           @G ET
  370           @C onsumes(Me diaType.AP PLICATION_ JSON)
  371           @P roduces(Me diaType.AP PLICATION_ JSON)
  372           @P ath("/user profilebyn amephone")
  373           pu blic List< UserProfil eDTO> getU serProfile ByNamePhon e(@QueryPa ram("first Name") Str ing firstN ame, @Quer yParam("la stName") S tring last Name, @Que ryParam("g ender") St ring gende r, @QueryP aram("birt hDate")Dat e birthDat e, @QueryP aram("phon e")String  phone) thr ows MHVExc eption;
  374  
  375           @G ET
  376           @C onsumes(Me diaType.AP PLICATION_ JSON)
  377           @P roduces(Me diaType.AP PLICATION_ JSON)
  378           @P ath("/user profilebyn amephoneco unt")
  379           pu blic Long  getUserPro fileByName PhoneCount (@QueryPar am("firstN ame") Stri ng firstNa me, @Query Param("las tName") St ring lastN ame, @Quer yParam("ge nder") Str ing gender , @QueryPa ram("birth Date")Date  birthDate , @QueryPa ram("phone ")String p hone) thro ws MHVExce ption;
  380  
  381           @P OST
  382           @C onsumes(Me diaType.AP PLICATION_ JSON)
  383           @P roduces(Me diaType.AP PLICATION_ JSON)
  384           @P ath("/chan gepassword av/{isForg otPwd}")
  385           pu blic UserP rofileDTO  changePass word(UserP rofileDTO  userProfil eJSON, @Pa thParam("i sForgotPwd ")Boolean  isForgotPw d) throws  MHVExcepti on;
  386  
  387           @G ET
  388           @C onsumes(Me diaType.AP PLICATION_ JSON)
  389           @P roduces(Me diaType.AP PLICATION_ JSON)
  390           @P ath("/vali datehintan swers")
  391           pu blic Boole an validat eHintAnswe rs(@QueryP aram("user Id") Long  userId, @Q ueryParam( "answer1")  String an swer1, @Qu eryParam(" answer2")  String ans wer2) thro ws MHVExce ption;
  392           
  393           @G ET
  394           @C onsumes(Me diaType.AP PLICATION_ JSON)
  395           @P roduces(Me diaType.AP PLICATION_ JSON)
  396           @P ath("/retr ievePerson InMVIForDS Logon/{edi piValue}")
  397           Pa tientWithD elegatesDT O retrieve PersonInMV IForDSLogo n(@PathPar am("edipiV alue") Str ing edipiV alue) thro ws MHVExce ption;
  398  
  399           @G ET
  400           @C onsumes(Me diaType.AP PLICATION_ JSON)
  401           @P roduces(Me diaType.AP PLICATION_ JSON)
  402           @P ath("/fiel dTestGroup s/{userNam e}")
  403           pu blic List< FieldTestD TO> getFie ldTestGrou psByUserNa me(@PathPa ram("userN ame") Stri ng userNam e) throws  MHVExcepti on;
  404  
  405   }