]> git.llucax.com Git - mecon/samurai.git/blobdiff - doc/uml/Samurai.xmi
Funcionalidad de Perfiles, Sistemas y Permisos terminada
[mecon/samurai.git] / doc / uml / Samurai.xmi
index bc69757799c30141db4b2571871aceb8545ecbab..e85af38f132eae622ce0405ddc9728a758fe5179 100644 (file)
@@ -9,7 +9,7 @@
   <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
  </XMI.header>
  <XMI.content>
-  <docsettings viewid="336" documentation="" uniqueid="343" />
+  <docsettings viewid="336" documentation="" uniqueid="364" />
   <umlobjects>
    <UML:Class stereotype="" package="" xmi.id="207" abstract="0" documentation="Clase para el manejo de los usuarios." name="SAMURAI_Usuario" static="0" scope="200" >
     <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" >
@@ -30,8 +30,23 @@ x2c: get set" name="fecha" static="0" scope="202" />
      <UML:Parameter stereotype="" package="" xmi.id="2" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Objeto conexion" name="db" static="0" scope="200" />
      <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del perfil." name="id" static="0" scope="200" />
     </UML:Operation>
+    <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" >
+     <UML:Parameter stereotype="" package="" xmi.id="3" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
+     <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" />
+     <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" />
+    </UML:Operation>
+    <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" >
+     <UML:Parameter stereotype="" package="" xmi.id="3" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
+     <UML:Parameter stereotype="" package="" xmi.id="4" value="" type="string" abstract="0" documentation="Descripcion a comparar" name="descripcion" static="0" scope="200" />
+    </UML:Operation>
+    <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" >
+     <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
+     <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" />
+    </UML:Operation>
     <UML:Operation stereotype="" package="" xmi.id="339" type="array(Perfil)" abstract="0" documentation="" name="getPerfiles" static="1" scope="200" >
      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de datos" name="db" static="0" scope="200" />
+     <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" />
+     <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
     </UML:Operation>
     <UML:Operation stereotype="" package="" xmi.id="323" type="mixed" abstract="0" documentation="Redirecciona segun la accion correspondiente" name="guardarDatos" static="0" scope="200" >
      <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" />
@@ -39,10 +54,14 @@ x2c: get set" name="fecha" static="0" scope="202" />
     <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" />
     <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" >
      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="200" />
+     <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" />
+     <UML:Parameter stereotype="" package="" xmi.id="3" value="null" type="int" abstract="0" documentation="Identificador del sistema" name="id_sistema" static="0" scope="200" />
     </UML:Operation>
     <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" />
     <UML:Operation stereotype="" package="" xmi.id="326" type="mixed" abstract="0" documentation="" name="modificarDb" static="0" scope="202" />
     <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" />
+    <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" />
+    <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" />
     <UML:Attribute stereotype="" package="" xmi.id="225" value="" type="int" abstract="0" documentation="Identificador del perfil.
 x2c: get set" name="id" static="0" scope="202" />
     <UML:Attribute stereotype="" package="" xmi.id="226" value="" type="string" abstract="0" documentation="Descripcion del perfil.
@@ -52,6 +71,8 @@ x2c: get set" name="tipo" static="0" scope="202" />
     <UML:Attribute stereotype="" package="" xmi.id="271" value="" type="SAMURAI_DB" abstract="0" documentation="Objeto Samurai_DB" name="db" static="0" scope="202" />
     <UML:Attribute stereotype="" package="" xmi.id="330" value="" type="string" abstract="0" documentation="Responsable de las ultimas modificaciones
 x2c: get set" name="responsable" static="0" scope="202" />
+    <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.
+x2c: get set" name="permisos" static="0" scope="201" />
    </UML:Class>
    <UML:Class stereotype="" package="" xmi.id="209" abstract="0" documentation="Clase para el manejo de los sistemas." name="SAMURAI_Sistema" static="0" scope="200" >
     <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" >
@@ -154,9 +175,11 @@ x2c:get set" name="asociaciones" static="0" scope="202" />
     </UML:Operation>
     <UML:Operation stereotype="" package="" xmi.id="334" type="array(Permiso)" abstract="0" documentation="Devuelve el array de permisos" name="getPermisos" static="1" scope="200" >
      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="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" />
     </UML:Operation>
     <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" >
      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="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" />
     </UML:Operation>
     <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" >
      <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" />
@@ -164,10 +187,12 @@ x2c:get set" name="asociaciones" static="0" scope="202" />
     <UML:Operation stereotype="" package="" xmi.id="318" type="mixed" abstract="0" documentation="Borra de la base el permiso" name="borrarDb" static="0" scope="202" />
     <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" >
      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;SAMURAI_DB" abstract="0" documentation="Base de Datos" name="db" static="0" scope="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" />
     </UML:Operation>
     <UML:Operation stereotype="" package="" xmi.id="317" type="mixed" abstract="0" documentation="Graba en base el permiso" name="grabarDb" static="0" scope="202" />
     <UML:Operation stereotype="" package="" xmi.id="319" type="mixed" abstract="0" documentation="Actualiza los datos del permiso" name="modificarDb" static="0" scope="202" />
     <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" />
+    <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" />
     <UML:Attribute stereotype="" package="" xmi.id="257" value="" type="int" abstract="0" documentation="Identificador del permiso.
 x2c: get set" name="id" static="0" scope="202" />
     <UML:Attribute stereotype="" package="" xmi.id="258" value="" type="string" abstract="0" documentation="Descripcion del permiso.
@@ -183,64 +208,64 @@ x2c:include: DB.php" name="DB" static="0" scope="200" />
    </UML:Class>
   </umlobjects>
   <diagrams>
-   <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" showgrid="1" showopsig="0" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="206" documentation="" type="402" showops="1" showpackage="0" name="Clases y Relaciones" localid="30000" showstereotype="0" showscope="1" font="helvetica,7,-1,0,50,0,0,0,0,0" linecolor="#ff0000" >
+   <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="206" documentation="" type="402" showops="1" showpackage="0" name="Clases y Relaciones" localid="30000" showstereotype="0" showscope="1" font="helvetica,8,-1,0,50,0,0,0,0,0" linecolor="#ff0000" >
     <widgets>
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="105" showattsigs="601" usesdiagramusefillcolour="0" x="750" linecolour="#ff0000" y="290" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="77" usefillcolor="1" showattributes="1" xmi.id="207" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="101" showattsigs="601" usesdiagramusefillcolour="0" x="740" linecolour="#ff0000" y="10" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="154" usefillcolor="1" showattributes="1" xmi.id="208" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="134" showattsigs="601" usesdiagramusefillcolour="0" x="200" linecolour="#ff0000" y="10" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="495" usefillcolor="1" showattributes="1" xmi.id="209" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="107" showattsigs="601" usesdiagramusefillcolour="0" x="480" linecolour="#ff0000" y="310" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="154" usefillcolor="1" showattributes="1" xmi.id="210" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="40" showattsigs="601" usesdiagramusefillcolour="0" x="490" linecolour="#ff0000" y="10" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="21" usefillcolor="1" showattributes="1" xmi.id="264" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="71" showattsigs="601" usesdiagramusefillcolour="0" x="480" linecolour="#ff0000" y="100" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="27" usefillcolor="1" showattributes="1" xmi.id="265" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="128" showattsigs="601" usesdiagramusefillcolour="0" x="750" linecolour="#ff0000" y="290" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="98" usefillcolor="1" showattributes="1" xmi.id="207" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="126" showattsigs="601" usesdiagramusefillcolour="0" x="640" linecolour="#ff0000" y="10" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="280" usefillcolor="1" showattributes="1" xmi.id="208" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="165" showattsigs="601" usesdiagramusefillcolour="0" x="200" linecolour="#ff0000" y="10" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="630" usefillcolor="1" showattributes="1" xmi.id="209" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="131" showattsigs="601" usesdiagramusefillcolour="0" x="480" linecolour="#ff0000" y="310" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="210" usefillcolor="1" showattributes="1" xmi.id="210" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="46" showattsigs="601" usesdiagramusefillcolour="0" x="490" linecolour="#ff0000" y="10" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#d5d5cf" height="28" usefillcolor="1" showattributes="1" xmi.id="264" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="86" showattsigs="601" usesdiagramusefillcolour="0" x="480" linecolour="#ff0000" y="120" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="35" usefillcolor="1" showattributes="1" xmi.id="265" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
     </widgets>
     <messages/>
     <associations>
      <UML:AssocWidget totalcounta="3" indexa="1" totalcountb="2" indexb="1" widgetbid="264" widgetaid="265" documentation="" type="500" >
       <linepath>
-       <startpoint startx="503" starty="100" />
-       <endpoint endx="510" endy="31" />
+       <startpoint startx="508" starty="120" />
+       <endpoint endx="513" endy="38" />
       </linepath>
      </UML:AssocWidget>
      <UML:AssocWidget totalcounta="3" indexa="1" totalcountb="2" indexb="1" widgetbid="210" widgetaid="265" documentation="" type="501" >
       <linepath>
-       <startpoint startx="503" starty="127" />
-       <endpoint endx="533" endy="310" />
+       <startpoint startx="508" starty="155" />
+       <endpoint endx="545" endy="310" />
       </linepath>
      </UML:AssocWidget>
      <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="209" widgetaid="265" documentation="" type="501" >
       <linepath>
-       <startpoint startx="480" starty="113" />
-       <endpoint endx="334" endy="257" />
+       <startpoint startx="480" starty="137" />
+       <endpoint endx="365" endy="325" />
       </linepath>
      </UML:AssocWidget>
      <UML:AssocWidget totalcounta="3" indexa="2" totalcountb="2" indexb="1" widgetbid="208" widgetaid="265" documentation="" type="501" >
       <linepath>
-       <startpoint startx="527" starty="100" />
-       <endpoint endx="740" endy="87" />
+       <startpoint startx="537" starty="120" />
+       <endpoint endx="640" endy="150" />
       </linepath>
      </UML:AssocWidget>
      <UML:AssocWidget totalcounta="3" indexa="2" totalcountb="2" indexb="1" widgetbid="207" widgetaid="265" documentation="" type="501" >
       <linepath>
-       <startpoint startx="527" starty="127" />
-       <endpoint endx="750" endy="328" />
+       <startpoint startx="537" starty="155" />
+       <endpoint endx="750" endy="339" />
       </linepath>
      </UML:AssocWidget>
     </associations>
    </diagram>
-   <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="336" documentation="" type="402" showops="1" showpackage="0" name="Clases" localid="30000" showstereotype="0" showscope="1" font="helvetica,7,-1,0,50,0,0,0,0,0" linecolor="#ff0000" >
+   <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="336" documentation="" type="402" showops="1" showpackage="0" name="Clases" localid="30000" showstereotype="0" showscope="1" font="helvetica,8,-1,0,50,0,0,0,0,0" linecolor="#ff0000" >
     <widgets>
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="40" showattsigs="601" usesdiagramusefillcolour="0" x="380" linecolour="#ff0000" y="10" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#d5d5cf" height="21" usefillcolor="1" showattributes="1" xmi.id="264" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="246" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="90" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="154" usefillcolor="1" showattributes="1" xmi.id="208" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="259" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="250" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="154" usefillcolor="1" showattributes="1" xmi.id="210" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="78" showattsigs="601" usesdiagramusefillcolour="0" x="400" linecolour="#ff0000" y="70" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="27" usefillcolor="1" showattributes="1" xmi.id="265" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="442" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="410" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="495" usefillcolor="1" showattributes="1" xmi.id="209" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
-     <UML:ConceptWidget usesdiagramfillcolour="0" width="282" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="10" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="77" usefillcolor="1" showattributes="1" xmi.id="207" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,7,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="46" showattsigs="601" usesdiagramusefillcolour="0" x="420" linecolour="#ff0000" y="10" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#d5d5cf" height="28" usefillcolor="1" showattributes="1" xmi.id="264" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="469" showattsigs="601" usesdiagramusefillcolour="0" x="20" linecolour="#ff0000" y="350" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="280" usefillcolor="1" showattributes="1" xmi.id="208" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="396" showattsigs="601" usesdiagramusefillcolour="0" x="30" linecolour="#ff0000" y="130" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="210" usefillcolor="1" showattributes="1" xmi.id="210" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="95" showattsigs="601" usesdiagramusefillcolour="0" x="400" linecolour="#ff0000" y="70" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="35" usefillcolor="1" showattributes="1" xmi.id="265" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="558" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="640" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="630" usefillcolor="1" showattributes="1" xmi.id="209" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="357" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="10" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="98" usefillcolor="1" showattributes="1" xmi.id="207" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="helvetica,8,-1,0,50,0,0,0,0,0" />
     </widgets>
     <messages/>
     <associations>
      <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="264" widgetaid="265" documentation="" type="500" >
       <linepath>
-       <startpoint startx="439" starty="70" />
-       <endpoint endx="400" endy="31" />
+       <startpoint startx="447" starty="70" />
+       <endpoint endx="443" endy="38" />
       </linepath>
      </UML:AssocWidget>
     </associations>
@@ -249,44 +274,53 @@ x2c:include: DB.php" name="DB" static="0" scope="200" />
   <listview>
    <listitem open="1" type="800" id="-1" label="Views" >
     <listitem open="1" type="801" id="-1" label="Logical View" >
-     <listitem open="1" type="807" id="336" label="Clases" />
-     <listitem open="1" type="807" id="206" label="Clases y Relaciones" />
-     <listitem open="1" type="803" id="-1" label="EXTERNO" >
+     <listitem open="1" type="803" id="-1" label="Diagramas" >
+      <listitem open="1" type="807" id="336" label="Clases" />
+      <listitem open="1" type="807" id="206" label="Clases y Relaciones" />
+     </listitem>
+     <listitem open="0" type="803" id="-1" label="EXTERNO" >
       <listitem open="1" type="813" id="264" label="DB" />
      </listitem>
      <listitem open="1" type="803" id="-1" label="SAMURAI" >
+      <listitem open="0" type="813" id="265" label="SAMURAI_DB" >
+       <listitem open="0" type="815" id="269" label="connect" />
+      </listitem>
       <listitem open="0" type="813" id="208" label="SAMURAI_Perfil" >
        <listitem open="0" type="815" id="325" label="borrarDb" />
+       <listitem open="0" type="815" id="363" label="borrarPermisos" />
        <listitem open="0" type="814" id="271" label="db" />
        <listitem open="0" type="814" id="226" label="descripcion" />
+       <listitem open="0" type="815" id="360" label="existeAsociacion" />
+       <listitem open="0" type="815" id="358" label="existePerfil" />
+       <listitem open="0" type="815" id="356" label="getArrayPerfiles" />
        <listitem open="0" type="815" id="338" label="getIdPerfiles" />
        <listitem open="0" type="815" id="339" label="getPerfiles" />
        <listitem open="0" type="815" id="324" label="grabarDb" />
        <listitem open="0" type="815" id="323" label="guardarDatos" />
+       <listitem open="0" type="815" id="362" label="guardarPermisos" />
        <listitem open="0" type="814" id="225" label="id" />
        <listitem open="0" type="815" id="326" label="modificarDb" />
        <listitem open="0" type="815" id="322" label="obtenerDatosDb" />
+       <listitem open="0" type="814" id="361" label="permisos" />
        <listitem open="0" type="814" id="330" label="responsable" />
        <listitem open="0" type="815" id="229" label="SAMURAI_Perfil" />
        <listitem open="0" type="814" id="227" label="tipo" />
       </listitem>
       <listitem open="0" type="813" id="210" label="SAMURAI_Permiso" >
+       <listitem open="0" type="815" id="364" label="asociadoASistema" />
        <listitem open="0" type="815" id="318" label="borrarDb" />
        <listitem open="0" type="814" id="270" label="db" />
        <listitem open="0" type="814" id="258" label="descripcion" />
+       <listitem open="0" type="815" id="333" label="getArrayPermisos" />
        <listitem open="0" type="815" id="332" label="getIdPermisos" />
        <listitem open="0" type="815" id="334" label="getPermisos" />
-       <listitem open="0" type="815" id="333" label="getArrayPermisos" />
        <listitem open="0" type="815" id="317" label="grabarDb" />
        <listitem open="0" type="815" id="316" label="guardarDatos" />
        <listitem open="0" type="814" id="257" label="id" />
        <listitem open="0" type="815" id="319" label="modificarDb" />
        <listitem open="0" type="815" id="295" label="obtenerDatosDb" />
-       <listitem open="0" type="815" id="259" label="SAMURAI_Permiso" />
        <listitem open="0" type="814" id="296" label="responsable" />
-      </listitem>
-      <listitem open="0" type="813" id="265" label="SAMURAI_DB" >
-       <listitem open="0" type="815" id="269" label="connect" />
+       <listitem open="0" type="815" id="259" label="SAMURAI_Permiso" />
       </listitem>
       <listitem open="0" type="813" id="209" label="SAMURAI_Sistema" >
        <listitem open="0" type="814" id="310" label="asociaciones" />
@@ -300,6 +334,7 @@ x2c:include: DB.php" name="DB" static="0" scope="200" />
        <listitem open="0" type="814" id="240" label="fecha_fin" />
        <listitem open="0" type="814" id="241" label="fecha_implementacion" />
        <listitem open="0" type="814" id="239" label="fecha_inicio" />
+       <listitem open="0" type="815" id="343" label="getArraySistemas" />
        <listitem open="0" type="815" id="250" label="getContacto" />
        <listitem open="0" type="815" id="246" label="getDescripcion" />
        <listitem open="0" type="815" id="248" label="getFechaFin" />
@@ -311,7 +346,6 @@ x2c:include: DB.php" name="DB" static="0" scope="200" />
        <listitem open="0" type="815" id="303" label="getMaxIdSistema" />
        <listitem open="0" type="815" id="245" label="getNombre" />
        <listitem open="0" type="815" id="290" label="getResponsable" />
-       <listitem open="0" type="815" id="343" label="getArraySistemas" />
        <listitem open="0" type="815" id="341" label="getSistemas" />
        <listitem open="0" type="815" id="304" label="grabarDb" />
        <listitem open="0" type="815" id="308" label="grabarPermisosDb" />