X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/blobdiff_plain/0afab18bee62d8647a06849263ccef6f8ec113a5..fb4bf690e4b2a42a42e87d6fb4ec02e9e4ebe81d:/especificaciones/Controllers/afiliadosolicitantecontroller.rtf?ds=inline diff --git a/especificaciones/Controllers/afiliadosolicitantecontroller.rtf b/especificaciones/Controllers/afiliadosolicitantecontroller.rtf index d1517d6..b4aeadc 100644 --- a/especificaciones/Controllers/afiliadosolicitantecontroller.rtf +++ b/especificaciones/Controllers/afiliadosolicitantecontroller.rtf @@ -1,52 +1,323 @@ -{\rtf1\ansi\deff0\adeflang1025 -{\fonttbl{\f0\froman\fprq2\fcharset0 Nimbus Roman No9 L{\*\falt Times New Roman};}{\f1\froman\fprq2\fcharset0 Nimbus Roman No9 L{\*\falt Times New Roman};}{\f2\fnil\fprq0\fcharset2 StarSymbol;}{\f3\fnil\fprq2\fcharset0 Andale Sans UI{\*\falt Arial Unicode MS};}{\f4\fnil\fprq2\fcharset0 Tahoma{\*\falt Lucidasans};}{\f5\fnil\fprq0\fcharset0 Tahoma{\*\falt Lucidasans};}} -{\colortbl;\red0\green0\blue0;\red128\green128\blue128;} -{\stylesheet{\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274\snext1 Predeterminado;} -{\s2\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274\sbasedon1\snext2 Cuerpo de texto;} -{\s3\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274\sbasedon2\snext3 Lista;} -{\s4\sb120\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs20\lang255\ai\ltrch\dbch\af3\afs20\langfe255\ai\loch\f0\fs20\lang11274\i\sbasedon1\snext4 Etiqueta;} -{\s5\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274\sbasedon1\snext5 \'cdndice;} -{\*\cs7\cf0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 Car\'e1cter de numeraci\'f3n;} -{\*\cs8\cf0\rtlch\af2\afs18\lang255\ltrch\dbch\af2\afs18\langfe255\loch\f2\fs18\lang11274 Vi\'f1etas;} -}{\*\listtable{\list\listtemplateid1 -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'00.;}{\levelnumbers\'01;}\fi-283\li283} -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'01.;}{\levelnumbers\'01;}\fi-283\li567} -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'02.;}{\levelnumbers\'01;}\fi-283\li850} -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'03.;}{\levelnumbers\'01;}\fi-283\li1134} -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'04.;}{\levelnumbers\'01;}\fi-283\li1417} -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'05.;}{\levelnumbers\'01;}\fi-283\li1701} -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'06.;}{\levelnumbers\'01;}\fi-283\li1984} -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'07.;}{\levelnumbers\'01;}\fi-283\li2268} -{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'08.;}{\levelnumbers\'01;}\fi-283\li2551} -{\*\soutlvl{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow2{\leveltext \'02\'09.;}{\levelnumbers\'01;}\fi-283\li2835}}\listid1} -}{\listoverridetable{\listoverride\listid1\listoverridecount0\ls0}} +{\rtf1\ansi\ansicpg1252\deff0 +{\fonttbl +{\f0\fnil\fcharset0\fprq0\fttruetype Trebuchet MS;} +{\f1\fnil\fcharset0\fprq0\fttruetype NULL;} +{\f2\fnil\fcharset0\fprq0\fttruetype Courier 10 Pitch;} +{\f3\fnil\fcharset0\fprq0\fttruetype Times New Roman;} +{\f4\fnil\fcharset0\fprq0\fttruetype Nimbus Roman No9 L;} +{\f5\fnil\fcharset0\fprq0\fttruetype Courier New;} +{\f6\fnil\fcharset0\fprq0\fttruetype Wingdings;} +{\f7\fnil\fcharset0\fprq0\fttruetype Symbol;} +{\f8\fnil\fcharset0\fprq0\fttruetype StarSymbol;} +{\f9\fnil\fcharset0\fprq0\fttruetype Arial;} +{\f10\fnil\fcharset0\fprq0\fttruetype Dingbats;}} +{\colortbl +\red0\green0\blue0; +\red255\green255\blue255;} +{\stylesheet +{\s1\fi-427\li720\f0\fs24\lang1034 Numbered List;} +{\*\cs2\f3\lang1034 RTF_Num 2 7;} +{\s3\f4\fs24\lang1034\sbasedon39 ndice;} +{\s4\fi-428\li720\f0\fs24\lang1034\sbasedon1 Upper Case List;} +{\*\cs5\fs20\super\lang1034 Endnote Reference;} +{\*\cs6\f3\b\lang1034 RTF_Num 3 1;} +{\*\cs7\f5\lang1034 RTF_Num 3 2;} +{\*\cs8\f6\lang1034 RTF_Num 3 3;} +{\*\cs9\f7\lang1034 RTF_Num 3 4;} +{\*\cs10\f5\lang1034 RTF_Num 3 5;} +{\*\cs11\f6\lang1034 RTF_Num 3 6;} +{\*\cs12 Default Paragraph Font;} +{\*\cs13\f5\lang1034 RTF_Num 3 8;} +{\*\cs14\f6\lang1034 RTF_Num 3 9;} +{\*\cs15\f3\lang1034 RTF_Num 12 4;} +{\*\cs16\f3\lang1034 RTF_Num 12 5;} +{\*\cs17\f3\lang1034 RTF_Num 12 6;} +{\*\cs18\f3\lang1034 RTF_Num 12 7;} +{\*\cs19\f3\lang1034 RTF_Num 12 8;} +{\*\cs20\f3\lang1034 RTF_Num 12 9;} +{\s21\fi-427\li720\f0\fs24\lang1034 Implies List;} +{\*\cs22\f3\b\lang1034 RTF_Num 7 1;} +{\*\cs23\f3\lang1034 RTF_Num 7 2;} +{\*\cs24\f3\lang1034 RTF_Num 7 3;} +{\*\cs25\f3\lang1034 RTF_Num 7 4;} +{\*\cs26\f3\lang1034 RTF_Num 7 5;} +{\*\cs27\f3\lang1034 RTF_Num 7 6;} +{\*\cs28\f3\lang1034 RTF_Num 7 7;} +{\*\cs29\f3\lang1034 RTF_Num 7 8;} +{\*\cs30\f3\lang1034 RTF_Num 7 9;} +{\*\cs31\f3\lang1034 WW-Fuente de p\'e1rrafo predeter.;} +{\s32\fi-427\li720\f0\fs24\lang1034\sbasedon77 Lower Roman List;} +{\s33\fi-427\li720\f0\fs24\lang1034\sbasedon77\snext77 Contents 1;} +{\s34\fi-427\li1440\f0\fs24\lang1034\sbasedon77\snext77 Contents 2;} +{\s35\fi-427\li2160\f0\fs24\lang1034\sbasedon77\snext77 Contents 3;} +{\s36\fi-427\li2880\f0\fs24\lang1034\sbasedon77\snext77 Contents 4;} +{\s37\fi-427\li720\f0\fs24\lang1034 Dashed List;} +{\*\cs38\f3\lang1034 RTF_Num 12 2;} +{\s39\f0\fs24\lang1034 Predeterminado;} +{\s40\fs24\lang1034\sbasedon163 List;} +{\s41\sb117\sa117\f4\fs20\i\lang1034\sbasedon39 Etiqueta;} +{\*\cs71\sbasedon12 page number;} +{\s162\fi-427\li720\f0\fs24\lang1034 Box List;} +{\*\cs44\f8\fs18\lang11274 Vi\'f1etas;} +{\*\cs45\fs20\super\lang1034 Footnote Reference;} +{\s46\sb440\sa60\f9\fs34\b\lang1034\sbasedon77\snext77 Heading 1;} +{\s47\sb440\sa60\f9\fs28\b\lang1034\sbasedon77\snext77 Heading 2;} +{\s48\sb440\sa60\f9\fs24\b\lang1034\sbasedon77\snext77 Heading 3;} +{\s49\sb440\sa60\f9\fs24\b\lang1034\sbasedon77\snext77 Heading 4;} +{\*\cs50\f3\lang1034 RTF_Num 2 4;} +{\*\cs51\f3\lang1034 RTF_Num 2 5;} +{\*\cs52\f3\lang1034 RTF_Num 2 6;} +{\*\cs110\f3\lang1034 RTF_Num 11 1;} +{\*\cs111\f3\lang1034 RTF_Num 2 8;} +{\*\cs55\f3\lang1034 RTF_Num 2 9;} +{\s56\fi-428\li720\f0\fs24\lang1034\sbasedon1 Upper Roman List;} +{\*\cs57\f3\lang1034 RTF_Num 11 5;} +{\*\cs58\f3\lang1034 RTF_Num 11 6;} +{\*\cs59\f3\lang1034 RTF_Num 11 7;} +{\*\cs60\f3\lang1034 RTF_Num 11 8;} +{\*\cs61\f3\lang1034 RTF_Num 11 9;} +{\*\cs62\f7\lang1034 RTF_Num 6 1;} +{\s63\li1440\ri1440\sa117\f0\fs24\lang1034\sbasedon77 Block Text;} +{\*\cs64\f6\lang1034 RTF_Num 6 3;} +{\*\cs65\f7\lang1034 RTF_Num 6 4;} +{\*\cs66\f5\lang1034 RTF_Num 6 5;} +{\*\cs67\f6\lang1034 RTF_Num 6 6;} +{\*\cs68\f7\lang1034 RTF_Num 6 7;} +{\*\cs69\f5\lang1034 RTF_Num 6 8;} +{\*\cs70\lang1034\sbasedon77 Endnote Text;} +{\*\cs42\lang11274 Car\'e1cter de numeraci\'f3n;} +{\*\cs72\f7\lang1034 RTF_Num 3 7;} +{\s73\fi-427\li720\f0\fs24\lang1034 Heart List;} +{\*\cs74\lang1034 RTF_Num 4 2;} +{\s75\fi-427\li720\f0\fs24\lang1034 Triangle List;} +{\s76\fi-427\li720\f0\fs24\lang1034 Hand List;} +{\s77\f3\fs24\lang1034 Normal;} +{\s78\fi-427\li720\f0\fs24\lang1034 Tick List;} +{\s79\fi-427\li720\f0\fs24\lang1034 Square List;} +{\s80\fi-427\li720\f0\fs24\lang1034 Star List;} +{\s81\qc\sb240\sa117\f9\fs32\b\lang1034\sbasedon77\snext77 Contents Header;} +{\s82\tx1584\f0\fs24\lang1034\sbasedon107\snext77 Section Heading;} +{\s83\fi-427\li720\f0\fs24\lang1034 Bullet List;} +{\*\cs84\f3\fs20\lang1034 RTF_Num 10 1;} +{\*\cs85\f3\fs20\lang1034 RTF_Num 10 2;} +{\*\cs86\f3\lang1034 RTF_Num 10 3;} +{\*\cs87\f3\lang1034 RTF_Num 10 4;} +{\*\cs88\f3\lang1034 RTF_Num 10 5;} +{\*\cs89\f3\lang1034 RTF_Num 10 6;} +{\*\cs90\f3\lang1034 RTF_Num 10 7;} +{\*\cs91\f3\lang1034 RTF_Num 10 8;} +{\*\cs92\f3\lang1034 RTF_Num 10 9;} +{\s93\tx1584\f0\fs24\lang1034\sbasedon107\snext77 Chapter Heading;} +{\*\cs94\f3\lang1034 RTF_Num 2 10;} +{\*\cs95\lang1034 RTF_Num 5 1;} +{\*\cs96\lang1034 RTF_Num 5 2;} +{\*\cs97\lang1034 RTF_Num 5 3;} +{\*\cs98\lang1034 RTF_Num 5 4;} +{\*\cs99\lang1034 RTF_Num 5 5;} +{\*\cs100\lang1034 RTF_Num 5 6;} +{\*\cs101\lang1034 RTF_Num 5 7;} +{\*\cs102\lang1034 RTF_Num 5 8;} +{\*\cs103\lang1034 RTF_Num 5 9;} +{\*\cs104\f3\lang1034 RTF_Num 2 3;} +{\s105\f4\fs24\lang1034\sbasedon39 ndice1;} +{\s106\f4\fs24\lang1034\sbasedon39 ndice2;} +{\s107\tx431\f0\fs24\lang1034\sbasedon46\snext77 Numbered Heading 1;} +{\s108\tx431\f0\fs24\lang1034\sbasedon47\snext77 Numbered Heading 2;} +{\s109\tx431\f0\fs24\lang1034\sbasedon48\snext77 Numbered Heading 3;} +{\s53\f5\fs24\lang1034\sbasedon77 Plain Text;} +{\*\cs54\f3\lang1034 RTF_Num 11 2;} +{\s112\tqc\tx4252\tqr\tx8504\fs24\lang1034\sbasedon77 header;} +{\*\cs113\f3\lang1034 RTF_Num 11 3;} +{\*\cs114\f3\lang1034 RTF_Num 11 4;} +{\*\cs115\f3\lang1034 RTF_Num 9 1;} +{\*\cs116\f3\lang1034 RTF_Num 9 2;} +{\*\cs117\f3\lang1034 RTF_Num 9 3;} +{\*\cs118\f3\lang1034 RTF_Num 9 4;} +{\*\cs119\f3\lang1034 RTF_Num 9 5;} +{\*\cs120\f3\lang1034 RTF_Num 9 6;} +{\*\cs121\f3\lang1034 RTF_Num 9 7;} +{\*\cs122\f3\lang1034 RTF_Num 9 8;} +{\*\cs123\f3\lang1034 RTF_Num 9 9;} +{\*\cs124\fs20\lang1034\sbasedon12 Footnote Text;} +{\s125\fs24\lang1034\sbasedon163 Contenido de la tabla;} +{\*\cs126\f3\fs20\lang1034 RTF_Num 13 1;} +{\s127\f4\fs24\i\b\lang1034\sbasedon125 Encabezado de la tabla;} +{\*\cs128\f3\fs20\lang1034 RTF_Num 13 2;} +{\*\cs129\f3\lang1034 RTF_Num 12 1;} +{\*\cs130\f3\lang1034 RTF_Num 13 3;} +{\s131\fi-428\li720\f0\fs24\lang1034\sbasedon1 Lower Case List;} +{\s132\fs20\lang0 Normal Table;} +{\*\cs133\f5\lang1034 RTF_Num 6 2;} +{\s134\fi-427\li720\f0\fs24\lang1034 Diamond List;} +{\*\cs135\f6\lang1034 RTF_Num 6 9;} +{\*\cs136\lang1034 RTF_Num 4 1;} +{\s137\tqc\tx4252\tqr\tx8504\fs24\lang1034\sbasedon77 footer;} +{\*\cs138\lang1034 RTF_Num 4 3;} +{\*\cs139\lang1034 RTF_Num 4 4;} +{\*\cs140\lang1034 RTF_Num 4 5;} +{\*\cs141\lang1034 RTF_Num 4 6;} +{\*\cs142\lang1034 RTF_Num 4 7;} +{\*\cs143\lang1034 RTF_Num 4 8;} +{\*\cs144\lang1034 RTF_Num 4 9;} +{\*\cs145\f3\lang1034 RTF_Num 13 4;} +{\*\cs146\f3\lang1034 RTF_Num 13 5;} +{\*\cs147\f3\lang1034 RTF_Num 13 6;} +{\*\cs148\f3\lang1034 RTF_Num 13 7;} +{\*\cs149\f3\lang1034 RTF_Num 13 8;} +{\*\cs150\f3\lang1034 RTF_Num 13 9;} +{\*\cs151\f3\lang1034 RTF_Num 12 3;} +{\*\cs152\f7\lang1034 RTF_Num 8 1;} +{\*\cs153\f5\lang1034 RTF_Num 8 2;} +{\*\cs154\f6\lang1034 RTF_Num 8 3;} +{\*\cs155\f7\lang1034 RTF_Num 8 4;} +{\*\cs156\f5\lang1034 RTF_Num 8 5;} +{\*\cs157\f6\lang1034 RTF_Num 8 6;} +{\*\cs158\f7\lang1034 RTF_Num 8 7;} +{\*\cs159\f5\lang1034 RTF_Num 8 8;} +{\*\cs160\f6\lang1034 RTF_Num 8 9;} +{\*\cs161\lang1034 RTF_Num 2 1;} +{\*\cs43\f3\lang1034 RTF_Num 2 2;} +{\s163\sa117\f4\fs24\lang1034\sbasedon39 Cuerpo de texto;}} +{\*\listtable +{\list\listtemplateid1000\listsimple{\listlevel\levelnfc0\levelstartat1\levelspace0\levelfollow0\fi-279\li279{\leveltext\'02\'00.;}{\levelnumbers\'01;}}\listid1010}} +{\*\listoverridetable +{\listoverride\listoverridecount0\listid1010\levelnfc0\levelstartat1\levelspace0\levelfollow0\fi-279\li279{\leveltext\'02\'00.;}{\levelnumbers\'01;}\ls1}} -{\info{\creatim\yr2005\mo5\dy22\hr17\min58}{\revtim\yr2005\mo5\dy22\hr18\min8}{\printim\yr1601\mo1\dy1\hr0\min0}{\comment StarWriter}{\vern6450}}\deftab709 -{\*\pgdsctbl -{\pgdsc0\pgdscuse195\pgwsxn11905\pghsxn16837\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Predeterminado;}} -\paperh16837\paperw11905\margl1134\margr1134\margt1134\margb1134\sectd\sbknone\pgwsxn11905\pghsxn16837\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc -\pard\plain \ltrpar\s1\cf0\uldb{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 Especificaci\'f3n de m\'e9todos de la clase {\b AfiliadoSolicitanteController}} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 -\par -\par \pard\plain {\listtext\pard\plain \li283\ri0\lin283\rin0\fi-283 1.}\ilvl0 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li283\ri0\lin283\rin0\fi-283\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 ExisteUsuario(TipoDocumento:string, NumeroDocumento:int) : bool} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 Devuelve verdadero si existe en la tabla Afiliado un registro con TipoDocumento y NumeroDocumento.} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 Falso en caso contrario.} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 -\par -\par \pard\plain {\listtext\pard\plain \li283\ri0\lin283\rin0\fi-283 2.}\ilvl0 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li283\ri0\lin283\rin0\fi-283\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 EliminarSolicitante(TipoDocumento: string, NumeroDocumento: bool): bool} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 Elimina de la tabla Solicitante el registro que posea TipoDocumento y NumeroDocumento.} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 Devuelve verdadero si existia el registro, falso en caso contrario.} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 -\par \pard\plain {\listtext\pard\plain \li283\ri0\lin283\rin0\fi-283 3.}\ilvl0 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li283\ri0\lin283\rin0\fi-283\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274{\loch\f0\fs24\lang11274\i0\b0\b0\ulnone GuardarAfiliado(Persona:Persona, Plan:Plan):bool} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 Se crea una instancia de la clase Afiliado utilizando los datos del objeto Persona y completando los dem\'e1s atributos:} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 codigo : } -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 fechaAfiliacion: fecha actual.} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 fechaBaja: Null.} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 moroso: 0 (cero),} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 idPlan = Plan.getID();} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\li283\ri0\lin283\rin0\fi0\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 {\loch\f0\fs24\lang11274\i0\b0 Luego se almacena en la tabla Afiliado los datos contenidos en el objeto instanciado utilizando el m\'e9todo de la clase {\b AfiliadoDataService.Agregar(Afiliado).}} -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 -\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af4\afs24\lang255\ltrch\dbch\af3\afs24\langfe255\loch\f0\fs24\lang11274 -\par {\loch\f0\fs24\lang11274\i0\b0 \tab } -\par } \ No newline at end of file +\kerning0\cf0\ftnbj\fet2\ftnstart1\ftnnar\aftnnar\ftnstart1\aftnstart1\aenddoc\facingp\titlepg\revprop3{\info{\author Flor}}\deftab720\viewkind1\paperw12240\paperh15840\margl1440\margr1440\widowctl +{\footerl\pard\plain\par +\pard\plain\ltrpar\qr\s137\sl240\slmult1\itap0\tqc\tx4252\tqr\tx8504{\field{\*\fldinst {\f0\fs24\lang1034{\*\listtag0} PAGE }}{\fldrslt {\noproof ?}}}} +{\footerr\pard\plain{\s137\f0\fs24\lang1034{\*\listtag0}\par} +\pard\plain\ltrpar\qr\s137\sl240\slmult1\itap0\tqc\tx4252\tqr\tx8504{\field{\*\fldinst {\f0\fs24\lang1034{\*\listtag0} PAGE }}{\fldrslt {\noproof ?}}}{\s137\f0\fs24\lang1034{\*\listtag0}\par} +\pard\plain\ltrpar\qr\ri360\s137\sl240\slmult1\itap0\tqc\tx4252\tqr\tx8504{\s137\f3\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Especificaci\'f3n de la clase \uc1\u8220\'93AfiliadoSolicitanteController\uc1\u8221\'94}} +\sectd\sbknone\colsx0\margtsxn1133\margbsxn1318\marglsxn1133\margrsxn1133\pgncont\ltrsect\par +\pard\plain\ltrpar\qj\fi-720\li720\sl240\slmult1\itap0{\s39\f0\fs20\ul\lang11274{\*\listtag0}\abinodiroverride\ltrch Especificaci\'f3n de m\'e9todos de la clase }{\s39\f0\fs20\b\ul\lang11274{\*\listtag0}AfiliadoSolicitanteController}{\f0\fs20\ul\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\sl240\slmult1\itap0{\f0\fs20\b\ul\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\sl240\slmult1\itap0{\f0\fs20\b\ul\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 1. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch existeAfiliado( tipoDocumento , nroDocumento ): bool}{\f0\fs20\lang11274{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Devuelve verdadero si existe la }{\f0\fs20\lang11274{\*\listtag0}Persona}{\s39\f0\fs20\lang11274{\*\listtag0} tipoDocumento y nroDocumento}{\f0\fs20\lang11274{\*\listtag0} y a su vez existe un afiliado con el mismo ID.}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Falso en caso contrario.}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 2. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch eliminarSolicitante( tipoDocumento, numeroDocumento): bool}{\f0\fs20\lang11274{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Elimina a}{\f0\fs20\lang11274{\*\listtag0}l}{\s39\f0\fs20\lang11274{\*\listtag0} Solicitante }{\f0\fs20\lang11274{\*\listtag0}p}{\s39\f0\fs20\lang11274{\*\listtag0}osea tipoDocumento y numeroDocumento.}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Devuelve verdadero si exist\'eda el registro, falso en caso contrario.}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 3. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch afiliarTitular( tipoDocumento, nroDocumento, codPlan ): bool}{\f0\fs20\lang11274{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se recuperan los datos del nuevo afiliado seg\'fan su instancia de Solicitante}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f2\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch afiliado = new Afiliado(SolicitanteDataService.obtener(tipoDoc, nroDoc))}{\f2\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se instancia el plan correspondiente para relacionarlo con el afiliado:}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f2\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch plan = PlanDataService.}{\f2\fs20\lang11274{\*\listtag0}o}{\s39\f2\fs20\lang11274{\*\listtag0}btener(codPlan)}{\f2\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se asigna el plan al afiliado:}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f2\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch afiliado}{\f2\fs20\lang11274{\*\listtag0}.plan = }{\s39\f2\fs20\lang11274{\*\listtag0}plan}{\f2\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se completan los datos del afiliado con los valores que se indican a continuaci\'f3n:}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f2\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch codigo }{\f2\fs20\lang11274{\*\listtag0}=}{\s39\f2\fs20\lang11274{\*\listtag0} AfiliadoDataService.getMaxCodigo() + 1}{\f2\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f2\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch fechaAfiliacion}{\f2\fs20\lang11274{\*\listtag0} = }{\s39\f2\fs20\lang11274{\*\listtag0}fecha actual.}{\f2\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f2\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch fechaBaja}{\f2\fs20\lang11274{\*\listtag0} = n}{\s39\f2\fs20\lang11274{\*\listtag0}ull.}{\f2\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f2\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch moroso: 0 (cero),}{\f2\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se agregar el plan al historial:}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f2\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch afuliado.historiaPlan}{\s39\f2\fs20\lang11274{\*\listtag0}.agregar(}{\f2\fs20\lang11274{\*\listtag0} }{\s39\f2\fs20\lang11274{\*\listtag0}plan )}{\f2\fs20\lang11274{\*\listtag0};}{\f2\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Luego se almacena en la tabla Afiliado los datos contenidos en el objeto instanciado utilizando el m\'e9todo:}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch AfiliadoDataService.}{\f0\fs20\lang11274{\*\listtag0}a}{\s39\f0\fs20\lang11274{\*\listtag0}gregar(afiliado).}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 4. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang0{\*\listtag0}\abinodiroverride\ltrch obtenerSolicitantes(): solicitantes[]}{\f0\fs20\lang11274{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang0{\*\listtag0}\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.}{\f0\fs20\lang0{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 5. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\f0\fs20\b\lang0{\*\listtag0}\abinodiroverride\ltrch obtenerSolcitantesAfiliar(): solicitantes[]}{\f0\fs20\lang0{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang0{\*\listtag1038}\abinodiroverride\ltrch Devuelve una lista con los solicitantes que ya fueron visitados por un promotor y est\'e1n en condiciones de ser afiliados.}{\f0\fs20\lang0{\*\listtag1038}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang0{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 6. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang0{\*\listtag0}\abinodiroverride\ltrch obtenerFamiliares(tipoDoc, nroDoc): solicitantes[]}{\f0\fs20\lang0{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang0{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang0{\*\listtag0}\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.}{\f0\fs20\lang0{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang0{\*\listtag0}\abinodiroverride\ltrch familiares = SolicitanteDataService.obtenerFamiliares( tipoDoc, nroDoc ).}{\f0\fs20\lang0{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang0{\*\listtag0}\abinodiroverride\ltrch Donde familiares es una lista de solicitantes.}{\f0\fs20\lang0{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang0{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 7. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang2058{\*\listtag0}\abinodiroverride\ltrch afiliarFamiliar(tipoDoc, nroDoc, tipoDocTitular, nroDocTitular)}{\f0\fs20\lang0{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se recuperan los datos del nuevo afiliado seg\'fan su instancia de Solicitante}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch afiliado = new Afiliado(SolicitanteDataService.pbtener(tipoDoc, nroDoc))}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\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}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch plan = AfiliadoDataService.obtenerPlan( tipoDocTitular, nroDocTitular )}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se completan los datos del afiliado con los valores que se indican a continuaci\'f3n:}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch codigo : AfiliadoDataService.getMaxCodigo() + 1}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch fechaAfiliacion: fecha actual.}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch fechaBaja: Null.}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch moroso: 0 (cero),}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se agregar el plan al historial:}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch HistoriaPlanDataService.agregar( afiliado.getCodigo(), plan.getId() )}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Luego se almacena en la tabla Afiliado los datos contenidos en el objeto instanciado utilizando el m\'e9todo:}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch AfiliadoDataService.Agregar(afiliado).}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Si alg\'fan paso fallara, el m\'e9todo devuelve FALSE, caso contrario devuelve TRUE}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 8. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\f0\fs20\b\lang2058{\*\listtag0}\abinodiroverride\ltrch AfiliadoSolicitanteController.visitado(tipoDocSolicitante, nroDocSolicitante)}{\f0\fs20\lang11274{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag1112}\abinodiroverride\ltrch Se marca al solicitante identificado por tipoDocSolicitante y nroDocSolicitante como visitado por un promotor.}{\f0\fs20\lang2058{\*\listtag1112}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f2\fs20\lang2058{\*\listtag1112}\abinodiroverride\ltrch pendiente = false;}{\f2\fs20\lang2058{\*\listtag1112}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 9. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang2058{\*\listtag0}\abinodiroverride\ltrch establecerPendiente(tipoDoc, nroDoc) : bool}{\f0\fs20\lang2058{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang2058{\*\listtag0}\abinodiroverride\ltrch \tab }{\f0\fs20\b\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li250\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\abinodiroverride\ltrch 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 llamada solicitante}{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\ql\li250\sl240\slmult1\itap0\tx531{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\abinodiroverride\ltrch Se marca }{\f2\fs20\lang2058{\*\listtag0}solicitante::pendiente = true}{\f0\fs20\lang2058{\*\listtag0} y se elimina el promotor asignado al mismo (}{\f2\fs20\lang2058{\*\listtag0}solicitante::idPromotor = null}{\f0\fs20\lang2058{\*\listtag0});}{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\abinodiroverride\ltrch Se almacenan los datos modificados llamando a }{\f2\fs20\lang2058{\*\listtag0}SolicitanteDataService.guardar(solicitante)}{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch Si alg\'fan paso fallara, el m\'e9todo devuelve FALSE, caso contrario devuelve TRUE}{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 10. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch obtenerSolicitantesVisitados(codigoPromotor): int[]}{\f0\fs20\lang11274{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang0{\*\listtag0}\abinodiroverride\ltrch Devuelve una lista de los documentos de los solicitantes que el promotor deb\'eda visitar en el d\'eda a trav\'e9s de la llamada a}{\s39\f2\fs20\lang0{\*\listtag0} SolicitanteDataService.obtenerSolicitantesVisitados(codigoPromotor)}{\f0\fs20\lang0{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang0{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 11. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch eliminarAfiliado(tipoDoc, nroDoc):bool}{\f0\fs20\lang0{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\abinodiroverride\ltrch Llama a }{\f2\fs20\lang2058{\*\listtag0}existeAfiliado(tipoDoc,nroDoc}{\f0\fs20\lang2058{\*\listtag0}), si devuelve false se retorna false, caso contrario llama a }{\f2\fs20\lang2058{\*\listtag0}AfiliadoDataService.obtener(tipoDoc,nroDoc)}{\f0\fs20\lang2058{\*\listtag0} y carga los datos en una instancia auxiliar de Afiliado llamada dato.}{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\abinodiroverride\ltrch Se carga la fecha actual a partir del motor de la BD.}{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\abinodiroverride\ltrch Modifica }{\f2\fs20\lang2058{\*\listtag0}dato. fechaBaja = fechaActual y dato.activo=false;}{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\abinodiroverride\ltrch Se guardan las modificaciones mediante la llamada a }{\f2\fs20\lang2058{\*\listtag0}AfiliadoDataService.guardar(dato)}{\f0\fs20\lang2058{\*\listtag0}.}{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 12. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch modificarAfiliado(tipoDoc,nroDoc,telefono,direccion,codigoPostal,provincia,e-mail,plan): bool}{\f0\fs20\lang11274{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se obtienen los datos del afiliado mediante la llamada a }{\s39\f2\fs20\lang11274{\*\listtag0}AfiliadoDataService.obtener(tipoDoc,nroDoc)}{\s39\f0\fs20\lang11274{\*\listtag0} y se almacena en una instancia auxiliar de la clase Afiliado llamada dato.}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se modifican los datos seg\'fan lo pasado por par\'e1metro. Si se detecta un cambio de plan se modifica el historial del afiliado mediante la llamada a }{\s39\f2\fs20\lang11274{\*\listtag0}HistoriaPlanDataService.agregar( dato.getCodigo(), plan )}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Una vez modificados los datos se almacenan mediante la llamada a }{\s39\f2\fs20\lang11274{\*\listtag0}AfiliadoDataService.guardar(dato)}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +{\listtext\pard\qj\fi-279\li279 13. }\pard\plain{\ltrpar\qj\fi-279\li279{\*\abilist\abilistid1010\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb }{\pntxta .}}\fn-279\li279\ls1\ilvl0\sl240\slmult1\itap0{\s39\f0\fs20\b\lang11274{\*\listtag0}\abinodiroverride\ltrch obtenerDetalleAfiliado(tipoDoc,nroDoc): AfiliadoView}{\f0\fs20\lang11274{\*\listtag0}\par} +}\pard\plain\ltrpar\qj\sl240\slmult1\itap0{\f0\fs20\b\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0{\s39\f0\fs20\lang11274{\*\listtag0}\abinodiroverride\ltrch Se obtienen los datos del afiliado mediante la llamada a }{\s39\f2\fs20\lang11274{\*\listtag0}AfiliadoController.obtener(tipoDoc,nroDoc)}{\s39\f0\fs20\lang11274{\*\listtag0} y se almacena en una instancia auxiliar de la clase Afiliado llamada dato.}{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\ql\li279\sl240\slmult1\itap0{\f0\fs20\lang11274{\*\listtag0}\par} +\pard\plain\ltrpar\ql\li279\sl240\slmult1\itap0{\f0\fs20\lang2058{\*\listtag0}\abinodiroverride\ltrch Crea una nueva instancia de AfiliadoView:}{\f0\fs20\lang2058{\*\listtag0}\par} +\pard\plain\ltrpar\ql\li279\sl240\slmult1\itap0{\f2\fs20\lang1033{\*\listtag0}\abinodiroverride\ltrch afiliadoView = new AfiliadoView(dato)}{\f2\fs20\lang1033{\*\listtag0}\par} +\pard\plain\ltrpar\ql\li279\sl240\slmult1\itap0{\f0\fs20\lang1033{\*\listtag0}\par} +\pard\plain\ltrpar\ql\li279\sl240\slmult1\itap0{\f0\fs20\lang1033{\*\listtag0}\abinodiroverride\ltrch Devuelve afiliadoView}{\f0\fs20\lang1033{\*\listtag0}\par} +\pard\plain\ltrpar\qj\li279\sl240\slmult1\itap0\par} \ No newline at end of file