Hechos los diagramas que faltan
This commit is contained in:
BIN
Documentacion/DiagramaSecuencia/GestionFacturas.jpg
Normal file
BIN
Documentacion/DiagramaSecuencia/GestionFacturas.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
Documentacion/DiagramaSecuencia/GestionMails.jpg
Normal file
BIN
Documentacion/DiagramaSecuencia/GestionMails.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
@@ -74,6 +74,9 @@ end
|
|||||||
@enduml
|
@enduml
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
[[file:GestionProducto.jpg]]
|
||||||
|
|
||||||
* Usuario Gestiona Categorias
|
* Usuario Gestiona Categorias
|
||||||
#+begin_src plantuml :file GestionCategorias.jpg
|
#+begin_src plantuml :file GestionCategorias.jpg
|
||||||
@startuml
|
@startuml
|
||||||
@@ -132,17 +135,112 @@ end
|
|||||||
* Usuario Registra Facturas
|
* Usuario Registra Facturas
|
||||||
#+begin_src plantuml :file GestionFacturas.jpg
|
#+begin_src plantuml :file GestionFacturas.jpg
|
||||||
@startuml
|
@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
|
@enduml
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Informar pocos productos en stock
|
#+RESULTS:
|
||||||
#+begin_src plantuml :file Informe.jpg
|
[[file:GestionFacturas.jpg]]
|
||||||
@startuml
|
|
||||||
@enduml
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Gestion de Mails para informes
|
* Gestion de Mails para informes
|
||||||
#+begin_src plantuml :file GestionMails.jpg
|
#+begin_src plantuml :file GestionMails.jpg
|
||||||
@startuml
|
@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
|
@enduml
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
[[file:GestionMails.jpg]]
|
||||||
|
|||||||
Reference in New Issue
Block a user