]> git.llucax.com Git - mecon/samurai.git/blob - doc/uml/Samurai.xmi
Se agrega SAMURAI_Perm para manejar los permisos desde las aplicaciones.
[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.documentation>
8   <XMI.model xmi.name="Samurai" href="/home/luca/public_html/samurai/doc/uml/Samurai.xmi" />
9   <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
10  </XMI.header>
11  <XMI.content>
12   <docsettings viewid="336" documentation="" uniqueid="385" />
13   <umlobjects>
14    <UML:Class stereotype="" package="" xmi.id="207" abstract="0" documentation="Clase para el manejo de los usuarios." name="SAMURAI_Usuario" static="0" scope="200" >
15     <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" >
16      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto conexion." name="db" static="0" scope="200" />
17      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="string" abstract="0" documentation="Login del usuario" name="login" static="0" scope="200" />
18     </UML:Operation>
19     <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" >
20      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
21      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
22     </UML:Operation>
23     <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" >
24      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
25      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
26     </UML:Operation>
27     <UML:Operation stereotype="" package="" xmi.id="367" type="array(Permiso)" abstract="0" documentation="Devuelve el array de usuarios" name="getUsuarios" static="1" scope="200" >
28      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
29      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
30     </UML:Operation>
31     <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" />
32     <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" >
33      <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" />
34     </UML:Operation>
35     <UML:Operation stereotype="" package="" xmi.id="371" type="mixed" abstract="0" documentation="Graba en base la relacion" name="grabarDb" static="0" scope="202" />
36     <UML:Operation stereotype="" package="" xmi.id="372" type="mixed" abstract="0" documentation="Borra de la base la relacion" name="borrarDb" static="0" scope="202" />
37     <UML:Operation stereotype="" package="" xmi.id="373" type="mixed" abstract="0" documentation="Actualiza los datos de la relacion" name="modificarDb" static="0" scope="202" />
38     <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" />
39     <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" />
40     <UML:Attribute stereotype="" package="" xmi.id="211" value="" type="string" abstract="0" documentation="Login del usuario en intranet.
41 x2c: get set" name="login" static="0" scope="202" />
42     <UML:Attribute stereotype="" package="" xmi.id="212" value="" type="int" abstract="0" documentation="Numero de documento del usuario
43 x2c: get set" name="nrodoc" static="0" scope="202" />
44     <UML:Attribute stereotype="" package="" xmi.id="213" value="" type="string" abstract="0" documentation="Nombre del usuario
45 x2c: get set" name="nombre" static="0" scope="202" />
46     <UML:Attribute stereotype="" package="" xmi.id="273" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
47     <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
48 x2c:get set" name="perfiles" static="0" scope="202" />
49    </UML:Class>
50    <UML:Class stereotype="" package="" xmi.id="208" abstract="0" documentation="Clase para el manejo de los perfies." name="SAMURAI_Perfil" static="0" scope="200" >
51     <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" >
52      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto conexion" name="db" static="0" scope="200" />
53      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del perfil." name="id" static="0" scope="200" />
54     </UML:Operation>
55     <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" >
56      <UML:Parameter stereotype="" package="" xmi.id="3" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
57      <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" />
58      <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" />
59     </UML:Operation>
60     <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" >
61      <UML:Parameter stereotype="" package="" xmi.id="3" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
62      <UML:Parameter stereotype="" package="" xmi.id="4" value="" type="string" abstract="0" documentation="Descripcion a comparar" name="descripcion" static="0" scope="200" />
63     </UML:Operation>
64     <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" >
65      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
66      <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" />
67     </UML:Operation>
68     <UML:Operation stereotype="" package="" xmi.id="339" type="array(Perfil)" abstract="0" documentation="" name="getPerfiles" static="1" scope="200" >
69      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de datos" name="db" static="0" scope="200" />
70      <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" />
71      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
72     </UML:Operation>
73     <UML:Operation stereotype="" package="" xmi.id="323" type="mixed" abstract="0" documentation="Redirecciona segun la accion correspondiente" name="guardarDatos" static="0" scope="200" >
74      <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" />
75     </UML:Operation>
76     <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" />
77     <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" >
78      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
79      <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" />
80      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
81     </UML:Operation>
82     <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" />
83     <UML:Operation stereotype="" package="" xmi.id="326" type="mixed" abstract="0" documentation="" name="modificarDb" static="0" scope="202" />
84     <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" />
85     <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" />
86     <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" />
87     <UML:Operation stereotype="" package="" xmi.id="376" type="mixed" abstract="0" documentation="Verifica si se puede insertar" name="verifPermisos" static="0" scope="202" />
88     <UML:Attribute stereotype="" package="" xmi.id="225" value="" type="int" abstract="0" documentation="Identificador del perfil.
89 x2c: get set" name="id" static="0" scope="202" />
90     <UML:Attribute stereotype="" package="" xmi.id="226" value="" type="string" abstract="0" documentation="Descripcion del perfil.
91 x2c: get set" name="descripcion" static="0" scope="202" />
92     <UML:Attribute stereotype="" package="" xmi.id="227" value="" type="string" abstract="0" documentation="Tipo de perfil. E = Externo. I = Interno. D = Dios.
93 x2c: get set" name="tipo" static="0" scope="202" />
94     <UML:Attribute stereotype="" package="" xmi.id="271" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
95     <UML:Attribute stereotype="" package="" xmi.id="330" value="" type="string" abstract="0" documentation="Responsable de las ultimas modificaciones
96 x2c: get set" name="responsable" static="0" scope="202" />
97     <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.
98 x2c: get set" name="permisos" static="0" scope="201" />
99    </UML:Class>
100    <UML:Class stereotype="" package="" xmi.id="209" abstract="0" documentation="Clase para el manejo de los sistemas." name="SAMURAI_Sistema" static="0" scope="200" >
101     <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" >
102      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto Conexion" name="db" static="0" scope="200" />
103      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id" static="0" scope="200" />
104     </UML:Operation>
105     <UML:Operation stereotype="" package="" xmi.id="244" type="int" abstract="0" documentation="Devuelve el identificador del sistema." name="getId" static="0" scope="200" />
106     <UML:Operation stereotype="" package="" xmi.id="245" type="string" abstract="0" documentation="Devuelve el nombre del sistema." name="getNombre" static="0" scope="200" />
107     <UML:Operation stereotype="" package="" xmi.id="246" type="string" abstract="0" documentation="Devuelve la descrpcion del sistema." name="getDescripcion" static="0" scope="200" />
108     <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" />
109     <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" />
110     <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" />
111     <UML:Operation stereotype="" package="" xmi.id="250" type="string" abstract="0" documentation="Devuelve el contacto del sistema." name="getContacto" static="0" scope="200" />
112     <UML:Operation stereotype="" package="" xmi.id="251" type="void" abstract="0" documentation="Setea el nombre del sistema." name="setNombre" static="0" scope="200" >
113      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="string" abstract="0" documentation="Nombre del sistema." name="nombre" static="0" scope="200" />
114     </UML:Operation>
115     <UML:Operation stereotype="" package="" xmi.id="252" type="void" abstract="0" documentation="Setea la descripcion del sistema." name="setDescripcion" static="0" scope="200" >
116      <UML:Parameter stereotype="" package="" xmi.id="1" value="null" type="string" abstract="0" documentation="Descripcion del sistema." name="descripcion" static="0" scope="200" />
117     </UML:Operation>
118     <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" >
119      <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" />
120     </UML:Operation>
121     <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" >
122      <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" />
123     </UML:Operation>
124     <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" >
125      <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" />
126     </UML:Operation>
127     <UML:Operation stereotype="" package="" xmi.id="256" type="void" abstract="0" documentation="Setea el contacto del sistema." name="setContacto" static="0" scope="200" >
128      <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" />
129     </UML:Operation>
130     <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" />
131     <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" >
132      <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" />
133     </UML:Operation>
134     <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" />
135     <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" >
136      <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" />
137     </UML:Operation>
138     <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" />
139     <UML:Operation stereotype="" package="" xmi.id="302" type="void" abstract="0" documentation="Setea los permisos de un sistema" name="setPermisos" static="0" scope="200" >
140      <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" />
141     </UML:Operation>
142     <UML:Operation stereotype="" package="" xmi.id="303" type="int" abstract="0" documentation="" name="getMaxIdSistema" static="0" scope="200" />
143     <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" />
144     <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" />
145     <UML:Operation stereotype="" package="" xmi.id="306" type="void" abstract="0" documentation="Modifica los datos en base" name="modificarDb" static="0" scope="202" />
146     <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" >
147      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del sistema" name="idSistema" static="0" scope="200" />
148     </UML:Operation>
149     <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" >
150      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del sistema" name="idSistema" static="0" scope="200" />
151      <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" />
152      <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" />
153     </UML:Operation>
154     <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" >
155      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del Permiso" name="idPermiso" static="0" scope="200" />
156      <UML:Parameter stereotype="" package="" xmi.id="2" value="''" type="string" abstract="0" documentation="Observacion a agregar" name="observacion" static="0" scope="200" />
157     </UML:Operation>
158     <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" >
159      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Identificador del permiso a borrar" name="idPermiso" static="0" scope="200" />
160      <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" />
161     </UML:Operation>
162     <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" >
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="3" value="''" type="string" abstract="0" documentation="Observacion a insertar" name="observacion" static="0" scope="200" />
165      <UML:Parameter stereotype="" package="" xmi.id="4" value="''" type="string" abstract="0" documentation="Observacion anterior" name="obs_ant" static="0" scope="200" />
166     </UML:Operation>
167     <UML:Operation stereotype="" package="" xmi.id="315" type="bool" abstract="0" documentation="Chequea si existe la asociacion" name="existeAsociacion" static="0" scope="202" >
168      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Id del permiso a chequear" name="idPermiso" static="0" scope="200" />
169      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="string" abstract="0" documentation="Observacion a chequear" name="observacion" static="0" scope="200" />
170     </UML:Operation>
171     <UML:Operation stereotype="" package="" xmi.id="341" type="array(Sistema)" abstract="0" documentation="Devuelve el array de sistemas" name="getSistemas" static="1" scope="200" >
172      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
173     </UML:Operation>
174     <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" >
175      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
176     </UML:Operation>
177     <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" >
178      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
179     </UML:Operation>
180     <UML:Attribute stereotype="" package="" xmi.id="235" value="" type="int" abstract="0" documentation="Identificador del sistema." name="id" static="0" scope="202" />
181     <UML:Attribute stereotype="" package="" xmi.id="237" value="" type="string" abstract="0" documentation="Nombre del sistema." name="nombre" static="0" scope="202" />
182     <UML:Attribute stereotype="" package="" xmi.id="238" value="" type="string" abstract="0" documentation="Descripcion del sistema." name="descripcion" static="0" scope="202" />
183     <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" />
184     <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" />
185     <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" />
186     <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" />
187     <UML:Attribute stereotype="" package="" xmi.id="272" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
188     <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" />
189     <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" />
190     <UML:Attribute stereotype="" package="" xmi.id="310" value="" type="array" abstract="0" documentation="Array con los permisos asociados al sistema
191 x2c:get set" name="asociaciones" static="0" scope="202" />
192    </UML:Class>
193    <UML:Class stereotype="" package="" xmi.id="210" abstract="0" documentation="Clase para el manejo de los Permisos." name="SAMURAI_Permiso" static="0" scope="200" >
194     <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" >
195      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto conexion" name="db" static="0" scope="200" />
196      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del permiso" name="id" static="0" scope="200" />
197     </UML:Operation>
198     <UML:Operation stereotype="" package="" xmi.id="334" type="array(Permiso)" abstract="0" documentation="Devuelve el array de permisos" name="getPermisos" static="1" scope="200" >
199      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
200      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
201     </UML:Operation>
202     <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" >
203      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
204      <UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
205     </UML:Operation>
206     <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" >
207      <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" />
208     </UML:Operation>
209     <UML:Operation stereotype="" package="" xmi.id="318" type="mixed" abstract="0" documentation="Borra de la base el permiso" name="borrarDb" static="0" scope="202" />
210     <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" >
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="317" type="mixed" abstract="0" documentation="Graba en base el permiso" name="grabarDb" static="0" scope="202" />
215     <UML:Operation stereotype="" package="" xmi.id="319" type="mixed" abstract="0" documentation="Actualiza los datos del permiso" name="modificarDb" static="0" scope="202" />
216     <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" />
217     <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" />
218     <UML:Attribute stereotype="" package="" xmi.id="257" value="" type="int" abstract="0" documentation="Identificador del permiso.
219 x2c: get set" name="id" static="0" scope="202" />
220     <UML:Attribute stereotype="" package="" xmi.id="258" value="" type="string" abstract="0" documentation="Descripcion del permiso.
221 x2c: get set" name="descripcion" static="0" scope="202" />
222     <UML:Attribute stereotype="" package="" xmi.id="270" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
223     <UML:Attribute stereotype="" package="" xmi.id="296" value="" type="string" abstract="0" documentation="Indentificador del ultimo que realizo alguna operacion sobre el permiso
224 x2c: get set" name="responsable" static="0" scope="202" />
225    </UML:Class>
226    <UML:Class stereotype="" package="" xmi.id="264" abstract="0" documentation="x2c:extern
227 x2c:include: DB.php" name="DB" static="0" scope="200" />
228    <UML:Class stereotype="" package="" xmi.id="265" abstract="0" documentation="Manejo interno de las bases de datos." name="SAMURAI_DB" static="0" scope="200" >
229     <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" />
230    </UML:Class>
231    <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="" />
232    <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="" />
233    <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="" />
234    <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="" />
235    <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="" />
236    <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="" />
237    <UML:Class stereotype="" package="SAMURAI" xmi.id="377" abstract="0" documentation="Chequeador de permisos." name="SAMURAI_Perm" static="0" scope="200" >
238     <UML:Operation stereotype="" package="" xmi.id="380" type="void" abstract="0" documentation="Constructor." name="SAMURAI_Perm" static="0" scope="200" >
239      <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" />
240      <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" />
241      <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" />
242     </UML:Operation>
243     <UML:Operation stereotype="" package="" xmi.id="381" type="bool" abstract="0" documentation="Verifica si tiene un permiso.
244
245 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.
246 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" />
247     <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" >
248      <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" />
249     </UML:Operation>
250     <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" />
251     <UML:Attribute stereotype="" package="" xmi.id="379" value="" type="int" abstract="0" documentation="Sistema usado actualmente.
252 x2c:set" name="sistema" static="0" scope="202" />
253    </UML:Class>
254   </umlobjects>
255   <diagrams>
256    <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="603" >
257     <widgets>
258      <UML:ClassWidget usesdiagramfillcolour="0" width="157" showattsigs="601" usesdiagramusefillcolour="0" x="750" linecolour="#ff0000" y="290" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="221" 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" />
259      <UML:ClassWidget usesdiagramfillcolour="0" width="111" showattsigs="601" usesdiagramusefillcolour="0" x="640" linecolour="#ff0000" y="10" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="273" 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" />
260      <UML:ClassWidget usesdiagramfillcolour="0" width="149" showattsigs="601" usesdiagramusefillcolour="0" x="200" linecolour="#ff0000" y="10" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="585" 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" />
261      <UML:ClassWidget usesdiagramfillcolour="0" width="118" showattsigs="601" usesdiagramusefillcolour="0" x="480" linecolour="#ff0000" y="310" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="195" 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" />
262      <UML:ClassWidget usesdiagramfillcolour="0" width="35" showattsigs="601" usesdiagramusefillcolour="0" x="490" linecolour="#ff0000" y="10" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#d5d5cf" height="25" 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" />
263      <UML:ClassWidget usesdiagramfillcolour="0" width="79" showattsigs="601" usesdiagramusefillcolour="0" x="480" linecolour="#ff0000" y="120" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="32" 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" />
264     </widgets>
265     <messages/>
266     <associations>
267      <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" >
268       <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" />
269       <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" />
270       <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" />
271       <linepath>
272        <startpoint startx="506" starty="120" />
273        <endpoint endx="507" endy="35" />
274       </linepath>
275      </UML:AssocWidget>
276      <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" >
277       <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" />
278       <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" />
279       <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" />
280       <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" />
281       <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" />
282       <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" />
283       <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" />
284       <linepath>
285        <startpoint startx="506" starty="152" />
286        <endpoint endx="539" endy="310" />
287       </linepath>
288      </UML:AssocWidget>
289      <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" >
290       <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" />
291       <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" />
292       <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" />
293       <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" />
294       <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" />
295       <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" />
296       <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" />
297       <linepath>
298        <startpoint startx="480" starty="136" />
299        <endpoint endx="349" endy="302" />
300       </linepath>
301      </UML:AssocWidget>
302      <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" >
303       <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" />
304       <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" />
305       <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" />
306       <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" />
307       <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" />
308       <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" />
309       <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" />
310       <linepath>
311        <startpoint startx="532" starty="120" />
312        <endpoint endx="640" endy="146" />
313       </linepath>
314      </UML:AssocWidget>
315      <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" >
316       <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" />
317       <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" />
318       <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" />
319       <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" />
320       <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" />
321       <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" />
322       <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" />
323       <linepath>
324        <startpoint startx="532" starty="152" />
325        <endpoint endx="750" endy="400" />
326       </linepath>
327      </UML:AssocWidget>
328     </associations>
329    </diagram>
330    <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" zoom="100" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" canvaswidth="829" 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="1129" >
331     <widgets>
332      <UML:ClassWidget usesdiagramfillcolour="0" width="35" showattsigs="601" usesdiagramusefillcolour="0" x="470" linecolour="#ff0000" y="20" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#d5d5cf" height="25" 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" />
333      <UML:ClassWidget usesdiagramfillcolour="0" width="430" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="240" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="273" 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" />
334      <UML:ClassWidget usesdiagramfillcolour="0" width="361" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="10" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="195" 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" />
335      <UML:ClassWidget usesdiagramfillcolour="0" width="88" showattsigs="601" usesdiagramusefillcolour="0" x="450" linecolour="#ff0000" y="80" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="32" 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" />
336      <UML:ClassWidget usesdiagramfillcolour="0" width="431" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="540" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="585" 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" />
337      <UML:ClassWidget usesdiagramfillcolour="0" width="375" showattsigs="601" usesdiagramusefillcolour="0" x="450" linecolour="#ff0000" y="130" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="221" 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" />
338      <UML:ClassWidget usesdiagramfillcolour="0" width="288" showattsigs="601" usesdiagramusefillcolour="0" x="450" linecolour="#ff0000" y="370" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="78" 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" />
339     </widgets>
340     <messages/>
341     <associations>
342      <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" >
343       <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" />
344       <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" />
345       <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" />
346       <linepath>
347        <startpoint startx="494" starty="80" />
348        <endpoint endx="487" endy="45" />
349       </linepath>
350      </UML:AssocWidget>
351     </associations>
352    </diagram>
353   </diagrams>
354   <listview>
355    <listitem open="1" type="800" id="-1" label="Vistas" >
356     <listitem open="1" type="801" id="-1" label="Vista lógica" >
357      <listitem open="1" type="803" id="-1" label="Diagramas" >
358       <listitem open="1" type="807" id="336" label="Clases" />
359       <listitem open="1" type="807" id="206" label="Clases y Relaciones" />
360       <listitem open="1" type="813" id="377" label="SAMURAI_Perm" >
361        <listitem open="0" type="814" id="378" label="permisos" />
362        <listitem open="0" type="814" id="379" label="sistema" />
363        <listitem open="0" type="815" id="380" label="SAMURAI_Perm" />
364        <listitem open="0" type="815" id="385" label="getPermisos" />
365        <listitem open="0" type="815" id="381" label="tiene" />
366       </listitem>
367      </listitem>
368      <listitem open="0" type="803" id="-1" label="EXTERNO" >
369       <listitem open="1" type="813" id="264" label="DB" />
370      </listitem>
371      <listitem open="0" type="803" id="-1" label="SAMURAI" >
372       <listitem open="0" type="813" id="265" label="SAMURAI_DB" >
373        <listitem open="0" type="815" id="269" label="connect" />
374       </listitem>
375       <listitem open="0" type="813" id="208" label="SAMURAI_Perfil" >
376        <listitem open="0" type="814" id="271" label="db" />
377        <listitem open="0" type="814" id="226" label="descripcion" />
378        <listitem open="0" type="814" id="225" label="id" />
379        <listitem open="0" type="814" id="361" label="permisos" />
380        <listitem open="0" type="814" id="330" label="responsable" />
381        <listitem open="0" type="814" id="227" label="tipo" />
382        <listitem open="0" type="815" id="229" label="SAMURAI_Perfil" />
383        <listitem open="0" type="815" id="325" label="borrarDb" />
384        <listitem open="0" type="815" id="363" label="borrarPermisos" />
385        <listitem open="0" type="815" id="360" label="existeAsociacion" />
386        <listitem open="0" type="815" id="358" label="existePerfil" />
387        <listitem open="0" type="815" id="356" label="getArrayPerfiles" />
388        <listitem open="0" type="815" id="338" label="getIdPerfiles" />
389        <listitem open="0" type="815" id="339" label="getPerfiles" />
390        <listitem open="0" type="815" id="324" label="grabarDb" />
391        <listitem open="0" type="815" id="323" label="guardarDatos" />
392        <listitem open="0" type="815" id="362" label="guardarPermisos" />
393        <listitem open="0" type="815" id="326" label="modificarDb" />
394        <listitem open="0" type="815" id="322" label="obtenerDatosDb" />
395        <listitem open="0" type="815" id="376" label="verifPermisos" />
396       </listitem>
397       <listitem open="0" type="813" id="210" label="SAMURAI_Permiso" >
398        <listitem open="0" type="814" id="270" label="db" />
399        <listitem open="0" type="814" id="258" label="descripcion" />
400        <listitem open="0" type="814" id="257" label="id" />
401        <listitem open="0" type="814" id="296" label="responsable" />
402        <listitem open="0" type="815" id="259" label="SAMURAI_Permiso" />
403        <listitem open="0" type="815" id="364" label="asociadoASistema" />
404        <listitem open="0" type="815" id="318" label="borrarDb" />
405        <listitem open="0" type="815" id="333" label="getArrayPermisos" />
406        <listitem open="0" type="815" id="332" label="getIdPermisos" />
407        <listitem open="0" type="815" id="334" label="getPermisos" />
408        <listitem open="0" type="815" id="317" label="grabarDb" />
409        <listitem open="0" type="815" id="316" label="guardarDatos" />
410        <listitem open="0" type="815" id="319" label="modificarDb" />
411        <listitem open="0" type="815" id="295" label="obtenerDatosDb" />
412       </listitem>
413       <listitem open="0" type="813" id="209" label="SAMURAI_Sistema" >
414        <listitem open="0" type="814" id="310" label="asociaciones" />
415        <listitem open="0" type="814" id="242" label="contacto" />
416        <listitem open="0" type="814" id="272" label="db" />
417        <listitem open="0" type="814" id="238" label="descripcion" />
418        <listitem open="0" type="814" id="240" label="fecha_fin" />
419        <listitem open="0" type="814" id="241" label="fecha_implementacion" />
420        <listitem open="0" type="814" id="239" label="fecha_inicio" />
421        <listitem open="0" type="814" id="235" label="id" />
422        <listitem open="0" type="814" id="237" label="nombre" />
423        <listitem open="0" type="814" id="300" label="permisos" />
424        <listitem open="0" type="814" id="289" label="responsable" />
425        <listitem open="0" type="815" id="243" label="SAMURAI_Sistema" />
426        <listitem open="0" type="815" id="305" label="borrarDb" />
427        <listitem open="0" type="815" id="309" label="borrarPermisosDb" />
428        <listitem open="0" type="815" id="313" label="eliminarAsociacion" />
429        <listitem open="0" type="815" id="315" label="existeAsociacion" />
430        <listitem open="0" type="815" id="343" label="getArraySistemas" />
431        <listitem open="0" type="815" id="250" label="getContacto" />
432        <listitem open="0" type="815" id="246" label="getDescripcion" />
433        <listitem open="0" type="815" id="248" label="getFechaFin" />
434        <listitem open="0" type="815" id="249" label="getFechaImplementacion" />
435        <listitem open="0" type="815" id="247" label="getFechaInicio" />
436        <listitem open="0" type="815" id="244" label="getId" />
437        <listitem open="0" type="815" id="301" label="getIdPermisos" />
438        <listitem open="0" type="815" id="342" label="getIdSistemas" />
439        <listitem open="0" type="815" id="303" label="getMaxIdSistema" />
440        <listitem open="0" type="815" id="245" label="getNombre" />
441        <listitem open="0" type="815" id="290" label="getResponsable" />
442        <listitem open="0" type="815" id="341" label="getSistemas" />
443        <listitem open="0" type="815" id="304" label="grabarDb" />
444        <listitem open="0" type="815" id="308" label="grabarPermisosDb" />
445        <listitem open="0" type="815" id="312" label="guardarAsociacion" />
446        <listitem open="0" type="815" id="288" label="guardarDatos" />
447        <listitem open="0" type="815" id="314" label="modificarAsociacion" />
448        <listitem open="0" type="815" id="306" label="modificarDb" />
449        <listitem open="0" type="815" id="263" label="obtenerDatosDb" />
450        <listitem open="0" type="815" id="256" label="setContacto" />
451        <listitem open="0" type="815" id="252" label="setDescripcion" />
452        <listitem open="0" type="815" id="254" label="setFechaFin" />
453        <listitem open="0" type="815" id="255" label="setFechaImplementacion" />
454        <listitem open="0" type="815" id="253" label="setFechaInicio" />
455        <listitem open="0" type="815" id="251" label="setNombre" />
456        <listitem open="0" type="815" id="302" label="setPermisos" />
457        <listitem open="0" type="815" id="291" label="setResponsable" />
458       </listitem>
459       <listitem open="0" type="813" id="207" label="SAMURAI_Usuario" >
460        <listitem open="0" type="814" id="273" label="db" />
461        <listitem open="0" type="814" id="211" label="login" />
462        <listitem open="0" type="814" id="213" label="nombre" />
463        <listitem open="0" type="814" id="212" label="nrodoc" />
464        <listitem open="0" type="814" id="369" label="perfiles" />
465        <listitem open="0" type="815" id="216" label="SAMURAI_Usuario" />
466        <listitem open="0" type="815" id="372" label="borrarDb" />
467        <listitem open="0" type="815" id="366" label="getArrayUsuarios" />
468        <listitem open="0" type="815" id="365" label="getLoginUsuarios" />
469        <listitem open="0" type="815" id="367" label="getUsuarios" />
470        <listitem open="0" type="815" id="371" label="grabarDb" />
471        <listitem open="0" type="815" id="370" label="guardarDatos" />
472        <listitem open="0" type="815" id="373" label="modificarDb" />
473        <listitem open="0" type="815" id="368" label="obtenerDatosDb" />
474        <listitem open="0" type="815" id="375" label="verificarAsociacionExistente" />
475        <listitem open="0" type="815" id="374" label="verificarLogin" />
476       </listitem>
477      </listitem>
478     </listitem>
479     <listitem open="0" type="802" id="-1" label="Vista de caso de uso" />
480     <listitem open="1" type="821" id="-1" label="Component View" />
481     <listitem open="0" type="823" id="-1" label="Diagrams" />
482     <listitem open="1" type="827" id="-1" label="Deployment View" />
483    </listitem>
484   </listview>
485  </XMI.content>
486 </XMI>