]> git.llucax.com Git - mecon/samurai.git/blob - doc/uml/Samurai.xmi
Ahora Usuario.php utiliza MECON_Usuario
[mecon/samurai.git] / doc / uml / Samurai.xmi
1 <?xml version="1.0" encoding="UTF-8"?>
2 <XMI xmlns:UML="org.omg/standards/UML" verified="false" timestamp="" xmi.version="1.2" >
3  <XMI.header>
4   <XMI.documentation>
5    <XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
6    <XMI.exporterVersion>1.1.5</XMI.exporterVersion>
7    <XMI.exporterEncoding>UnicodeUTF8</XMI.exporterEncoding>
8   </XMI.documentation>
9   <XMI.model xmi.name="Samurai" href="/home/martin/public_html/samurai/doc/uml/Samurai.xmi" />
10   <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
11  </XMI.header>
12  <XMI.content>
13   <docsettings viewid="336" documentation="" uniqueid="387" />
14   <umlobjects>
15    <UML:Class stereotype="" package="" xmi.id="207" abstract="0" documentation="Clase para el manejo de los usuarios." name="SAMURAI_Usuario" static="0" scope="200" >
16     <UML:Operation stereotype="" package="" xmi.id="216" type="void" abstract="0" documentation="Constructor.Recibe como parametro opcional el login del usuario. y busca en la base la informacion referida a el." name="SAMURAI_Usuario" static="0" scope="200" >
17      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto conexion." name="db" static="0" scope="200" />
18      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="string" abstract="0" documentation="Login del usuario" name="login" static="0" scope="200" />
19     </UML:Operation>
20     <UML:Operation stereotype="" package="" xmi.id="365" type="array(string)" abstract="0" documentation="Devuleve un array con los login's de los usuarios asociados al sistema" name="getLoginUsuarios" static="1" scope="202" >
21      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
22      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
23     </UML:Operation>
24     <UML:Operation stereotype="" package="" xmi.id="366" type="array()" abstract="0" documentation="Devuelve un array asociativo en donde la clave es el login y el valor es el nombre del usuario" name="getArrayUsuarios" static="1" scope="200" >
25      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
26      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
27     </UML:Operation>
28     <UML:Operation stereotype="" package="" xmi.id="367" type="array(Permiso)" abstract="0" documentation="Devuelve el array de usuarios" name="getUsuarios" static="1" scope="200" >
29      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
30      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
31     </UML:Operation>
32     <UML:Operation stereotype="" package="" xmi.id="368" type="void" abstract="0" documentation="Obtiene de la base de datos la informacion del usuario" name="obtenerDatosDb" static="0" scope="202" />
33     <UML:Operation stereotype="" package="" xmi.id="370" type="mixed" abstract="0" documentation="Modifica la base de datos segun accion" name="guardarDatos" static="0" scope="200" >
34      <UML:Parameter stereotype="" package="" xmi.id="1" value="grabar" type="string" abstract="0" documentation="Indica la accion a realizar" name="accion" static="0" scope="200" />
35     </UML:Operation>
36     <UML:Operation stereotype="" package="" xmi.id="371" type="mixed" abstract="0" documentation="Graba en base la relacion" name="grabarDb" static="0" scope="202" />
37     <UML:Operation stereotype="" package="" xmi.id="372" type="mixed" abstract="0" documentation="Borra de la base la relacion" name="borrarDb" static="0" scope="202" />
38     <UML:Operation stereotype="" package="" xmi.id="373" type="mixed" abstract="0" documentation="Actualiza los datos de la relacion" name="modificarDb" static="0" scope="202" />
39     <UML:Operation stereotype="" package="" xmi.id="374" type="mixed" abstract="0" documentation="Verifica si el login actual es valido" name="verificarLogin" static="0" scope="200" />
40     <UML:Operation stereotype="" package="" xmi.id="375" type="mixed" abstract="0" documentation="Verifica si el login actual ya esta asociado en base." name="verificarAsociacionExistente" static="0" scope="200" />
41     <UML:Operation stereotype="" package="" xmi.id="386" type="mixed" abstract="0" documentation="Metodo estatico que permite asociar un usuario con un perfil en un sistema determinado." name="asociarPerfil" static="1" scope="200" >
42      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;DB" abstract="0" documentation="Conexion a la base de datos" name="db" static="0" scope="200" />
43      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="string" abstract="0" documentation="Login del usuario que se quiere asociar" name="login" static="0" scope="200" />
44      <UML:Parameter stereotype="" package="" xmi.id="3" value="" type="int" abstract="0" documentation="Identificador del perfil que se quiere asociar" name="id_perfil" static="0" scope="200" />
45      <UML:Parameter stereotype="" package="" xmi.id="4" value="" type="int" abstract="0" documentation="identificador del sistema en el que se esta haciendo la asociacion" name="id_sistema" static="0" scope="200" />
46      <UML:Parameter stereotype="" package="" xmi.id="5" value="" type="int" abstract="0" documentation="Login del usuario que esta haciendo los cambios" name="responsable" static="0" scope="200" />
47     </UML:Operation>
48     <UML:Attribute stereotype="" package="" xmi.id="211" value="" type="string" abstract="0" documentation="Login del usuario en intranet.
49 x2c: get set" name="login" static="0" scope="202" />
50     <UML:Attribute stereotype="" package="" xmi.id="212" value="" type="int" abstract="0" documentation="Numero de documento del usuario
51 x2c: get set" name="nrodoc" static="0" scope="202" />
52     <UML:Attribute stereotype="" package="" xmi.id="213" value="" type="string" abstract="0" documentation="Nombre del usuario
53 x2c: get set" name="nombre" static="0" scope="202" />
54     <UML:Attribute stereotype="" package="" xmi.id="273" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
55     <UML:Attribute stereotype="" package="" xmi.id="369" value="" type="array(int)" abstract="0" documentation="Array con los identificadores de los perfiles asociados a un usuario
56 x2c:get set" name="perfiles" static="0" scope="202" />
57    </UML:Class>
58    <UML:Class stereotype="" package="" xmi.id="208" abstract="0" documentation="Clase para el manejo de los perfies." name="SAMURAI_Perfil" static="0" scope="200" >
59     <UML:Operation stereotype="" package="" xmi.id="229" type="void" abstract="0" documentation="Constructor. Si recibe un identificador como parametro, busca la informacion en la base. " name="SAMURAI_Perfil" static="0" scope="200" >
60      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto conexion" name="db" static="0" scope="200" />
61      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del perfil." name="id" static="0" scope="200" />
62     </UML:Operation>
63     <UML:Operation stereotype="" package="" xmi.id="360" type="bool" abstract="0" documentation="Valida la existencia de una asociacion entre el perfil y el sistema seleccionado. Devuelve true si existe y false en caso contraro." name="existeAsociacion" static="1" scope="200" >
64      <UML:Parameter stereotype="" package="" xmi.id="3" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
65      <UML:Parameter stereotype="" package="" xmi.id="5" value="" type="int" abstract="0" documentation="Identificador del perfil con el cual hacer la comparacion" name="id_perfil" static="0" scope="200" />
66      <UML:Parameter stereotype="" package="" xmi.id="6" value="" type="int" abstract="0" documentation="Identificador del sistema con el cual hacer la compararcion" name="id_sistema" static="0" scope="200" />
67     </UML:Operation>
68     <UML:Operation stereotype="" package="" xmi.id="358" type="bool" abstract="0" documentation="Valida la existencia de un perfil con la descripcion que se pasa por parametro. Devuelve true si existe y false si no existe." name="existePerfil" static="1" scope="200" >
69      <UML:Parameter stereotype="" package="" xmi.id="3" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
70      <UML:Parameter stereotype="" package="" xmi.id="4" value="" type="string" abstract="0" documentation="Descripcion a comparar" name="descripcion" static="0" scope="200" />
71     </UML:Operation>
72     <UML:Operation stereotype="" package="" xmi.id="356" type="array()" abstract="0" documentation="Devuelve la informacion de los perfiles en un array." name="getArrayPerfiles" static="1" scope="200" >
73      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
74      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="string" abstract="0" documentation="Filtro por descripcion del perfil" name="filtro" static="0" scope="200" />
75     </UML:Operation>
76     <UML:Operation stereotype="" package="" xmi.id="339" type="array(Perfil)" abstract="0" documentation="" name="getPerfiles" static="1" scope="200" >
77      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de datos" name="db" static="0" scope="200" />
78      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="string" abstract="0" documentation="Filtro por nombre del perfil" name="filtro" static="0" scope="200" />
79      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
80     </UML:Operation>
81     <UML:Operation stereotype="" package="" xmi.id="323" type="mixed" abstract="0" documentation="Redirecciona segun la accion correspondiente" name="guardarDatos" static="0" scope="200" >
82      <UML:Parameter stereotype="" package="" xmi.id="1" value="grabar" type="string" abstract="0" documentation="Representa la accion a desarrollar" name="accion" static="0" scope="200" />
83     </UML:Operation>
84     <UML:Operation stereotype="" package="" xmi.id="325" type="mixed" abstract="0" documentation="Borra la informacion del perfil de la base" name="borrarDb" static="0" scope="202" />
85     <UML:Operation stereotype="" package="" xmi.id="338" type="array(int)" abstract="0" documentation="Devuleve un array con los identificadores de todos los perfiles." name="getIdPerfiles" static="1" scope="202" >
86      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
87      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="string" abstract="0" documentation="Fltro por descripcion del perfil" name="filtro" static="0" scope="200" />
88      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
89     </UML:Operation>
90     <UML:Operation stereotype="" package="" xmi.id="324" type="mixed" abstract="0" documentation="Graba la informacion del perfil en base" name="grabarDb" static="0" scope="202" />
91     <UML:Operation stereotype="" package="" xmi.id="326" type="mixed" abstract="0" documentation="" name="modificarDb" static="0" scope="202" />
92     <UML:Operation stereotype="" package="" xmi.id="322" type="void" abstract="0" documentation="Obtiene los datos de la base de datos" name="obtenerDatosDb" static="0" scope="202" />
93     <UML:Operation stereotype="" package="" xmi.id="362" type="mixed" abstract="0" documentation="Se encarga de guardar la relacion entre perfiles - permisos - sistemas" name="guardarPermisos" static="0" scope="202" />
94     <UML:Operation stereotype="" package="" xmi.id="363" type="mixed" abstract="0" documentation="Borra la asociacion de un perfil de un sistema con sus permisos" name="borrarPermisos" static="0" scope="202" />
95     <UML:Operation stereotype="" package="" xmi.id="376" type="mixed" abstract="0" documentation="Verifica si se puede insertar" name="verifPermisos" static="0" scope="202" />
96     <UML:Attribute stereotype="" package="" xmi.id="225" value="" type="int" abstract="0" documentation="Identificador del perfil.
97 x2c: get set" name="id" static="0" scope="202" />
98     <UML:Attribute stereotype="" package="" xmi.id="226" value="" type="string" abstract="0" documentation="Descripcion del perfil.
99 x2c: get set" name="descripcion" static="0" scope="202" />
100     <UML:Attribute stereotype="" package="" xmi.id="227" value="" type="string" abstract="0" documentation="Tipo de perfil. E = Externo. I = Interno. D = Dios.
101 x2c: get set" name="tipo" static="0" scope="202" />
102     <UML:Attribute stereotype="" package="" xmi.id="271" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
103     <UML:Attribute stereotype="" package="" xmi.id="330" value="" type="string" abstract="0" documentation="Responsable de las ultimas modificaciones
104 x2c: get set" name="responsable" static="0" scope="202" />
105     <UML:Attribute stereotype="" package="" xmi.id="361" value="" type="array(int)" abstract="0" documentation="Array con los permisos asignados al perfil. Solo se cargan cuando se esta trabajando con el abm puesto que varian segun cada sistema.
106 x2c: get set" name="permisos" static="0" scope="201" />
107    </UML:Class>
108    <UML:Class stereotype="" package="" xmi.id="209" abstract="0" documentation="Clase para el manejo de los sistemas." name="SAMURAI_Sistema" static="0" scope="200" >
109     <UML:Operation stereotype="" package="" xmi.id="243" type="void" abstract="0" documentation="Constructor. Si recibe como parametro el identificador busca en la DB los datos. " name="SAMURAI_Sistema" static="0" scope="200" >
110      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto Conexion" name="db" static="0" scope="200" />
111      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id" static="0" scope="200" />
112     </UML:Operation>
113     <UML:Operation stereotype="" package="" xmi.id="244" type="int" abstract="0" documentation="Devuelve el identificador del sistema." name="getId" static="0" scope="200" />
114     <UML:Operation stereotype="" package="" xmi.id="245" type="string" abstract="0" documentation="Devuelve el nombre del sistema." name="getNombre" static="0" scope="200" />
115     <UML:Operation stereotype="" package="" xmi.id="246" type="string" abstract="0" documentation="Devuelve la descrpcion del sistema." name="getDescripcion" static="0" scope="200" />
116     <UML:Operation stereotype="" package="" xmi.id="247" type="&amp;date" abstract="0" documentation="Devuelve la fecha de inicio del sistema." name="getFechaInicio" static="0" scope="200" />
117     <UML:Operation stereotype="" package="" xmi.id="248" type="&amp;date" abstract="0" documentation="Devuelve la fecha de finalizacion del sistema." name="getFechaFin" static="0" scope="200" />
118     <UML:Operation stereotype="" package="" xmi.id="249" type="&amp;date" abstract="0" documentation="Devuelve la fecha de implementacion del sistema." name="getFechaImplementacion" static="0" scope="200" />
119     <UML:Operation stereotype="" package="" xmi.id="250" type="string" abstract="0" documentation="Devuelve el contacto del sistema." name="getContacto" static="0" scope="200" />
120     <UML:Operation stereotype="" package="" xmi.id="251" type="void" abstract="0" documentation="Setea el nombre del sistema." name="setNombre" static="0" scope="200" >
121      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="string" abstract="0" documentation="Nombre del sistema." name="nombre" static="0" scope="200" />
122     </UML:Operation>
123     <UML:Operation stereotype="" package="" xmi.id="252" type="void" abstract="0" documentation="Setea la descripcion del sistema." name="setDescripcion" static="0" scope="200" >
124      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="string" abstract="0" documentation="Descripcion del sistema." name="descripcion" static="0" scope="200" />
125     </UML:Operation>
126     <UML:Operation stereotype="" package="" xmi.id="253" type="void" abstract="0" documentation="Setea la fecha de inicio del sistema." name="setFechaInicio" static="0" scope="200" >
127      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="date" abstract="0" documentation="Fecha de inicio del sistema" name="fecha" static="0" scope="200" />
128     </UML:Operation>
129     <UML:Operation stereotype="" package="" xmi.id="254" type="void" abstract="0" documentation="Setea la fecha de finalizacion del sistema." name="setFechaFin" static="0" scope="200" >
130      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="date" abstract="0" documentation="Fecha de finalizacion del sistema." name="fecha" static="0" scope="200" />
131     </UML:Operation>
132     <UML:Operation stereotype="" package="" xmi.id="255" type="void" abstract="0" documentation="Setea la fecha de implementacion del sistema." name="setFechaImplementacion" static="0" scope="200" >
133      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="date" abstract="0" documentation="Fecha de implementacion del sistema." name="fecha" static="0" scope="200" />
134     </UML:Operation>
135     <UML:Operation stereotype="" package="" xmi.id="256" type="void" abstract="0" documentation="Setea el contacto del sistema." name="setContacto" static="0" scope="200" >
136      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="string" abstract="0" documentation="Texto con la informacion del contacto." name="contacto" static="0" scope="200" />
137     </UML:Operation>
138     <UML:Operation stereotype="" package="" xmi.id="263" type="void" abstract="0" documentation="Obtiene los datos del sistema de la DB." name="obtenerDatosDb" static="0" scope="202" />
139     <UML:Operation stereotype="" package="" xmi.id="288" type="void" abstract="0" documentation="Guarda la informacion del sistema en la base." name="guardarDatos" static="0" scope="200" >
140      <UML:Parameter stereotype="" package="" xmi.id="1" value="grabar" type="string" abstract="0" documentation="Accion a realizar. Grabar, modificar o eliminar" name="accion" static="0" scope="200" />
141     </UML:Operation>
142     <UML:Operation stereotype="" package="" xmi.id="290" type="string" abstract="0" documentation="Devuelve el login del responsable de los ultimos cambios" name="getResponsable" static="0" scope="200" />
143     <UML:Operation stereotype="" package="" xmi.id="291" type="void" abstract="0" documentation="Setea el login del responsable de los ultimos cambios del sistema" name="setResponsable" static="0" scope="200" >
144      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="string" abstract="0" documentation="String con el login del responsable del cambio" name="responsable" static="0" scope="200" />
145     </UML:Operation>
146     <UML:Operation stereotype="" package="" xmi.id="301" type="array" abstract="0" documentation="Devuelve un array asociativo con los identificadores de los permisos" name="getIdPermisos" static="0" scope="200" />
147     <UML:Operation stereotype="" package="" xmi.id="302" type="void" abstract="0" documentation="Setea los permisos de un sistema" name="setPermisos" static="0" scope="200" >
148      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="int" abstract="0" documentation="Array asociativo con los permisos" name="permisos" static="0" scope="200" />
149     </UML:Operation>
150     <UML:Operation stereotype="" package="" xmi.id="303" type="int" abstract="0" documentation="" name="getMaxIdSistema" static="0" scope="200" />
151     <UML:Operation stereotype="" package="" xmi.id="304" type="void" abstract="0" documentation="Graba los datos en la Base de Datos" name="grabarDb" static="0" scope="202" />
152     <UML:Operation stereotype="" package="" xmi.id="305" type="void" abstract="0" documentation="Borra los datos de la base de datos" name="borrarDb" static="0" scope="202" />
153     <UML:Operation stereotype="" package="" xmi.id="306" type="void" abstract="0" documentation="Modifica los datos en base" name="modificarDb" static="0" scope="202" />
154     <UML:Operation stereotype="" package="" xmi.id="308" type="void" abstract="0" documentation="Graba los permisos del sistema en perm_sist" name="grabarPermisosDb" static="0" scope="202" >
155      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del sistema" name="idSistema" static="0" scope="200" />
156     </UML:Operation>
157     <UML:Operation stereotype="" package="" xmi.id="309" type="void" abstract="0" documentation="Borra los permisos que tenga asociado el sistema segun el criterio de observaciones" name="borrarPermisosDb" static="0" scope="202" >
158      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del sistema" name="idSistema" static="0" scope="200" />
159      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="bool" abstract="0" documentation="Null u observacion de la asociacion a borrar" name="observaciones" static="0" scope="200" />
160      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del permiso a borrar" name="idPermiso" static="0" scope="200" />
161     </UML:Operation>
162     <UML:Operation stereotype="" package="" xmi.id="312" type="bool" abstract="0" documentation="Guarda en base las nuevas asociaciones que se van cargando y actualiza los datos del sistema." name="guardarAsociacion" static="0" scope="200" >
163      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del Permiso" name="idPermiso" static="0" scope="200" />
164      <UML:Parameter stereotype="" package="" xmi.id="2" value="''" type="string" abstract="0" documentation="Observacion a agregar" name="observacion" static="0" scope="200" />
165     </UML:Operation>
166     <UML:Operation stereotype="" package="" xmi.id="313" type="bool" abstract="0" documentation="Elimina una asociacion de la base, y actualiza los datos del sistema." name="eliminarAsociacion" static="0" scope="200" >
167      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del permiso a borrar" name="idPermiso" static="0" scope="200" />
168      <UML:Parameter stereotype="" package="" xmi.id="2" value="''" type="string" abstract="0" documentation="Observacion de la asociacion a borrar (Puede ser vacia)" name="observacion" static="0" scope="200" />
169     </UML:Operation>
170     <UML:Operation stereotype="" package="" xmi.id="314" type="bool" abstract="0" documentation="Actualiza los datos de la asociacion en la base de datos." name="modificarAsociacion" static="0" scope="200" >
171      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del permiso" name="idPermiso" static="0" scope="200" />
172      <UML:Parameter stereotype="" package="" xmi.id="3" value="''" type="string" abstract="0" documentation="Observacion a insertar" name="observacion" static="0" scope="200" />
173      <UML:Parameter stereotype="" package="" xmi.id="4" value="''" type="string" abstract="0" documentation="Observacion anterior" name="obs_ant" static="0" scope="200" />
174     </UML:Operation>
175     <UML:Operation stereotype="" package="" xmi.id="315" type="bool" abstract="0" documentation="Chequea si existe la asociacion" name="existeAsociacion" static="0" scope="202" >
176      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Id del permiso a chequear" name="idPermiso" static="0" scope="200" />
177      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="string" abstract="0" documentation="Observacion a chequear" name="observacion" static="0" scope="200" />
178     </UML:Operation>
179     <UML:Operation stereotype="" package="" xmi.id="341" type="array(Sistema)" abstract="0" documentation="Devuelve el array de sistemas" name="getSistemas" static="1" scope="200" >
180      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
181     </UML:Operation>
182     <UML:Operation stereotype="" package="" xmi.id="342" type="array(int)" abstract="0" documentation="Devuleve un array con los identificadores de todos los sistemas." name="getIdSistemas" static="1" scope="202" >
183      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
184     </UML:Operation>
185     <UML:Operation stereotype="" package="" xmi.id="343" type="array()" abstract="0" documentation="Devuelve un array asociativo en donde la clave es el identificador y el valor es el nombre del sistema" name="getArraySistemas" static="1" scope="200" >
186      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
187     </UML:Operation>
188     <UML:Attribute stereotype="" package="" xmi.id="235" value="" type="int" abstract="0" documentation="Identificador del sistema." name="id" static="0" scope="202" />
189     <UML:Attribute stereotype="" package="" xmi.id="237" value="" type="string" abstract="0" documentation="Nombre del sistema." name="nombre" static="0" scope="202" />
190     <UML:Attribute stereotype="" package="" xmi.id="238" value="" type="string" abstract="0" documentation="Descripcion del sistema." name="descripcion" static="0" scope="202" />
191     <UML:Attribute stereotype="" package="" xmi.id="239" value="" type="date" abstract="0" documentation="Fecha en la cual se inicio el sistema." name="fecha_inicio" static="0" scope="202" />
192     <UML:Attribute stereotype="" package="" xmi.id="240" value="" type="date" abstract="0" documentation="Fecha en la cual se dio por terminado el desarrollo del sistema." name="fecha_fin" static="0" scope="202" />
193     <UML:Attribute stereotype="" package="" xmi.id="241" value="" type="date" abstract="0" documentation="Fecha de implementacion del sistema." name="fecha_implementacion" static="0" scope="202" />
194     <UML:Attribute stereotype="" package="" xmi.id="242" value="" type="string" abstract="0" documentation="Texto con los datos del o de los contacto/s en el area usuario." name="contacto" static="0" scope="202" />
195     <UML:Attribute stereotype="" package="" xmi.id="272" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
196     <UML:Attribute stereotype="" package="" xmi.id="289" value="" type="string" abstract="0" documentation="Login del responsable de los ultimos cambios del sistema." name="responsable" static="0" scope="202" />
197     <UML:Attribute stereotype="" package="" xmi.id="300" value="" type="array" abstract="0" documentation="Array asociativo (id - descripcion) con los permisos asociados al sistema." name="permisos" static="0" scope="202" />
198     <UML:Attribute stereotype="" package="" xmi.id="310" value="" type="array" abstract="0" documentation="Array con los permisos asociados al sistema
199 x2c:get set" name="asociaciones" static="0" scope="202" />
200    </UML:Class>
201    <UML:Class stereotype="" package="" xmi.id="210" abstract="0" documentation="Clase para el manejo de los Permisos." name="SAMURAI_Permiso" static="0" scope="200" >
202     <UML:Operation stereotype="" package="" xmi.id="259" type="void" abstract="0" documentation="Constructor. Si recibe como parametro el identificador del permiso, busca la informacion en la DB." name="SAMURAI_Permiso" static="0" scope="200" >
203      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto conexion" name="db" static="0" scope="200" />
204      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del permiso" name="id" static="0" scope="200" />
205     </UML:Operation>
206     <UML:Operation stereotype="" package="" xmi.id="334" type="array(Permiso)" abstract="0" documentation="Devuelve el array de permisos" name="getPermisos" static="1" scope="200" >
207      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
208      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
209     </UML:Operation>
210     <UML:Operation stereotype="" package="" xmi.id="333" type="array()" abstract="0" documentation="Devuelve un array asociativo en donde la clave es el identificador y el valor es la descripcion del permiso" name="getArrayPermisos" static="1" scope="200" >
211      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
212      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
213     </UML:Operation>
214     <UML:Operation stereotype="" package="" xmi.id="316" type="mixed" abstract="0" documentation="Modifica la base de datos segun accion" name="guardarDatos" static="0" scope="200" >
215      <UML:Parameter stereotype="" package="" xmi.id="1" value="grabar" type="string" abstract="0" documentation="Indica la accion a realizar" name="accion" static="0" scope="200" />
216     </UML:Operation>
217     <UML:Operation stereotype="" package="" xmi.id="318" type="mixed" abstract="0" documentation="Borra de la base el permiso" name="borrarDb" static="0" scope="202" />
218     <UML:Operation stereotype="" package="" xmi.id="332" type="array(int)" abstract="0" documentation="Devuleve un array con los identificadores de todos los permisos." name="getIdPermisos" static="1" scope="202" >
219      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
220      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
221     </UML:Operation>
222     <UML:Operation stereotype="" package="" xmi.id="317" type="mixed" abstract="0" documentation="Graba en base el permiso" name="grabarDb" static="0" scope="202" />
223     <UML:Operation stereotype="" package="" xmi.id="319" type="mixed" abstract="0" documentation="Actualiza los datos del permiso" name="modificarDb" static="0" scope="202" />
224     <UML:Operation stereotype="" package="" xmi.id="295" type="void" abstract="0" documentation="Obtiene de la base de datos la informacion del permiso" name="obtenerDatosDb" static="0" scope="202" />
225     <UML:Operation stereotype="" package="" xmi.id="364" type="bool" abstract="0" documentation="Devuelve true si esta asociado a algun sistema, caso contrario devuelve false" name="asociadoASistema" static="0" scope="200" />
226     <UML:Attribute stereotype="" package="" xmi.id="257" value="" type="int" abstract="0" documentation="Identificador del permiso.
227 x2c: get set" name="id" static="0" scope="202" />
228     <UML:Attribute stereotype="" package="" xmi.id="258" value="" type="string" abstract="0" documentation="Descripcion del permiso.
229 x2c: get set" name="descripcion" static="0" scope="202" />
230     <UML:Attribute stereotype="" package="" xmi.id="270" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
231     <UML:Attribute stereotype="" package="" xmi.id="296" value="" type="string" abstract="0" documentation="Indentificador del ultimo que realizo alguna operacion sobre el permiso
232 x2c: get set" name="responsable" static="0" scope="202" />
233    </UML:Class>
234    <UML:Class stereotype="" package="" xmi.id="264" abstract="0" documentation="x2c:extern
235 x2c:include: DB.php" name="DB" static="0" scope="200" />
236    <UML:Class stereotype="" package="" xmi.id="265" abstract="0" documentation="Manejo interno de las bases de datos." name="SAMURAI_DB" static="0" scope="200" >
237     <UML:Operation stereotype="" package="" xmi.id="269" type="DB" abstract="0" documentation="Realiza la conexion con la base de datos." name="connect" static="0" scope="200" />
238    </UML:Class>
239    <UML:Class stereotype="" package="SAMURAI" xmi.id="377" abstract="0" documentation="Chequeador de permisos." name="SAMURAI_Perm" static="0" scope="200" >
240     <UML:Operation stereotype="" package="" xmi.id="380" type="void" abstract="0" documentation="Constructor." name="SAMURAI_Perm" static="0" scope="200" >
241      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Login del usuario para el cual obtener los permisos." name="login" static="0" scope="200" />
242      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="int" abstract="0" documentation="Sistema con el cual se va a trabajar." name="sistema" static="0" scope="200" />
243      <UML:Parameter stereotype="" package="" xmi.id="3" value="" type="&amp;DB" abstract="0" documentation="Base de datos a usar." name="db" static="0" scope="200" />
244     </UML:Operation>
245     <UML:Operation stereotype="" package="" xmi.id="381" type="bool" abstract="0" documentation="Verifica si tiene un permiso.
246
247 Se puede pasar parámetros variables con un identificador de permiso o un array, por ejemplo: $perm->tiene(1, 4, array(2, 5, 67), 12); Si tiene algún permiso devuelve true.
248 Si no se pasa ningún párametro ($perm->tiene()), devuelve true si tiene un permiso (al menos uno) en el sistema actual." name="tiene" static="0" scope="200" />
249     <UML:Operation stereotype="" package="" xmi.id="385" type="array" abstract="0" documentation="Obtiene una lista de permisos. Si se especifica un sistema, obtiene la lista de permisos para ese sistema." name="getPermisos" static="0" scope="200" >
250      <UML:Parameter stereotype="" package="" xmi.id="1" value="''" type="int" abstract="0" documentation="Sistema del cual obtener la lista de permisos." name="sistema" static="0" scope="200" />
251     </UML:Operation>
252     <UML:Attribute stereotype="" package="" xmi.id="378" value="array()" type="array" abstract="0" documentation="Permisos. Es un array asociativo, donde la clave es un identificador de sistema y el valor un array con los permisos que tiene para ese sistema." name="permisos" static="0" scope="202" />
253     <UML:Attribute stereotype="" package="" xmi.id="379" value="" type="int" abstract="0" documentation="Sistema usado actualmente.
254 x2c:set" name="sistema" static="0" scope="202" />
255    </UML:Class>
256    <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="265" roleb="264" multia="" doca="" multib="" docb="" package="" xmi.id="-1" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
257    <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="501" rolea="265" roleb="210" multia="" doca="" multib="" docb="" package="" xmi.id="-1" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
258    <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="501" rolea="265" roleb="209" multia="" doca="" multib="" docb="" package="" xmi.id="-1" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
259    <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="501" rolea="265" roleb="208" multia="" doca="" multib="" docb="" package="" xmi.id="-1" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
260    <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="501" rolea="265" roleb="207" multia="" doca="" multib="" docb="" package="" xmi.id="-1" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
261    <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="265" roleb="264" multia="" doca="" multib="" docb="" package="" xmi.id="-1" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
262   </umlobjects>
263   <diagrams>
264    <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" zoom="100" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" canvaswidth="911" snapy="10" showatts="1" xmi.id="206" documentation="" type="402" showops="1" showpackage="0" name="Clases y Relaciones" localid="30000" showstereotype="0" showscope="1" snapcsgrid="0" font="helvetica,8,-1,0,50,0,0,0,0,0" linecolor="#ff0000" canvasheight="644" >
265     <widgets>
266      <UML:ClassWidget usesdiagramfillcolour="0" width="157" showattsigs="601" usesdiagramusefillcolour="0" x="750" linecolour="#ff0000" y="290" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="252" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="207" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
267      <UML:ClassWidget usesdiagramfillcolour="0" width="110" showattsigs="601" usesdiagramusefillcolour="0" x="640" linecolour="#ff0000" y="10" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="294" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="208" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
268      <UML:ClassWidget usesdiagramfillcolour="0" width="149" showattsigs="601" usesdiagramusefillcolour="0" x="200" linecolour="#ff0000" y="10" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="630" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="209" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
269      <UML:ClassWidget usesdiagramfillcolour="0" width="118" showattsigs="601" usesdiagramusefillcolour="0" x="480" linecolour="#ff0000" y="310" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="210" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="210" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
270      <UML:ClassWidget usesdiagramfillcolour="0" width="35" showattsigs="601" usesdiagramusefillcolour="0" x="490" linecolour="#ff0000" y="10" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#d5d5cf" height="28" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="264" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
271      <UML:ClassWidget usesdiagramfillcolour="0" width="79" showattsigs="601" usesdiagramusefillcolour="0" x="480" linecolour="#ff0000" y="120" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="35" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="265" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
272     </widgets>
273     <messages/>
274     <associations>
275      <UML:AssocWidget totalcounta="3" indexa="1" visibilityB="200" totalcountb="2" indexb="1" widgetbid="264" roleBdoc="" widgetaid="265" roleAdoc="" documentation="" type="500" changeabilityA="900" changeabilityB="900" visibilityA="200" >
276       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
277       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
278       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
279       <linepath>
280        <startpoint startx="506" starty="120" />
281        <endpoint endx="507" endy="38" />
282       </linepath>
283      </UML:AssocWidget>
284      <UML:AssocWidget totalcounta="3" indexa="1" visibilityB="200" totalcountb="2" indexb="1" widgetbid="210" roleBdoc="" widgetaid="265" roleAdoc="" documentation="" type="501" changeabilityA="900" changeabilityB="900" visibilityA="200" >
285       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
286       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
287       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
288       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="709" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
289       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="710" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
290       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
291       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
292       <linepath>
293        <startpoint startx="506" starty="155" />
294        <endpoint endx="539" endy="310" />
295       </linepath>
296      </UML:AssocWidget>
297      <UML:AssocWidget totalcounta="2" indexa="1" visibilityB="200" totalcountb="2" indexb="1" widgetbid="209" roleBdoc="" widgetaid="265" roleAdoc="" documentation="" type="501" changeabilityA="900" changeabilityB="900" visibilityA="200" >
298       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
299       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
300       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
301       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="709" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
302       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="710" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
303       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
304       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
305       <linepath>
306        <startpoint startx="480" starty="137" />
307        <endpoint endx="349" endy="325" />
308       </linepath>
309      </UML:AssocWidget>
310      <UML:AssocWidget totalcounta="3" indexa="2" visibilityB="200" totalcountb="2" indexb="1" widgetbid="208" roleBdoc="" widgetaid="265" roleAdoc="" documentation="" type="501" changeabilityA="900" changeabilityB="900" visibilityA="200" >
311       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
312       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
313       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
314       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="709" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
315       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="710" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
316       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
317       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
318       <linepath>
319        <startpoint startx="532" starty="120" />
320        <endpoint endx="640" endy="157" />
321       </linepath>
322      </UML:AssocWidget>
323      <UML:AssocWidget totalcounta="3" indexa="2" visibilityB="200" totalcountb="2" indexb="1" widgetbid="207" roleBdoc="" widgetaid="265" roleAdoc="" documentation="" type="501" changeabilityA="900" changeabilityB="900" visibilityA="200" >
324       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
325       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
326       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="10" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
327       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="709" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
328       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="10" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="710" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
329       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
330       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="10" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
331       <linepath>
332        <startpoint startx="532" starty="155" />
333        <endpoint endx="750" endy="416" />
334       </linepath>
335      </UML:AssocWidget>
336     </associations>
337    </diagram>
338    <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" zoom="100" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" canvaswidth="902" snapy="10" showatts="1" xmi.id="336" documentation="" type="402" showops="1" showpackage="0" name="Clases" localid="30000" showstereotype="0" showscope="1" snapcsgrid="0" font="helvetica,8,-1,0,50,0,0,0,0,0" linecolor="#ff0000" canvasheight="1174" >
339     <widgets>
340      <UML:ClassWidget usesdiagramfillcolour="0" width="35" showattsigs="601" usesdiagramusefillcolour="0" x="470" linecolour="#ff0000" y="20" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#d5d5cf" height="28" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="264" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
341      <UML:ClassWidget usesdiagramfillcolour="0" width="429" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="240" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="294" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="208" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
342      <UML:ClassWidget usesdiagramfillcolour="0" width="360" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="10" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="210" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="210" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
343      <UML:ClassWidget usesdiagramfillcolour="0" width="88" showattsigs="601" usesdiagramusefillcolour="0" x="450" linecolour="#ff0000" y="80" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="35" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="265" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
344      <UML:ClassWidget usesdiagramfillcolour="0" width="431" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="540" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="630" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="209" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
345      <UML:ClassWidget usesdiagramfillcolour="0" width="448" showattsigs="601" usesdiagramusefillcolour="0" x="450" linecolour="#ff0000" y="230" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="252" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="207" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
346      <UML:ClassWidget usesdiagramfillcolour="0" width="288" showattsigs="601" usesdiagramusefillcolour="0" x="450" linecolour="#ff0000" y="130" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="84" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="377" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
347     </widgets>
348     <messages/>
349     <associations>
350      <UML:AssocWidget totalcounta="2" indexa="1" visibilityB="200" totalcountb="2" indexb="1" widgetbid="264" roleBdoc="" widgetaid="265" roleAdoc="" documentation="" type="500" changeabilityA="900" changeabilityB="900" visibilityA="200" >
351       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
352       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
353       <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,5,50,0,0,0,0,0" />
354       <linepath>
355        <startpoint startx="494" starty="80" />
356        <endpoint endx="487" endy="48" />
357       </linepath>
358      </UML:AssocWidget>
359     </associations>
360    </diagram>
361   </diagrams>
362   <listview>
363    <listitem open="1" type="800" id="-1" label="Views" >
364     <listitem open="1" type="801" id="-1" label="Logical View" >
365      <listitem open="1" type="803" id="-1" label="Diagramas" >
366       <listitem open="1" type="807" id="336" label="Clases" />
367       <listitem open="1" type="807" id="206" label="Clases y Relaciones" />
368       <listitem open="0" type="813" id="377" label="SAMURAI_Perm" >
369        <listitem open="0" type="814" id="378" label="permisos" />
370        <listitem open="0" type="814" id="379" label="sistema" />
371        <listitem open="0" type="815" id="380" label="SAMURAI_Perm" />
372        <listitem open="0" type="815" id="385" label="getPermisos" />
373        <listitem open="0" type="815" id="381" label="tiene" />
374       </listitem>
375      </listitem>
376      <listitem open="0" type="803" id="-1" label="EXTERNO" >
377       <listitem open="1" type="813" id="264" label="DB" />
378      </listitem>
379      <listitem open="1" type="803" id="-1" label="SAMURAI" >
380       <listitem open="0" type="813" id="265" label="SAMURAI_DB" >
381        <listitem open="0" type="815" id="269" label="connect" />
382       </listitem>
383       <listitem open="0" type="813" id="208" label="SAMURAI_Perfil" >
384        <listitem open="0" type="814" id="271" label="db" />
385        <listitem open="0" type="814" id="226" label="descripcion" />
386        <listitem open="0" type="814" id="225" label="id" />
387        <listitem open="0" type="814" id="361" label="permisos" />
388        <listitem open="0" type="814" id="330" label="responsable" />
389        <listitem open="0" type="814" id="227" label="tipo" />
390        <listitem open="0" type="815" id="229" label="SAMURAI_Perfil" />
391        <listitem open="0" type="815" id="325" label="borrarDb" />
392        <listitem open="0" type="815" id="363" label="borrarPermisos" />
393        <listitem open="0" type="815" id="360" label="existeAsociacion" />
394        <listitem open="0" type="815" id="358" label="existePerfil" />
395        <listitem open="0" type="815" id="356" label="getArrayPerfiles" />
396        <listitem open="0" type="815" id="338" label="getIdPerfiles" />
397        <listitem open="0" type="815" id="339" label="getPerfiles" />
398        <listitem open="0" type="815" id="324" label="grabarDb" />
399        <listitem open="0" type="815" id="323" label="guardarDatos" />
400        <listitem open="0" type="815" id="362" label="guardarPermisos" />
401        <listitem open="0" type="815" id="326" label="modificarDb" />
402        <listitem open="0" type="815" id="322" label="obtenerDatosDb" />
403        <listitem open="0" type="815" id="376" label="verifPermisos" />
404       </listitem>
405       <listitem open="0" type="813" id="210" label="SAMURAI_Permiso" >
406        <listitem open="0" type="814" id="270" label="db" />
407        <listitem open="0" type="814" id="258" label="descripcion" />
408        <listitem open="0" type="814" id="257" label="id" />
409        <listitem open="0" type="814" id="296" label="responsable" />
410        <listitem open="0" type="815" id="259" label="SAMURAI_Permiso" />
411        <listitem open="0" type="815" id="364" label="asociadoASistema" />
412        <listitem open="0" type="815" id="318" label="borrarDb" />
413        <listitem open="0" type="815" id="333" label="getArrayPermisos" />
414        <listitem open="0" type="815" id="332" label="getIdPermisos" />
415        <listitem open="0" type="815" id="334" label="getPermisos" />
416        <listitem open="0" type="815" id="317" label="grabarDb" />
417        <listitem open="0" type="815" id="316" label="guardarDatos" />
418        <listitem open="0" type="815" id="319" label="modificarDb" />
419        <listitem open="0" type="815" id="295" label="obtenerDatosDb" />
420       </listitem>
421       <listitem open="0" type="813" id="209" label="SAMURAI_Sistema" >
422        <listitem open="0" type="814" id="310" label="asociaciones" />
423        <listitem open="0" type="814" id="242" label="contacto" />
424        <listitem open="0" type="814" id="272" label="db" />
425        <listitem open="0" type="814" id="238" label="descripcion" />
426        <listitem open="0" type="814" id="240" label="fecha_fin" />
427        <listitem open="0" type="814" id="241" label="fecha_implementacion" />
428        <listitem open="0" type="814" id="239" label="fecha_inicio" />
429        <listitem open="0" type="814" id="235" label="id" />
430        <listitem open="0" type="814" id="237" label="nombre" />
431        <listitem open="0" type="814" id="300" label="permisos" />
432        <listitem open="0" type="814" id="289" label="responsable" />
433        <listitem open="0" type="815" id="243" label="SAMURAI_Sistema" />
434        <listitem open="0" type="815" id="305" label="borrarDb" />
435        <listitem open="0" type="815" id="309" label="borrarPermisosDb" />
436        <listitem open="0" type="815" id="313" label="eliminarAsociacion" />
437        <listitem open="0" type="815" id="315" label="existeAsociacion" />
438        <listitem open="0" type="815" id="343" label="getArraySistemas" />
439        <listitem open="0" type="815" id="250" label="getContacto" />
440        <listitem open="0" type="815" id="246" label="getDescripcion" />
441        <listitem open="0" type="815" id="248" label="getFechaFin" />
442        <listitem open="0" type="815" id="249" label="getFechaImplementacion" />
443        <listitem open="0" type="815" id="247" label="getFechaInicio" />
444        <listitem open="0" type="815" id="244" label="getId" />
445        <listitem open="0" type="815" id="301" label="getIdPermisos" />
446        <listitem open="0" type="815" id="342" label="getIdSistemas" />
447        <listitem open="0" type="815" id="303" label="getMaxIdSistema" />
448        <listitem open="0" type="815" id="245" label="getNombre" />
449        <listitem open="0" type="815" id="290" label="getResponsable" />
450        <listitem open="0" type="815" id="341" label="getSistemas" />
451        <listitem open="0" type="815" id="304" label="grabarDb" />
452        <listitem open="0" type="815" id="308" label="grabarPermisosDb" />
453        <listitem open="0" type="815" id="312" label="guardarAsociacion" />
454        <listitem open="0" type="815" id="288" label="guardarDatos" />
455        <listitem open="0" type="815" id="314" label="modificarAsociacion" />
456        <listitem open="0" type="815" id="306" label="modificarDb" />
457        <listitem open="0" type="815" id="263" label="obtenerDatosDb" />
458        <listitem open="0" type="815" id="256" label="setContacto" />
459        <listitem open="0" type="815" id="252" label="setDescripcion" />
460        <listitem open="0" type="815" id="254" label="setFechaFin" />
461        <listitem open="0" type="815" id="255" label="setFechaImplementacion" />
462        <listitem open="0" type="815" id="253" label="setFechaInicio" />
463        <listitem open="0" type="815" id="251" label="setNombre" />
464        <listitem open="0" type="815" id="302" label="setPermisos" />
465        <listitem open="0" type="815" id="291" label="setResponsable" />
466       </listitem>
467       <listitem open="1" type="813" id="207" label="SAMURAI_Usuario" >
468        <listitem open="0" type="814" id="273" label="db" />
469        <listitem open="0" type="814" id="211" label="login" />
470        <listitem open="0" type="814" id="213" label="nombre" />
471        <listitem open="0" type="814" id="212" label="nrodoc" />
472        <listitem open="0" type="814" id="369" label="perfiles" />
473        <listitem open="0" type="815" id="216" label="SAMURAI_Usuario" />
474        <listitem open="0" type="815" id="386" label="asociarPerfil" />
475        <listitem open="0" type="815" id="372" label="borrarDb" />
476        <listitem open="0" type="815" id="366" label="getArrayUsuarios" />
477        <listitem open="0" type="815" id="365" label="getLoginUsuarios" />
478        <listitem open="0" type="815" id="367" label="getUsuarios" />
479        <listitem open="0" type="815" id="371" label="grabarDb" />
480        <listitem open="0" type="815" id="370" label="guardarDatos" />
481        <listitem open="0" type="815" id="373" label="modificarDb" />
482        <listitem open="0" type="815" id="368" label="obtenerDatosDb" />
483        <listitem open="0" type="815" id="375" label="verificarAsociacionExistente" />
484        <listitem open="0" type="815" id="374" label="verificarLogin" />
485       </listitem>
486      </listitem>
487     </listitem>
488     <listitem open="0" type="802" id="-1" label="Use Case View" />
489     <listitem open="1" type="821" id="-1" label="Component View" />
490     <listitem open="0" type="823" id="-1" label="Diagrams" />
491     <listitem open="1" type="827" id="-1" label="Deployment View" />
492    </listitem>
493   </listview>
494  </XMI.content>
495 </XMI>