DiagramaSecuencia: Hechos unos diagramas de secuencia #30

Merged
fede merged 6 commits from DiagramaSecuencia into master 2024-03-15 13:10:05 -03:00
3 changed files with 103 additions and 5 deletions
Showing only changes of commit bcdfc473b7 - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -74,6 +74,9 @@ end
@enduml
#+end_src
#+RESULTS:
[[file:GestionProducto.jpg]]
* Usuario Gestiona Categorias
#+begin_src plantuml :file GestionCategorias.jpg
@startuml
@@ -132,17 +135,112 @@ end
* Usuario Registra Facturas
#+begin_src plantuml :file GestionFacturas.jpg
@startuml
actor "Cliente" as cl
boundary "FormFacturas" as fcs
boundary "FormFactura" as fc
control "Controladora Facturas" as gc
entity "Repo Facturas" as rc
group "Añadir Factura"
cl -> fcs: Añadir Factura
fcs -> fc: RegistrarFactura()
fc -> gc: RegistrarFactura(:Factura)
gc -> rc: Add(:Factura)
alt ok case
rc --> gc: 👍
else algo fallo
rc --> gc: 👎
end
gc -> rc: DescontarStock(:Factura)
alt ok case
rc --> gc: 👍
else algo fallo
rc --> gc: 👎
end
gc --> fc: ok
fc --> fcs: ok
group "Refrescar Facturas"
fcs -> fcs: RefreshGUI()
end
end
@enduml
#+end_src
* Informar pocos productos en stock
#+begin_src plantuml :file Informe.jpg
@startuml
@enduml
#+end_src
#+RESULTS:
[[file:GestionFacturas.jpg]]
* Gestion de Mails para informes
#+begin_src plantuml :file GestionMails.jpg
@startuml
actor "Cliente" as cl
boundary "FormGestionMails" as fps
control "ControladoraGestionMails" as gp
entity "RepoMails" as rp
group "Registrar Nuevo Mails"
cl -> fps: Registrar Mail
fps -> gp: RegistrarMail(:Mail)
gp -> rp: Add(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se añadió el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló la carga"
end
group "Refesh Mails"
fps -> fps: RefreshGUI()
end
end
group "Modificar Mail"
cl -> fps: Modificar Mail
fps -> gp: ModificarMail(:Mail)
gp -> rp: Mod(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se Modificó el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló Modificacion"
end
group "Refesh Mails"
fps -> fps: RefreshGUI()
end
end
group "Eliminar Mail"
cl -> fps: Eliminar Mail
fps -> gp: EliminarMail(:Mail)
gp -> rp: Del(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se eliminó el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló la Baja del Mail"
end
group "Refesh Mail"
fps -> fps: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionMails.jpg]]