37228. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/17/2019 10:54:18 AM Central 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.

37228.1 Files compared

# Location File Last Modified
1 v1_iter_1_VIP_Build_4_Dec_2018_CG.zip\v1_iter_1_VIP_Build_4\portlets\caret-portlet\docroot\WEB-INF\src\gov\va\caret\service\ctssh\request Request.java Wed Jan 16 16:07:16 2019 UTC
2 v1_iter_1_VIP_Build_4_Dec_2018_CG.zip\v1_iter_1_VIP_Build_4\portlets\caret-portlet\docroot\WEB-INF\src\gov\va\caret\service\ctssh\request Request.java Wed Jan 16 21:50:38 2019 UTC

37228.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 854
Changed 2 4
Inserted 0 0
Removed 0 0

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

37228.4 Active regular expressions

No regular expressions were active.

37228.5 Comparison detail

  1   /*
  2    * To chan ge this li cense head er, choose  License H eaders in  Project Pr operties.
  3    * To chan ge this te mplate fil e, choose  Tools | Te mplates
  4    * and ope n the temp late in th e editor.
  5    */
  6   package go v.va.caret .service.c tssh.reque st;
  7  
  8   import jav a.io.File;
  9   import jav a.nio.Byte Buffer;
  10   import jav a.util.UUI D;
  11  
  12   import gov .va.caret. model.Pers n;
  13   import gov .va.caret. service.ct ssh.templa te.Paramet erValidati onResult;
  14   import gov .va.caret. service.ct ssh.templa te.Templat e;
  15   import gov .va.caret. service.ct ssh.templa te.Templat eHandler;
  16  
  17   /**
  18    *
  19    * @author  ronaday
  20    */
  21   public cla ss Request  {
  22       
  23           /* *
  24            *  
  25            * /
  26           pu blic stati c final St ring MVI_1 305_ATTEND ED_SEARCH  = "MVI.130 5.ATTENDED .SEARCH";
  27           /* *
  28            *  
  29            * /
  30           pu blic stati c final St ring MVI_1 305_UNATTE NDED_SEARC H = "MVI.1 305.UNATTE NDED.SEARC H";
  31           /* *
  32            *  
  33            * /
  34           pu blic stati c final St ring VIA_L OGIN = "VI A.LOGIN";
  35           /* *
  36            *  
  37            * /
  38           pu blic stati c final St ring VIA_C LOSE_TIU_N OTE = "VIA .CLOSE.TIU .NOTE";
  39           /* *
  40            *  
  41            * /
  42           pu blic stati c final St ring VIA_C REATE_TIU_ NOTE = "VI A.CREATE.T IU.NOTE"; 
  43           /* *
  44            *  
  45            * /
  46           pu blic stati c final St ring VIA_W RITE_TIU_N OTE = "VIA .WRITE.TIU .NOTE";
  47           /* *
  48            *  
  49            * /
  50           pu blic stati c final St ring ESIG_ 1010CG = " 1010CG.ESI G";
  51           
  52           
  53           /* *
  54            *  
  55            * /
  56           pu blic stati c final St ring MVI_S ENDER_ID =  "SENDER.I D";
  57           /* *
  58            *  
  59            * /
  60           pu blic stati c final St ring MVI_S ENDER_NAME _FIRST = " SENDER.NAM E.FIRST";
  61           /* *
  62            *  
  63            * /
  64           pu blic stati c final St ring MVI_S ENDER_NAME _LAST = "S ENDER.NAME .LAST";
  65           /* *
  66            *  
  67            * /
  68           pu blic stati c final St ring MVI_S ENDER_OID  = "SENDER. OID";
  69           /* *
  70            *  
  71            * /
  72           pu blic stati c final St ring MVI_V ET_ADDRESS _CITY = "V ET.ADDRESS .CITY";
  73           /* *
  74            *  
  75            * /
  76           pu blic stati c final St ring MVI_V ET_ADDRESS _COUNTRY =  "VET.ADDR ESS.COUNTR Y";
  77           /* *
  78            *  
  79            * /
  80           pu blic stati c final St ring MVI_V ET_ADDRESS _POSTALCD  = "VET.ADD RESS.POSTA LCD";
  81           /* *
  82            *  
  83            * /
  84           pu blic stati c final St ring MVI_V ET_ADDRESS _STATE = " VET.ADDRES S.STATE";
  85           /* *
  86            *  
  87            * /
  88           pu blic stati c final St ring MVI_V ET_ADDRESS _STREET1 =  "VET.ADDR ESS.STREET 1";
  89           /* *
  90            *  
  91            * /
  92           pu blic stati c final St ring MVI_V ET_ADDRESS _STREET2 =  "VET.ADDR ESS.STREET 2";
  93           /* *
  94            *  
  95            * /
  96           pu blic stati c final St ring MVI_V ET_ADDRESS _STREET3 =  "VET.ADDR ESS.STREET 3";
  97           /* *
  98            *  
  99            * /
  100           pu blic stati c final St ring MVI_V ET_ADDRESS _STREET4 =  "VET.ADDR ESS.STREET 4";
  101           /* *
  102            *  
  103            * /
  104           pu blic stati c final St ring MVI_V ET_ADDRESS _TYPE = "V ET.ADDRESS .TYPE";
  105           /* *
  106            *  
  107            * /
  108           pu blic stati c final St ring MVI_V ET_DOB = " VET.DOB";
  109           /* *
  110            *  
  111            * /
  112           pu blic stati c final St ring MVI_V ET_GENDER  = "VET.GEN DER";
  113           /* *
  114            *  
  115            * /
  116           pu blic stati c final St ring MVI_V ET_NAME_FI RST = "VET .NAME.FIRS T";
  117           /* *
  118            *  
  119            * /
  120           pu blic stati c final St ring MVI_V ET_NAME_LA ST = "VET. NAME.LAST" ;
  121           /* *
  122            *  
  123            * /
  124           pu blic stati c final St ring MVI_V ET_NAME_MI DDLE = "VE T.NAME.MID DLE";
  125           /* *
  126            *  
  127            * /
  128           pu blic stati c final St ring MVI_V ET_NAME_PR EFIX = "VE T.NAME.PRE FIX";
  129           /* *
  130            *  
  131            * /
  132           pu blic stati c final St ring MVI_V ET_NAME_SU FFIX = "VE T.NAME.SUF FIX";
  133           /* *
  134            *  
  135            * /
  136           pu blic stati c final St ring MVI_V ET_NAME_TY PE = "VET. NAME.TYPE" ;
  137           /* *
  138            *  
  139            * /
  140           pu blic stati c final St ring MVI_V ET_PHONE =  "VET.PHON E";
  141           /* *
  142            *  
  143            * /
  144           pu blic stati c final St ring MVI_V ET_SSN = " VET.SSN";
  145                    
  146           
  147           /* *
  148            *  
  149            * /
  150           pu blic stati c final St ring VIA_A CCESS_CODE  = " DN S. URL  CODE";
  151           /* *
  152            *  
  153            * /
  154           pu blic stati c final St ring VIA_A CCESS_VERI FY_CODE =  " DN S. URL  VERIFY.COD E";
  155           /* *
  156            *  
  157            * /
  158           pu blic stati c final St ring VIA_S ITE_ID = " SITE.ID";
  159           /* *
  160            *  
  161            * /
  162           pu blic stati c final St ring VIA_N OTE_TITLE_ EIN = "NOT E.TITLE.EI N";
  163           /* *
  164            *  
  165            * /
  166           pu blic stati c final St ring VIA_N OTE_TEXT =  "NOTE.TEX T";
  167           /* *
  168            *  
  169            * /
  170           pu blic stati c final St ring VIA_V ET_PID = " VET.PID";
  171           /* *
  172            *  
  173            * /
  174           pu blic stati c final St ring VIA_V ET_SITE_ID  = "VET.SI TE.ID";
  175           /* *
  176            *  
  177            * /
  178           pu blic stati c final St ring VIA_N OTE_EIN =  "NOTE.EIN" ;
  179           /* *
  180            *  
  181            * /
  182           pu blic stati c final St ring VIA_V ET_MPID =  "VET.MPID" ;
  183           /* *
  184            *  
  185            * /
  186           pu blic stati c final St ring VIA_P ROVIDER_NA ME = "PROV IDER.NAME" ;
  187           /* *
  188            *  
  189            * /
  190           pu blic stati c final St ring VIA_P ROVIDER_SI TE_ID = "P ROVIDER.SI TE.ID";
  191           /* *
  192            *  
  193            * /
  194           pu blic stati c final St ring VIA_P ROVIDER_DU Z = "PROVI DER.DUZ";
  195                    
  196           
  197           /* *
  198            *  
  199            * /
  200           pu blic stati c final St ring EE_KE Y = "EE.KE Y";
  201           /* *
  202            *  
  203            * /
  204           pu blic stati c final St ring EE_KE Y_TYPE = " EE.KEY.TYP E";
  205           /* *
  206            *  
  207            * /
  208           pu blic stati c final St ring EE_RE QUEST_NAME  = "EE.REQ UEST.NAME" ;
  209           /* *
  210            *  
  211            * /
  212           pu blic stati c final St ring EE_IN COME_YEAR  = "EE.INCO ME.YEAR";
  213           
  214           
  215           /* *
  216            *  
  217            * /
  218           pu blic stati c final St ring ESIG_ USER_NAME                 = "USE R.NAME";
  219           /* *
  220            *  
  221            * /
  222           pu blic stati c final St ring ESIG_ COMMON_NAM E              = "COM MON.NAME";
  223           /* *
  224            *  
  225            * /
  226           pu blic stati c final St ring ESIG_ EMAIL_ADDR ESS   = "E MAIL.ADDRE SS";
  227           /* *
  228            *  
  229            * /
  230           pu blic stati c final St ring ESIG_ FILE_DATA                 = "FIL E.DATA";
  231           /* *
  232            *  
  233            * /
  234           pu blic stati c final St ring ESIG_ SIG_FIELD                 = "SIG .FIELD";
  235           /* *
  236            *  
  237            *  
  238            *  
  239            *  
  240            * /
  241           
  242  
  243  
  244           pu blic stati c final St ring ESIG_ SIG_FIELD_ VET        = "Signatu reField5[0 ]";
  245           /* *
  246            *  
  247            * /
  248           pu blic stati c final St ring ESIG_ SIG_FIELD_ PRIMCG     = "Signatu reField2[1 ]";
  249           /* *
  250            *  
  251            * /
  252           pu blic stati c final St ring ESIG_ SIG_FIELD_ SECCG1     = "Signatu reField3[2 ]";
  253           /* *
  254            *  
  255            * /
  256           pu blic stati c final St ring ESIG_ SIG_FIELD_ SECCG2     = "Signatu reField4[3 ]";
  257           
  258           
  259           
  260           
  261       /**
  262        * 
  263        */
  264       privat e String _ interface_ key = null ;
  265       /**
  266        * 
  267        */
  268       privat e Template  _template ;
  269       /**
  270        * 
  271        */
  272       privat e String _ id = UUID. randomUUID ().toStrin g();
  273       /**
  274        * 
  275        */
  276       privat e String _ type;
  277           pr ivate Pers n person;
  278       
  279       
  280       /**
  281        * @pa ram ikey
  282        * @th rows Excep tion
  283        */
  284       public  Request(S tring ikey ) throws E xception
  285       {
  286           _i nterface_k ey = ikey;
  287           _t emplate =  TemplateHa ndler.inst ance().tem plate(_int erface_key );
  288           _t ype = _tem plate.type ();
  289       }
  290       
  291       /**
  292        * @re turn
  293        */
  294       public  Template  template()
  295       {
  296           re turn _temp late;
  297       }
  298       
  299       /**
  300        * @re turn
  301        */
  302       public  String ke y()
  303       {
  304           re turn _inte rface_key;
  305       }    
  306  
  307       /**
  308        * @re turn
  309        */
  310       public  String id ()
  311       {
  312           re turn _id;
  313       }
  314  
  315       /**
  316        * @re turn
  317        */
  318       public  String ty pe()
  319       {
  320           re turn _type ;
  321       }
  322       
  323       /* (no n-Javadoc)
  324        * @se e java.lan g.Object#t oString()
  325        */
  326       @Overr ide
  327       public  String to String()
  328       {
  329           St ringBuilde r sb = new  StringBui lder();
  330           sb .append(th is.key());
  331           sb .append(": ");
  332           sb .append(th is.id());
  333           re turn sb.to String();
  334  
  335       }
  336  
  337           /* *
  338            *  @param st ring
  339            *  @param st ring2
  340            *  @throws E xception
  341            * /
  342           pu blic void  setParamet er(String  string, St ring strin g2)  throw s Exceptio n {
  343           
  344                    thro w new Exce ption("set Parameter( String,Str ing) is no t implemen ted in thi s subclass  : " + thi s.getClass ().getName ());
  345                    
  346           }
  347  
  348           /* *
  349            *  @param st ring
  350            *  @param bu ffer
  351            *  @throws E xception
  352            * /
  353           pu blic void  setParamet er(String  string, by te[] buffe r)  throws  Exception  {
  354                    
  355                    thro w new Exce ption("set Parameter( String,Byt e[]) is no t implemen ted in thi s subclass  : " + thi s.getClass ().getName ());
  356                    
  357           }
  358           
  359           /* *
  360            *  @param st ring
  361            *  @param bu ffer
  362            *  @throws E xception
  363            * /
  364           pu blic void  setParamet er(String  string, By teBuffer b uffer)  th rows Excep tion {
  365                    
  366                    thro w new Exce ption("set Parameter( String,Byt eBuffer) i s not impl emented in  this subc lass : " +  this.getC lass().get Name());
  367                    
  368           }
  369  
  370           /* *
  371            *  @param st ring
  372            *  @param f
  373            *  @throws E xception
  374            * /
  375           pu blic void  setParamet er(String  string, Fi le f)  thr ows Except ion {
  376                    
  377                    thro w new Exce ption("set Parameter( String,Fil e) is not  implemente d in this  subclass :  " + this. getClass() .getName() );
  378                    
  379           }
  380           
  381           
  382           /* *
  383            *  @param na me
  384            *  @param va lue
  385            *  @throws E xception
  386            * /
  387           pu blic void  setParamet er(String  name, int  value) thr ows Except ion
  388           {
  389                    thro w new Exce ption("set Parameter( String,int ) is not i mplemented  in this s ubclass :  " + this.g etClass(). getName()) ;
  390           }
  391           
  392           /* *
  393            *  @param na me
  394            *  @param va lue
  395            *  @throws E xception
  396            * /
  397           pu blic void  setParamet er(String  name, long  value) th rows Excep tion
  398           {
  399                    thro w new Exce ption("set Parameter( String,lon g) is not  implemente d in this  subclass :  " + this. getClass() .getName() );
  400           }
  401           
  402           /* *
  403            *  @param na me
  404            *  @param va lue
  405            *  @throws E xception
  406            * /
  407           pu blic void  setParamet er(String  name, doub le value)  throws Exc eption
  408           {
  409                    thro w new Exce ption("set Parameter( String,dou ble) is no t implemen ted in thi s subclass  : " + thi s.getClass ().getName ());
  410           }
  411           
  412           pu blic void  setPersn(P ersn _pers on) throws  Exception
  413           {
  414                    _per son = pers on;
  415  
  416           }
  417           
  418           
  419           /* *
  420            *  @return
  421            *  @throws E xception
  422            * /
  423           pu blic Param eterValida tionResult  validate( )   throws  Exception  {
  424  
  425                    thro w new Exce ption("val idate() is  not imple mented in  this subcl ass : " +  this.getCl ass().getN ame());
  426                    
  427           }
  428       
  429   }