feat: añadidos algunos Diagramas de Secuencia
This commit is contained in:
BIN
Documentacion/DiagramaSecuencia/GestionCategorias.jpg
Normal file
BIN
Documentacion/DiagramaSecuencia/GestionCategorias.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
BIN
Documentacion/DiagramaSecuencia/GestionProducto.jpg
Normal file
BIN
Documentacion/DiagramaSecuencia/GestionProducto.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 81 KiB |
@@ -3,15 +3,131 @@
|
|||||||
* Usuario Gestiona un Producto
|
* Usuario Gestiona un Producto
|
||||||
#+begin_src plantuml :file GestionProducto.jpg
|
#+begin_src plantuml :file GestionProducto.jpg
|
||||||
@startuml
|
@startuml
|
||||||
|
actor "Cliente" as cl
|
||||||
|
boundary "FormProductos" as fps
|
||||||
|
boundary "FormProducto" as fp
|
||||||
|
|
||||||
|
control "Controladora Producto" as gp
|
||||||
|
entity "Repo Productos" as rp
|
||||||
|
|
||||||
|
group "Registrar Nuevo Producto"
|
||||||
|
cl -> fps: Registrar Producto
|
||||||
|
fps -> fp: RegistrarProducto()
|
||||||
|
fp -> gp: AñadirProducto(:Producto)
|
||||||
|
gp -> rp: Add(:Producto)
|
||||||
|
|
||||||
|
alt ok case
|
||||||
|
rp --> gp: 👍
|
||||||
|
gp --> fp: "Se añadió el producto"
|
||||||
|
else algo fallo
|
||||||
|
rp --> gp: 👎
|
||||||
|
gp --> fp: "Falló la carga"
|
||||||
|
end
|
||||||
|
|
||||||
|
fp --> fps: ok
|
||||||
|
|
||||||
|
group "Refesh Productos"
|
||||||
|
fps -> fps: RefreshGUI()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
group "Modificar Producto"
|
||||||
|
cl -> fps: Modificar Producto
|
||||||
|
fps -> fp: ModificarProducto(:Producto)
|
||||||
|
fp -> gp: ModificarProducto(:Producto)
|
||||||
|
gp -> rp: Mod(:Producto)
|
||||||
|
|
||||||
|
alt ok case
|
||||||
|
rp --> gp: 👍
|
||||||
|
gp --> fp: "Se Modificó el producto"
|
||||||
|
else algo fallo
|
||||||
|
rp --> gp: 👎
|
||||||
|
gp --> fp: "Falló Modificacion"
|
||||||
|
end
|
||||||
|
|
||||||
|
fp --> fps: ok
|
||||||
|
|
||||||
|
group "Refesh Productos"
|
||||||
|
fps -> fps: RefreshGUI()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
group "Eliminar Producto"
|
||||||
|
cl -> fps: Eliminar Producto
|
||||||
|
fps -> gp: EliminarProducto(:Producto)
|
||||||
|
gp -> rp: Del(:Producto)
|
||||||
|
|
||||||
|
alt ok case
|
||||||
|
rp --> gp: 👍
|
||||||
|
gp --> fp: "Se eliminó el producto"
|
||||||
|
else algo fallo
|
||||||
|
rp --> gp: 👎
|
||||||
|
gp --> fp: "Falló la Baja del producto"
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
group "Refesh Productos"
|
||||||
|
fps -> fps: RefreshGUI()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Usuario Gestiona Categorias
|
* Usuario Gestiona Categorias
|
||||||
#+begin_src plantuml :file GestionCategorias.jpg
|
#+begin_src plantuml :file GestionCategorias.jpg
|
||||||
@startuml
|
@startuml
|
||||||
|
actor "Cliente" as cl
|
||||||
|
boundary "FormCategorias" as fcs
|
||||||
|
boundary "FormCategoria" as fc
|
||||||
|
|
||||||
|
control "Controladora Categorias" as gc
|
||||||
|
entity "Repo Categorias" as rc
|
||||||
|
|
||||||
|
group "Añadir Categoria"
|
||||||
|
cl -> fcs: Añadir Categoria
|
||||||
|
fcs -> fc: RegistrarCategoria()
|
||||||
|
fc -> gc: RegistrarCategoria(:Categoria)
|
||||||
|
gc -> rc: Add(:Categoria)
|
||||||
|
|
||||||
|
alt ok case
|
||||||
|
rc --> gc: 👍
|
||||||
|
gc --> fc: "Se añadió la Categoria"
|
||||||
|
else algo fallo
|
||||||
|
rc --> gc: 👎
|
||||||
|
gc --> fc: "Falló la carga"
|
||||||
|
end
|
||||||
|
fc --> fcs: ok
|
||||||
|
group "Refrescar Categorias"
|
||||||
|
fcs -> fcs: RefreshGUI()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
group "Eliminar Categoria"
|
||||||
|
cl -> fcs: Eliminar Categoria
|
||||||
|
fcs -> fc: RegistrarCategoria()
|
||||||
|
fc -> gc: RegistrarCategoria(:Categoria)
|
||||||
|
gc -> rc: Add(:Categoria)
|
||||||
|
|
||||||
|
alt ok case
|
||||||
|
rc --> gc: 👍
|
||||||
|
gc --> fc: "Se Eliminó la Categoria"
|
||||||
|
else algo fallo
|
||||||
|
rc --> gc: 👎
|
||||||
|
gc --> fc: "Falló la Baja"
|
||||||
|
end
|
||||||
|
fc --> fcs: ok
|
||||||
|
group "Refrescar Categorias"
|
||||||
|
fcs -> fcs: RefreshGUI()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
[[file:GestionCategorias.jpg]]
|
||||||
|
|
||||||
* Usuario Registra Facturas
|
* Usuario Registra Facturas
|
||||||
#+begin_src plantuml :file GestionFacturas.jpg
|
#+begin_src plantuml :file GestionFacturas.jpg
|
||||||
@@ -24,3 +140,9 @@
|
|||||||
@startuml
|
@startuml
|
||||||
@enduml
|
@enduml
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Gestion de Mails para informes
|
||||||
|
#+begin_src plantuml :file GestionMails.jpg
|
||||||
|
@startuml
|
||||||
|
@enduml
|
||||||
|
#+end_src
|
||||||
|
|||||||
Reference in New Issue
Block a user