X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/15f7263cbb4f96fd2596fb9c0aed1e943117338e..42e869190e55d83094a9f3d5b547ef0fe2208fb9:/especificaciones/Controllers/afiliadosolicitantecontroller.rtf?ds=inline diff --git a/especificaciones/Controllers/afiliadosolicitantecontroller.rtf b/especificaciones/Controllers/afiliadosolicitantecontroller.rtf index c6c6c8e..14852c7 100644 --- a/especificaciones/Controllers/afiliadosolicitantecontroller.rtf +++ b/especificaciones/Controllers/afiliadosolicitantecontroller.rtf @@ -1,208 +1,204 @@ -{\rtf1\ansi\ansicpg1252\deff0 -{\fonttbl -{\f0\fnil\fcharset0\fprq0\fttruetype Nimbus Roman No9 L;} -{\f1\fnil\fcharset0\fprq0\fttruetype Courier 10 Pitch;} -{\f2\fnil\fcharset0\fprq0\fttruetype Courier;} -{\f3\fnil\fcharset0\fprq0\fttruetype FreeSerif;} -{\f4\fnil\fcharset0\fprq0\fttruetype Symbol;} -{\f5\fnil\fcharset0\fprq0\fttruetype Courier New;} -{\f6\fnil\fcharset0\fprq0\fttruetype Times New Roman;} -{\f7\fnil\fcharset0\fprq0\fttruetype StarSymbol;} -{\f8\fnil\fcharset0\fprq0\fttruetype Trebuchet MS;} -{\f9\fnil\fcharset0\fprq0\fttruetype Dingbats;} -{\f10\fnil\fcharset0\fprq0\fttruetype Nimbus Sans L;} -{\f11\fnil\fcharset0\fprq0\fttruetype Arial;} -{\f12\fnil\fcharset0\fprq0\fttruetype Wingdings;}} -{\colortbl -\red0\green0\blue0; -\red255\green255\blue255;} -{\stylesheet -{\*\cs1\f4\fs24\lang11274\sbasedon29 RTF_Num 3 4;} -{\s3\f0\fs24\lang11274\sbasedon69\snext69 ndice;} -{\*\cs4\fs24\lang11274\sbasedon52 Endnote Text;} -{\*\cs48\fs24\lang11274 Car\'e1cter de numeraci\'f3n;} -{\s6\fi-423\li2880\fs24\lang11274\sbasedon29\snext29 Contents 4;} -{\*\cs7\fs20\lang11274\sbasedon52 Footnote Text;} -{\s8\f6\fs24\lang11274\sbasedon56\snext69 Contenido de la tabla;} -{\*\cs9\f0\fs24\lang11274\sbasedon29 RTF_Num 2 1;} -{\*\cs10\f6\fs24\lang1034 RTF_Num 2 2;} -{\*\cs11\f6\fs24\lang1034 RTF_Num 2 3;} -{\*\cs12\f6\fs24\lang1034 RTF_Num 2 4;} -{\*\cs13\f6\fs24\lang1034 RTF_Num 2 5;} -{\*\cs14\f6\fs24\lang1034 RTF_Num 2 6;} -{\*\cs15\f6\fs24\lang1034 RTF_Num 2 7;} -{\*\cs16\f6\fs24\lang1034 RTF_Num 2 8;} -{\*\cs17\f6\fs24\lang1034 RTF_Num 2 9;} -{\*\cs18\f7\fs18\lang11274 Vi\'f1etas;} -{\s19\fi-424\li720\f8\fs24\lang11274\sbasedon27\snext69 Upper Case List;} -{\*\cs20\fs24\lang11274\sbasedon29 RTF_Num 5 2;} -{\*\cs21\fs24\lang11274\sbasedon29 RTF_Num 5 3;} -{\*\cs22\fs24\lang11274\sbasedon29 RTF_Num 5 4;} -{\s23\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Hand List;} -{\*\cs24\fs24\lang11274\sbasedon29 RTF_Num 5 6;} -{\s25\f0\fs24\lang11274\sbasedon69 ndice;} -{\*\cs26\fs24\lang11274\sbasedon29 RTF_Num 5 8;} -{\s27\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Numbered List;} -{\s75\fi-424\li720\f8\fs24\lang11274\sbasedon27\snext69 Upper Roman List;} -{\*\cs29\f6\fs24\lang11274\sbasedon69\snext69 Normal;} -{\s30\sb117\sa117\f0\fs20\i\lang11274\sbasedon69\snext69 Etiqueta;} -{\s31\tx1584\f0\fs24\lang11274\sbasedon59\snext29 Chapter Heading;} -{\*\cs32\f6\fs24\lang1034 RTF_Num 2 10;} -{\s82\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Triangle List;} -{\s33\fi-423\li2160\fs24\lang11274\sbasedon29\snext29 Contents 3;} -{\s34\tx431\f6\fs24\lang11274\sbasedon71\snext29 Numbered Heading 2;} -{\s35\fs24\i\b\lang11274\sbasedon8\snext69 Encabezado de la tabla;} -{\*\cs36\fs24\lang11274\sbasedon29 RTF_Num 5 1;} -{\s37\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Star List;} -{\s38\fi-424\li720\f8\fs24\lang11274\sbasedon27\snext69 Lower Case List;} -{\s39\f6\fs24\lang11274\sbasedon56\snext69 Lista;} -{\s40\qc\sb240\sa117\f11\fs32\b\lang11274\sbasedon29\snext29 Contents Header;} -{\*\cs41\fs24\b\lang11274\sbasedon29 RTF_Num 3 1;} -{\*\cs42\f5\fs24\lang11274\sbasedon29 RTF_Num 3 2;} -{\*\cs43\f12\fs24\lang11274\sbasedon29 RTF_Num 3 3;} -{\s44\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Box List;} -{\*\cs45\f5\fs24\lang11274\sbasedon29 RTF_Num 3 5;} -{\*\cs46\f12\fs24\lang11274\sbasedon29 RTF_Num 3 6;} -{\*\cs47\f4\fs24\lang11274\sbasedon29 RTF_Num 3 7;} -{\*\cs5\f5\fs24\lang11274\sbasedon29 RTF_Num 3 8;} -{\*\cs49\f12\fs24\lang11274\sbasedon29 RTF_Num 3 9;} -{\s74\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Lower Roman List;} -{\s51\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Heart List;} -{\*\cs52\fs24\lang11274\sbasedon29 Default Paragraph Font;} -{\s81\sb440\sa60\f11\fs34\b\lang11274\sbasedon29\snext29 Heading 1;} -{\s54\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Bullet List;} -{\s55\fi-423\li720\f0\fs24\lang11274\sbasedon29\snext69 Square List;} -{\s56\sa117\f0\fs24\lang11274\sbasedon69\snext69 Cuerpo de texto;} -{\s57\fi-423\li720\fs24\lang11274\sbasedon29\snext29 Contents 1;} -{\s58\fi-423\li1440\fs24\lang11274\sbasedon29\snext29 Contents 2;} -{\s59\tx431\f6\fs24\lang11274\sbasedon81\snext29 Numbered Heading 1;} -{\*\cs60\f0\fs20\super\lang11274\sbasedon29 Endnote Reference;} -{\s61\tx431\f6\fs24\lang11274\sbasedon83\snext29 Numbered Heading 3;} -{\*\cs28\fs24\lang11274\sbasedon29 WW-Fuente de p\'e1rrafo predeter.;} -{\s64\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Diamond List;} -{\*\cs2\fs24\lang11274\sbasedon29 RTF_Num 5 7;} -{\s66\tx1584\f0\fs24\lang11274\sbasedon59\snext29 Section Heading;} -{\s67\f6\fs24\lang11274\sbasedon56\snext69 List;} -{\*\cs65\f0\fs20\super\lang11274\sbasedon29 Footnote Reference;} -{\s68\f5\fs24\lang11274\sbasedon29\snext69 Plain Text;} -{\*\cs69\f8\fs24\lang1034 Predeterminado;} -{\*\cs70\fs24\lang11274\sbasedon29 RTF_Num 5 9;} -{\s71\sb440\sa60\f11\fs28\b\lang11274\sbasedon29\snext29 Heading 2;} -{\s72\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Implies List;} -{\s73\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Tick List;} -{\*\cs50\fs24\lang11274\sbasedon29 RTF_Num 4 1;} -{\*\cs63\fs24\lang11274\sbasedon29 RTF_Num 4 2;} -{\*\cs76\fs24\lang11274\sbasedon29 RTF_Num 4 3;} -{\*\cs77\fs24\lang11274\sbasedon29 RTF_Num 4 4;} -{\*\cs78\fs24\lang11274\sbasedon29 RTF_Num 4 5;} -{\*\cs79\fs24\lang11274\sbasedon29 RTF_Num 4 6;} -{\*\cs80\fs24\lang11274\sbasedon29 RTF_Num 4 7;} -{\*\cs53\fs24\lang11274\sbasedon29 RTF_Num 4 8;} -{\*\cs62\fs24\lang11274\sbasedon29 RTF_Num 4 9;} -{\s83\sb440\sa60\f11\fs24\b\lang11274\sbasedon29\snext29 Heading 3;} -{\s84\sb440\sa60\f11\fs24\b\lang11274\sbasedon29\snext29 Heading 4;} -{\s85\fi-423\li720\fs24\lang11274\sbasedon29\snext69 Dashed List;} -{\s86\fs24\lang11274\sbasedon69\snext69 ndice1;} -{\*\cs87\fs24\lang11274\sbasedon29 RTF_Num 5 5;} -{\s88\li1440\ri1440\sa117\fs24\lang11274\sbasedon29\snext69 Block Text;}} -{\*\listtable -{\list\listtemplateid1153\listsimple{\listlevel\levelnfc0\levelstartat1\levelspace0\levelfollow0\fi-281\li281{\leveltext\'02\'00.;}{\levelnumbers\'01;}}\listid1010}} -{\*\listoverridetable -{\listoverride\listoverridecount0\listid1010\levelnfc0\levelstartat1\levelspace0\levelfollow0\fi-281\li281{\leveltext\'02\'00.;}{\levelnumbers\'01;}\ls1}} - -\kerning0\cf0\ftnbj\fet2\ftnstart1\ftnnar\aftnnrlc\ftnstart1\aftnstart1\aenddoc\facingp\titlepg\revprop3{\info}\deftab720\viewkind1\paperw12240\paperh15840\margl1440\margr1440\widowctl -\sectd\sbknone\colsx0\margtsxn1133\margbsxn1133\marglsxn1133\margrsxn1133\pgncont\ltrsect -\pard\plain\ltrpar\qj\s69\sl240\slmult1\itap0{\cs69\f0\fs20\ul\lang11274{\*\listtag0}\abinodiroverride\ltrch Especificaci\'f3n de m\'e9todos de la clase}{\cs69\f0\fs20\ul\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\ul\lang11274{\*\listtag0}AfiliadoSolicitanteController}{\cs69\f0\fs20\ul\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\ul\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\ul\lang11274{\*\listtag0}\par} -{\listtext\pard\qj\fi-281\li281 1. }\pard\plain{\ltrpar\qj\fi-281\li281\s69{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-281\li281\ls1\ilvl0\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch e}{\cs69\f0\fs20\b\lang11274{\*\listtag0}xisteAfiliado}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0}( }{\cs69\f0\fs20\b\lang11274{\*\listtag0}tipoDocumento}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\lang11274{\*\listtag0},}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\lang11274{\*\listtag0}nroDocumento}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} )}{\cs69\f0\fs20\b\lang11274{\*\listtag0}:}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\lang11274{\*\listtag0}bool}{\cs69\f0\fs20\b\ul\lang11274{\*\listtag0}\par} -}\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Devuelve verdadero si existe en la tabla Afiliado un registro con tipoDocumento y nroDocumento.}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Falso en caso contrario.}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -{\listtext\pard\qj\fi-281\li281 2. }\pard\plain{\ltrpar\qj\fi-281\li281\s69{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-281\li281\ls1\ilvl0\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch el}{\cs69\f0\fs20\b\lang11274{\*\listtag0}iminarSolicitante}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0}( }{\cs69\f0\fs20\b\lang11274{\*\listtag0}tipoDocumento,}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\lang11274{\*\listtag0}numeroDocumento}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0})}{\cs69\f0\fs20\b\lang11274{\*\listtag0}:}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\lang11274{\*\listtag0}bool}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -}\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Elimina de la tabla Solicitante el registro que posea tipoDocumento y numeroDocumento.}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Devuelve verdadero si existia el registro,}{\cs69\f0\fs20\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\lang11274{\*\listtag0}falso en caso contrario.}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -{\listtext\pard\qj\fi-281\li281 3. }\pard\plain{\ltrpar\qj\fi-281\li281\s69{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-281\li281\ls1\ilvl0\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch a}{\cs69\f0\fs20\b\lang11274{\*\listtag0}filiarTitular}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0}( }{\cs69\f0\fs20\b\lang11274{\*\listtag0}tipoDocumento,}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\lang11274{\*\listtag0}nroDocumento,}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\lang11274{\*\listtag0}codPlan ):}{\cs69\f0\fs20\b\lang11274\ltrch{\*\listtag0} }{\cs69\f0\fs20\b\lang11274{\*\listtag0}bool}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -}\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se recuperan los datos del nuevo afiliado seg\'fan su instancia de Solicitante}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch afiliado = new Afiliado(SolicitanteDataService.Obtener(tipoDoc, nroDoc))}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch se instancia el plan correspondiente para relacionarlo con el afiliado.}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch plan = PlanDataService.Obtener(codPlan)}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch se asigna el plan al afiliado}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch AfiliadoDataService.setPlan( afiliado, plan )}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se completan los datos del afiliado con los valores que se indican a continuaci\'f3n:}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li280\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch codigo : AfiliadoDataService.getMaxCodigo() + 1}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch fechaAfiliacion: fecha actual.}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch fechaBaja: Null.}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch moroso: 0 (cero),}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch Se agregar el plan al historial:}{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch HistoriaPlanDataService.agregar( afiliado.getCodigo(), plan.getId() )}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Luego se almacena en la tabla Afiliado los datos contenidos en el objeto instanciado utilizando el m\'e9todo:}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch AfiliadoDataService.Agregar(afiliado).}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch Si alg\'fan paso fallara, el m\'e9todo deber\'eda devolver }{\cs69\f2\fs20\b\lang11274{\*\listtag0}FALSE}{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f2\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f2\fs20\b\lang11274{\*\listtag0}\par} -{\listtext\pard\qj\fi-281\li281 4. }\pard\plain{\ltrpar\qj\fi-281\li281\s69{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-281\li281\ls1\ilvl0\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang0{\*\listtag0}\abinodiroverride\ltrch obtenerSolicitantes()}{\cs69\f0\fs20\b\lang11274{\*\listtag1032}\par} -}\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang0{\*\listtag1071}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\lang0{\*\listtag1071}\abinodiroverride\ltrch Devuelve una lista de los solicitantes colocando como primer item el solicitante que fue ingresado con mayor anterioridad para que no se demore su afiliaci\'f3n.}{\cs69\f3\fs20\lang0{\*\listtag1071}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang0{\*\listtag1071}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang0{\*\listtag1071}\par} -{\listtext\pard\qj\fi-281\li281 5. }\pard\plain{\ltrpar\qj\fi-281\li281\s69{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-281\li281\ls1\ilvl0\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang0{\*\listtag0}\abinodiroverride\ltrch obtenerFamiliares(tipoDoc, nroDoc)}{\cs69\f3\fs20\b\lang0{\*\listtag1070}\par} -}\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang0{\*\listtag1100}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\lang0{\*\listtag1100}\abinodiroverride\ltrch Devuelve todos los registros que posean un titular que coincida con el titular definido por los par\'e1metros que toma el m\'e9todo.}{\cs69\f3\fs20\lang0{\*\listtag1100}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f1\fs18\lang0{\*\listtag1100}\abinodiroverride\ltrch familiares = SolicitanteDataService.obtenerFamiliares( tipoDoc, nroDoc ).}{\cs69\f1\fs18\lang0{\*\listtag1100}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\lang0{\*\listtag1100}\abinodiroverride\ltrch Donde }{\cs69\f1\fs18\lang0{\*\listtag1100}familiares }{\cs69\f3\fs20\lang0{\*\listtag1100}es una lista de solicitantes.}{\cs69\f3\fs20\lang0{\*\listtag1100}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang0{\*\listtag1099}\par} -{\listtext\pard\qj\fi-281\li281 6. }\pard\plain{\ltrpar\qj\fi-281\li281\s69{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-281\li281\ls1\ilvl0\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang2058{\*\listtag0}\abinodiroverride\ltrch afiliarFamiliar(tipoDoc, nroDoc, tipoDocTitular, nroDocTitular)}{\cs69\f3\fs20\b\lang0{\*\listtag1098}\par} -}\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang2058{\*\listtag1131}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se recuperan los datos del nuevo afiliado seg\'fan su instancia de Solicitante}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch afiliado = new Afiliado(SolicitanteDataService.Obtener(tipoDoc, nroDoc))}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Con los datos del titular (nroDocTitular y tipoDocTitular) se obtiene el plan y se asocia el titular al nuevo familiar afiliado}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs18\lang11274{\*\listtag0}\abinodiroverride\ltrch plan = AfiliadoDataService.obtenerPlan( tipoDocTitular, nroDocTitular )}{\cs69\f1\fs18\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se completan los datos del afiliado con los valores que se indican a continuaci\'f3n:}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch codigo : AfiliadoDataService.getMaxCodigo() + 1}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch fechaAfiliacion: fecha actual.}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch fechaBaja: Null.}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch moroso: 0 (cero),}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch Se agregar el plan al historial:}{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch HistoriaPlanDataService.agregar( afiliado.getCodigo(), plan.getId() )}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Luego se almacena en la tabla Afiliado los datos contenidos en el objeto instanciado utilizando el m\'e9todo:}{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch AfiliadoDataService.Agregar(afiliado).}{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f1\fs20\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch Si alg\'fan paso fallara, el m\'e9todo deber\'eda devolver }{\cs69\f2\fs20\b\lang11274{\*\listtag0}FALSE}{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f2\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang2058{\*\listtag1131}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang2058{\*\listtag1131}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang2058{\*\listtag1131}\par} -{\listtext\pard\qj\fi-281\li281 7. }\pard\plain{\ltrpar\qj\fi-281\li281\s69{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-281\li281\ls1\ilvl0\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang2058{\*\listtag1130}\par} -}\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang2058{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li279\s69\sl240\slmult1\itap0{\cs69\f3\fs20\b\lang0{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\b\lang11274{\*\listtag0}\par} -\pard\plain\ltrpar\qj\li281\s69\sl240\slmult1\itap0{\cs69\f0\fs20\lang11274{\*\listtag0}\par}} \ No newline at end of file +{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang3082\deflangfe3082{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} +{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;}{\f10\fnil\fcharset2\fprq2{\*\panose 05000000000000000000}Wingdings;} +{\f36\fswiss\fcharset0\fprq2{\*\panose 020b0603020202020204}Trebuchet MS{\*\falt Desyrel};}{\f270\fnil\fcharset0\fprq0{\*\panose 00000000000000000000}Nimbus Roman No9 L;}{\f271\fnil\fcharset0\fprq0{\*\panose 00000000000000000000}StarSymbol;} +{\f272\froman\fcharset238\fprq2 Times New Roman CE;}{\f273\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f275\froman\fcharset161\fprq2 Times New Roman Greek;}{\f276\froman\fcharset162\fprq2 Times New Roman Tur;} +{\f277\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f278\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f279\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f280\froman\fcharset163\fprq2 Times New Roman (Vietnamese);} +{\f282\fswiss\fcharset238\fprq2 Arial CE;}{\f283\fswiss\fcharset204\fprq2 Arial Cyr;}{\f285\fswiss\fcharset161\fprq2 Arial Greek;}{\f286\fswiss\fcharset162\fprq2 Arial Tur;}{\f287\fswiss\fcharset177\fprq2 Arial (Hebrew);} +{\f288\fswiss\fcharset178\fprq2 Arial (Arabic);}{\f289\fswiss\fcharset186\fprq2 Arial Baltic;}{\f290\fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f292\fmodern\fcharset238\fprq1 Courier New CE;}{\f293\fmodern\fcharset204\fprq1 Courier New Cyr;} +{\f295\fmodern\fcharset161\fprq1 Courier New Greek;}{\f296\fmodern\fcharset162\fprq1 Courier New Tur;}{\f297\fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f298\fmodern\fcharset178\fprq1 Courier New (Arabic);} +{\f299\fmodern\fcharset186\fprq1 Courier New Baltic;}{\f300\fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f632\fswiss\fcharset238\fprq2 Trebuchet MS CE{\*\falt Desyrel};}{\f633\fswiss\fcharset204\fprq2 Trebuchet MS Cyr{\*\falt Desyrel};} +{\f635\fswiss\fcharset161\fprq2 Trebuchet MS Greek{\*\falt Desyrel};}{\f636\fswiss\fcharset162\fprq2 Trebuchet MS Tur{\*\falt Desyrel};}{\f639\fswiss\fcharset186\fprq2 Trebuchet MS Baltic{\*\falt Desyrel};}}{\colortbl;\red0\green0\blue0; +\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128; +\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext0 Normal;}{\*\cs10 \additive +\ssemihidden Default Paragraph Font;}{\*\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{\*\cs15 \additive \f3\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 4;}{ +\s16\ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon0 \snext16 ndice;}{\*\cs17 \additive \lang11274\langfe0\langnp11274\langfenp0 \sbasedon10 Endnote Text;}{\*\cs18 \additive +\lang11274\langfe0\langnp11274\langfenp0 Car\'e1cter de numeraci\'f3n;}{\s19\ql \fi-423\li2880\ri0\nowidctlpar\faauto\rin0\lin2880\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext19 Contents 4;}{\*\cs20 \additive +\fs20\lang11274\langfe0\langnp11274\langfenp0 \sbasedon10 Footnote Text;}{\s21\ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon68 \snext21 Contenido de la tabla;}{\*\cs22 \additive +\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 2 1;}{\*\cs23 \additive \f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 2;}{\*\cs24 \additive \f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 3;}{\*\cs25 \additive +\f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 4;}{\*\cs26 \additive \f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 5;}{\*\cs27 \additive \f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 6;}{\*\cs28 \additive +\f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 7;}{\*\cs29 \additive \f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 8;}{\*\cs30 \additive \f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 9;}{\*\cs31 \additive +\f271\fs18\lang11274\langfe0\langnp11274\langfenp0 Vi\'f1etas;}{\s32\ql \fi-424\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f36\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon40 \snext32 Upper Case List;}{\*\cs33 \additive +\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 2;}{\*\cs34 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 3;}{\*\cs35 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 4;}{ +\s36\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext36 Hand List;}{\*\cs37 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 6;}{ +\s38\ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon0 \snext38 ndice2;}{\*\cs39 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 8;}{ +\s40\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext40 Numbered List;}{\s41\ql \fi-424\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 +\f36\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon40 \snext41 Upper Roman List;}{\s42\ql \li0\ri0\sb117\sa117\nowidctlpar\faauto\rin0\lin0\itap0 \i\f270\fs20\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon0 \snext42 +Etiqueta;}{\s43\ql \li0\ri0\nowidctlpar\tx1584\faauto\rin0\lin0\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon71 \snext43 Chapter Heading;}{\*\cs44 \additive \f0\lang1034\langfe0\langnp1034\langfenp0 RTF_Num 2 10;}{ +\s45\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext45 Triangle List;}{\s46\ql \fi-423\li2160\ri0\nowidctlpar\faauto\rin0\lin2160\itap0 +\f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext46 Contents 3;}{\s47\ql \li0\ri0\nowidctlpar\tx431\faauto\rin0\lin0\itap0 \fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon82 \snext47 Numbered Heading 2;}{ +\s48\ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \b\i\f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon21 \snext48 Encabezado de la tabla;}{\*\cs49 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 1;}{ +\s50\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext50 Star List;}{\s51\ql \fi-424\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 +\f36\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon40 \snext51 Lower Case List;}{\s52\ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon68 \snext52 List;}{ +\s53\qc \li0\ri0\sb240\sa117\nowidctlpar\faauto\rin0\lin0\itap0 \b\f1\fs32\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext53 Contents Header;}{\*\cs54 \additive \b\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 1;}{\*\cs55 \additive +\f2\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 2;}{\*\cs56 \additive \f10\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 3;}{\s57\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 +\f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext57 Box List;}{\*\cs58 \additive \f2\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 5;}{\*\cs59 \additive \f10\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 6;}{\*\cs60 \additive +\f3\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 7;}{\*\cs61 \additive \f2\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 8;}{\*\cs62 \additive \f10\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 3 9;}{ +\s63\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext63 Lower Roman List;}{\s64\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 +\f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext64 Heart List;}{\s65\ql \li0\ri0\sb440\sa60\nowidctlpar\faauto\rin0\lin0\itap0 \b\f1\fs34\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext65 Heading 1;}{ +\s66\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext66 Bullet List;}{\s67\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 +\f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext67 Square List;}{\s68\ql \li0\ri0\sa117\nowidctlpar\faauto\rin0\lin0\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon0 \snext68 Cuerpo de texto;}{ +\s69\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext69 Contents 1;}{\s70\ql \fi-423\li1440\ri0\nowidctlpar\faauto\rin0\lin1440\itap0 +\f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext70 Contents 2;}{\s71\ql \li0\ri0\nowidctlpar\tx431\faauto\rin0\lin0\itap0 \fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon65 \snext71 Numbered Heading 1;}{\*\cs72 +\additive \fs20\lang11274\langfe0\super\langnp11274\langfenp0 Endnote Reference;}{\s73\ql \li0\ri0\nowidctlpar\tx431\faauto\rin0\lin0\itap0 \fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon94 \snext73 Numbered Heading 3;}{\*\cs74 +\additive \lang11274\langfe0\langnp11274\langfenp0 WW-Fuente de p\'e1rrafo predeter.;}{\s75\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext75 Diamond List;}{\*\cs76 \additive +\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 7;}{\s77\ql \li0\ri0\nowidctlpar\tx1584\faauto\rin0\lin0\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon71 \snext77 Section Heading;}{\*\cs78 \additive +\fs20\lang11274\langfe0\super\langnp11274\langfenp0 Footnote Reference;}{\s79\ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \f2\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon0 \snext79 Plain Text;}{\*\cs80 \additive +\f36\lang1034\langfe0\langnp1034\langfenp0 Predeterminado;}{\*\cs81 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 9;}{\s82\ql \li0\ri0\sb440\sa60\nowidctlpar\faauto\rin0\lin0\itap0 +\b\f1\fs28\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext82 Heading 2;}{\s83\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext83 Implies List;}{ +\s84\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext84 Tick List;}{\*\cs85 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 1;}{\*\cs86 \additive +\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 2;}{\*\cs87 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 3;}{\*\cs88 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 4;}{\*\cs89 \additive +\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 5;}{\*\cs90 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 6;}{\*\cs91 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 7;}{\*\cs92 \additive +\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 8;}{\*\cs93 \additive \lang11274\langfe0\langnp11274\langfenp0 RTF_Num 4 9;}{\s94\ql \li0\ri0\sb440\sa60\nowidctlpar\faauto\rin0\lin0\itap0 \b\f1\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 +\snext94 Heading 3;}{\s95\ql \li0\ri0\sb440\sa60\nowidctlpar\faauto\rin0\lin0\itap0 \b\f1\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext95 Heading 4;}{\s96\ql \fi-423\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0 +\f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \snext96 Dashed List;}{\s97\ql \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon0 \snext97 ndice1;}{\*\cs98 \additive +\lang11274\langfe0\langnp11274\langfenp0 RTF_Num 5 5;}{\s99\ql \li1440\ri1440\sa117\nowidctlpar\faauto\rin1440\lin1440\itap0 \f270\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 \sbasedon0 \snext99 Block Text;}}{\*\listtable +{\list\listtemplateid1153\listsimple{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace0\levelindent0{\leveltext\'02\'00.;}{\levelnumbers\'01;}\fi-281\li281\lin281 }{\listname ;}\listid1010} +{\list\listtemplateid2142927002\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid201981967\'02\'00.;}{\levelnumbers\'01;}\fi-360\li1001\jclisttab\tx1001\lin1001 } +{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid201981977\'02\'01.;}{\levelnumbers\'01;}\fi-360\li1721\jclisttab\tx1721\lin1721 }{\listlevel\levelnfc2\levelnfcn2\leveljc2 +\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid201981979\'02\'02.;}{\levelnumbers\'01;}\fi-180\li2441\jclisttab\tx2441\lin2441 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1 +\levelspace360\levelindent0{\leveltext\leveltemplateid201981967\'02\'03.;}{\levelnumbers\'01;}\fi-360\li3161\jclisttab\tx3161\lin3161 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext +\leveltemplateid201981977\'02\'04.;}{\levelnumbers\'01;}\fi-360\li3881\jclisttab\tx3881\lin3881 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid201981979 +\'02\'05.;}{\levelnumbers\'01;}\fi-180\li4601\jclisttab\tx4601\lin4601 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid201981967\'02\'06.;}{\levelnumbers\'01;} +\fi-360\li5321\jclisttab\tx5321\lin5321 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid201981977\'02\'07.;}{\levelnumbers\'01;}\fi-360\li6041\jclisttab\tx6041\lin6041 } +{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid201981979\'02\'08.;}{\levelnumbers\'01;}\fi-180\li6761\jclisttab\tx6761\lin6761 }{\listname ;}\listid441993272} +{\list\listtemplateid-1878513404\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace289\levelindent0{\leveltext\leveltemplateid1652333360\'02\'00.;}{\levelnumbers\'01;}\b0\i0\fs20\fbias0 \fi-375\li953 +\jclisttab\tx953\lin953 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace289\levelindent0{\leveltext\leveltemplateid1827555608\'02\'01.;}{\levelnumbers\'01;}\b0\i0\fs20\fbias0 \fi-360\li1729 +\jclisttab\tx1729\lin1729 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace289\levelindent0{\leveltext\leveltemplateid201981979\'02\'02.;}{\levelnumbers\'01;}\fi-180\li2449\jclisttab\tx2449\lin2449 }{\listlevel +\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace289\levelindent0{\leveltext\leveltemplateid201981967\'02\'03.;}{\levelnumbers\'01;}\fi-360\li3169\jclisttab\tx3169\lin3169 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0 +\levelfollow0\levelstartat1\levelspace289\levelindent0{\leveltext\leveltemplateid201981977\'02\'04.;}{\levelnumbers\'01;}\fi-360\li3889\jclisttab\tx3889\lin3889 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace289 +\levelindent0{\leveltext\leveltemplateid201981979\'02\'05.;}{\levelnumbers\'01;}\fi-180\li4609\jclisttab\tx4609\lin4609 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace289\levelindent0{\leveltext +\leveltemplateid201981967\'02\'06.;}{\levelnumbers\'01;}\fi-360\li5329\jclisttab\tx5329\lin5329 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace289\levelindent0{\leveltext\leveltemplateid201981977 +\'02\'07.;}{\levelnumbers\'01;}\fi-360\li6049\jclisttab\tx6049\lin6049 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace289\levelindent0{\leveltext\leveltemplateid201981979\'02\'08.;}{\levelnumbers\'01;} +\fi-180\li6769\jclisttab\tx6769\lin6769 }{\listname ;}\listid1769227147}}{\*\listoverridetable{\listoverride\listid1010\listoverridecount0\ls1}{\listoverride\listid1769227147\listoverridecount0\ls2}{\listoverride\listid441993272\listoverridecount0\ls3}} +{\*\rsidtbl \rsid1053416\rsid2039732\rsid2825179\rsid3744910\rsid6168563\rsid7680007\rsid8875803\rsid10904955\rsid11559696\rsid13570943\rsid14954799\rsid16000236\rsid16457251}{\*\generator Microsoft Word 10.0.2627;}{\info{\author Flor}{\operator Flor} +{\creatim\yr2005\mo5\dy25\hr20\min7}{\revtim\yr2005\mo5\dy25\hr20\min28}{\version13}{\edmins12}{\nofpages2}{\nofwords563}{\nofchars3097}{\*\company Casta's SRL}{\nofcharsws3653}{\vern16437}}\margl1133\margr1133\margt1133\margb1133 +\facingp\widowctrl\ftnbj\aenddoc\hyphhotz425\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\hyphcaps0\horzdoc\dghspace120\dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale100\nolnhtadjtbl\rsidroot6168563 +\fet0\sectd \sbknone\linex0\colsx0\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4 +\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (} +{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \qj \fi-720\li720\ri0\nowidctlpar\faauto\rin0\lin720\itap0\pararsid1053416 +\fs24\lang11274\langfe3082\cgrid\langnp11274\langfenp3082 {\cs80\f36\fs20\ul\insrsid1053416\charrsid14954799 Especificaci\'f3n de m\'e9todos de la clase }{\cs80\b\f36\fs20\ul\insrsid1053416\charrsid14954799 AfiliadoSolicitanteController}{ +\cs80\f36\fs20\ul\insrsid1053416\charrsid14954799 +\par }\pard \qj \li0\ri0\nowidctlpar\faauto\rin0\lin0\itap0 {\cs80\b\f36\fs20\ul\insrsid1053416\charrsid14954799 +\par +\par {\pntext\pard\plain\cs80\b\f36\fs20\lang11274\langfe3082\langnp11274\insrsid1053416\charrsid14954799 \hich\af36\dbch\af0\loch\f36 1.\tab}}\pard \qj \fi-281\li281\ri0\nowidctlpar{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnstart1\pnindent360\pnsp120\pnhang +{\pntxta .}}\faauto\ls1\rin0\lin281\itap0 {\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 existeAfiliado( tipoDocumento , nroDocumento ): bool}{\cs80\b\f36\fs20\ul\insrsid1053416\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin281\itap0 {\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 +\par }{\cs80\f36\fs20\insrsid1053416\charrsid14954799 Devuelve verdadero si existe en la tabla Afiliado un registro con tipoDocumento y nroDocumento. +\par Falso en caso contrario. +\par }\pard \qj \li0\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin0\itap0 {\cs80\f36\fs20\insrsid1053416\charrsid14954799 +\par +\par {\pntext\pard\plain\cs80\b\f36\fs20\lang11274\langfe3082\langnp11274\insrsid1053416\charrsid14954799 \hich\af36\dbch\af0\loch\f36 2.\tab}}\pard \qj \fi-281\li281\ri0\nowidctlpar{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnstart1\pnindent360\pnsp120\pnhang +{\pntxta .}}\faauto\ls1\rin0\lin281\itap0 {\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 eliminarSolicitante( tipoDocumento, numeroDocumento): bool}{\cs80\f36\fs20\insrsid1053416\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin281\itap0 {\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 +\par }{\cs80\f36\fs20\insrsid1053416\charrsid14954799 Elimina de la tabla Solicitante el registro que posea tipoDocumento y numeroDocumento. +\par }{\cs80\f36\fs20\insrsid13570943 +\par }{\cs80\b\f36\fs20\insrsid1053416\charrsid13570943 Devuelve verdadero si exist}{\cs80\b\f36\fs20\insrsid13570943\charrsid13570943 \'ed}{\cs80\b\f36\fs20\insrsid1053416\charrsid13570943 a el registro, falso en caso contrario. +\par }{\cs80\f36\fs20\insrsid1053416\charrsid14954799 +\par {\pntext\pard\plain\cs80\b\f36\fs20\lang11274\langfe3082\langnp11274\insrsid1053416\charrsid7680007 \hich\af36\dbch\af0\loch\f36 3.\tab}}\pard \qj \fi-281\li281\ri0\nowidctlpar{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnstart1\pnindent360\pnsp120\pnhang +{\pntxta .}}\faauto\ls1\rin0\lin281\itap0 {\cs80\b\f36\fs20\insrsid1053416\charrsid7680007 a}{\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 filiarTitular( tipoDocumento, nroDocumento, codPlan ): bool}{\cs80\f36\fs20\insrsid1053416\charrsid14954799 + +\par }\pard \qj \li281\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin281\itap0 {\cs80\f36\fs20\insrsid7680007 +\par }{\cs80\f36\fs20\insrsid1053416\charrsid14954799 Se recuperan los datos del nuevo afiliado seg\'fan su instancia de Solicitante +\par }\pard \qj \li280\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin280\itap0 {\cs80\f36\fs20\insrsid1053416\charrsid14954799 +\par afiliado = new Afiliado(S}{\cs80\f36\fs20\insrsid10904955 olicitanteDataService.o}{\cs80\f36\fs20\insrsid1053416\charrsid14954799 btener(tipoDoc, nroDoc)) +\par +\par }{\cs80\f36\fs20\insrsid7680007 Se}{\cs80\f36\fs20\insrsid1053416\charrsid14954799 instancia el plan correspondiente pa}{\cs80\f36\fs20\insrsid7680007 ra relacionarlo con el afiliado:}{\cs80\f36\fs20\insrsid1053416\charrsid14954799 +\par +\par plan = PlanDataService.Obtener(codPlan) +\par +\par }{\cs80\f36\fs20\insrsid7680007 S}{\cs80\f36\fs20\insrsid1053416\charrsid14954799 e asigna el plan al afiliado}{\cs80\f36\fs20\insrsid7680007 :}{\cs80\f36\fs20\insrsid1053416\charrsid14954799 +\par +\par AfiliadoDataService.setPlan( afiliado, plan ) +\par +\par Se completan los datos del afiliado con los valores que se indican a continuaci\'f3n: +\par +\par codigo : AfiliadoDataService.getMaxCodigo() + 1 +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0 {\cs80\f36\fs20\insrsid1053416\charrsid14954799 fechaAfiliacion: fecha actual. +\par fechaBaja: Null. +\par moroso: 0 (cero), +\par +\par }{\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 Se agregar el plan al historial: +\par +\par }{\cs80\f36\fs20\insrsid1053416\charrsid14954799 HistoriaPlanDataService.agregar( afiliado.getCodigo(), plan.getId() ) +\par +\par Luego se almacena en la tabla Afiliado los datos contenidos en el objeto instanciado utilizando el m\'e9todo: +\par +\par AfiliadoDataService.Agregar(afiliado). +\par +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0\pararsid7680007 {\cs80\b\f36\fs20\insrsid7680007\charrsid14954799 Si alg\'fan paso fallara, el m\'e9todo devuelve FALSE, caso contrario devuelve TRUE + +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0 {\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 +\par +\par {\pntext\pard\plain\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 \hich\af36\dbch\af0\loch\f36 4.\tab}}\pard \qj \fi-281\li281\ri0\nowidctlpar{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnstart1\pnindent360\pnsp120\pnhang +{\pntxta .}}\faauto\ls1\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 obtenerSolicitantes()}{\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid2039732 : solicitantes[]}{ +\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 +\par }{\cs80\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 Devuelve una lista de los solicitantes colocando como primer item el solicitante que fue ingresado con mayor anterioridad para que no se demore su afiliaci\'f3n. +\par }{\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 +\par +\par {\pntext\pard\plain\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 \hich\af36\dbch\af0\loch\f36 5.\tab}}\pard \qj \fi-281\li281\ri0\nowidctlpar{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnstart1\pnindent360\pnsp120\pnhang +{\pntxta .}}\faauto\ls1\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 obtenerFamiliares(tipoDoc, nroDoc)}{\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid2039732 : solicitantes[]}{ +\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 +\par }{\cs80\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 Devuelve todos los registros que posean un titular que coincida con el titular definido por los par\'e1metros que toma el m\'e9todo. +\par familiares = SolicitanteDataService.obtenerFamiliares( tipoDoc, nroDoc ). +\par Donde familiares es una lista de solicitantes. +\par }{\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 +\par {\pntext\pard\plain\cs80\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid1053416\charrsid14954799 \hich\af36\dbch\af0\loch\f36 6.\tab}}\pard \qj \fi-281\li281\ri0\nowidctlpar{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnstart1\pnindent360\pnsp120\pnhang +{\pntxta .}}\faauto\ls1\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid1053416\charrsid14954799 afiliarFamiliar(tipoDoc, nroDoc, tipoDocTitular, nroDocTitular)}{ +\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid1053416\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid1053416\charrsid14954799 +\par }{\cs80\f36\fs20\insrsid1053416\charrsid14954799 Se recuperan los datos del nuevo afiliado seg\'fan su instancia de Solicitante +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0 {\cs80\f36\fs20\insrsid1053416\charrsid14954799 +\par afiliado = new Afiliado(SolicitanteDataService.}{\cs80\f36\fs20\insrsid1053416 p}{\cs80\f36\fs20\insrsid1053416\charrsid14954799 btener(tipoDoc, nroDoc)) +\par +\par Con los datos del titular (nroDocTitular y tipoDocTitular) se obtiene el plan y se asocia el titular al nuevo familiar afiliado +\par +\par plan = AfiliadoDataService.obtenerPlan( tipoDocTitular, nroDocTitular ) +\par +\par +\par Se completan los datos del afiliado con los valores que se indican a continuaci\'f3n: +\par +\par codigo : AfiliadoDataService.getMaxCodigo() + 1 +\par fechaAfiliacion: fecha actual. +\par fechaBaja: Null. +\par moroso: 0 (cero), +\par +\par }{\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 Se agregar el plan al historial: +\par +\par }{\cs80\f36\fs20\insrsid1053416\charrsid14954799 HistoriaPlanDataService.agregar( afiliado.getCodigo(), plan.getId() ) +\par +\par Luego se almacena en la tabla Afiliado los datos contenidos en el objeto instanciado utilizando el m\'e9todo: +\par +\par AfiliadoDataService.Agregar(afiliado). +\par +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0\pararsid14954799 {\cs80\b\f36\fs20\insrsid14954799\charrsid14954799 Si alg\'fan paso fallara, el m\'e9todo devuelve FALSE, caso contrario devuelve TRUE + +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0 {\cs80\b\f36\fs20\insrsid1053416\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid1053416\charrsid14954799 +\par {\pntext\pard\plain\cs80\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid6168563\charrsid14954799 \hich\af36\dbch\af0\loch\f36 7.\tab}}\pard \qj \fi-281\li281\ri0\nowidctlpar{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnstart1\pnindent360\pnsp120\pnhang +{\pntxta .}}\faauto\ls1\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid6168563\charrsid14954799 establecerPendiente(tipoDoc, nroDoc) : bool}{\cs80\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid1053416\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin281\itap0 {\cs80\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid1053416\charrsid14954799 +\par }\pard \ql \li252\ri0\nowidctlpar\tx532{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin252\itap0\pararsid6168563 {\f36\fs20\lang2058\langfe3082\langnp2058\insrsid6168563\charrsid14954799 +Se recuperan los datos del solicitante para recuperar los datos del solicitante a trav\'e9s de SolicitanteDataService.obtener(tipoDoc, nroDoc) y se almacenan en una instancia auxiliar de la clase Solicitante}{ +\f36\fs20\lang2058\langfe3082\langnp2058\insrsid16000236\charrsid14954799 llamada solicitante}{\f36\fs20\lang2058\langfe3082\langnp2058\insrsid6168563\charrsid14954799 +\par +\par +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0\pararsid6168563 {\f36\fs20\lang2058\langfe3082\langnp2058\insrsid6168563\charrsid14954799 +Se marca solicitante::pendiente = true y se elimina el promotor asignado al mismo (solicitante::idPromotor = null);}{\f36\fs20\lang2058\langfe3082\langnp2058\insrsid1053416\charrsid14954799 +\par }{\f36\fs20\lang2058\langfe3082\langnp2058\insrsid16000236\charrsid14954799 +\par Se almacenan los datos modificados llamando a SolicitanteDataService.guardar(solicitante) +\par }{\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid16000236\charrsid14954799 +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0\pararsid16457251 {\cs80\b\f36\fs20\insrsid16457251\charrsid14954799 Si alg\'fan paso fallara, el m\'e9todo dev}{ +\cs80\b\f36\fs20\insrsid14954799\charrsid14954799 uelve}{\cs80\b\f36\fs20\insrsid16457251\charrsid14954799 FALSE}{\cs80\b\f36\fs20\insrsid14954799\charrsid14954799 , caso contrario devuelve TRUE}{\cs80\b\f36\fs20\insrsid16457251\charrsid14954799 +\par }\pard \qj \li279\ri0\nowidctlpar{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin279\itap0\pararsid6168563 {\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid16457251\charrsid14954799 +\par {\pntext\pard\plain\cs80\b\f36\fs20\lang11274\langfe3082\langnp11274\insrsid8875803 \hich\af36\dbch\af0\loch\f36 8.\tab}}\pard \qj \fi-281\li281\ri0\nowidctlpar{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnstart1\pnindent360\pnsp120\pnhang {\pntxta .}} +\faauto\ls1\rin0\lin281\itap0\pararsid8875803 {\cs80\b\f36\fs20\insrsid8875803 obtenerSolicitantesVisitados(}{\cs80\b\f36\fs20\insrsid3744910 codigoPromotor}{\cs80\b\f36\fs20\insrsid8875803 ): }{\cs80\b\f36\fs20\insrsid2825179 int}{ +\cs80\b\f36\fs20\insrsid8875803 []}{\cs80\b\f36\fs20\insrsid8875803\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar\faauto\rin0\lin281\itap0\pararsid8875803 {\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid8875803\charrsid14954799 +\par }{\cs80\f36\fs20\lang0\langfe3082\langnp0\insrsid8875803\charrsid14954799 Devuelve una lista de los }{\cs80\f36\fs20\lang0\langfe3082\langnp0\insrsid2825179 documentos de los solicitantes}{ +\cs80\f36\fs20\lang0\langfe3082\langnp0\insrsid8875803\charrsid14954799 }{\cs80\f36\fs20\lang0\langfe3082\langnp0\insrsid3744910 que el p}{\cs80\f36\fs20\lang0\langfe3082\langnp0\insrsid11559696 romotor deb\'eda visitar en el d\'eda a trav\'e9 +s de la llamada a SolicitanteDataService.obtenerSolicitantesVisitados(codigoPromotor)}{\cs80\b\f36\fs20\lang0\langfe3082\langnp0\insrsid8875803\charrsid14954799 +\par }\pard \qj \li281\ri0\nowidctlpar\faauto\rin0\lin281\itap0 {\b\f36\fs20\lang2058\langfe3082\langnp2058\insrsid8875803 +\par }} \ No newline at end of file