mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Add lifetime to all sequence diagrams
This commit is contained in:
parent
9d43a52c49
commit
02f9549df6
|
@ -2,9 +2,16 @@
|
||||||
|
|
||||||
participant ":Nutzer" as Nutzer
|
participant ":Nutzer" as Nutzer
|
||||||
participant "nutzerdatenbank:Nutzerdatenbank" as Nutzerdatenbank
|
participant "nutzerdatenbank:Nutzerdatenbank" as Nutzerdatenbank
|
||||||
|
participant "auftragsdatenbank:Auftragsdatenbank" as Auftragsdatenbank
|
||||||
|
|
||||||
'the reason for the self request is that the user needs to check if there are any open orders
|
Nutzer --> Nutzerdatenbank : entferneAccount(dieses)
|
||||||
Nutzer --> Nutzer : deleteAccount()
|
activate Nutzer
|
||||||
Nutzer --> Nutzerdatenbank : removeAccount(this)
|
activate Nutzerdatenbank
|
||||||
|
destroy Nutzer
|
||||||
|
Nutzerdatenbank --> Auftragsdatenbank : entferneAccount(dieses)
|
||||||
|
activate Auftragsdatenbank
|
||||||
|
Auftragsdatenbank --> Nutzerdatenbank : boolean
|
||||||
|
deactivate Nutzerdatenbank
|
||||||
|
deactivate Auftragsdatenbank
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
|
|
BIN
src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.svg
(Stored with Git LFS)
BIN
src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.svg
(Stored with Git LFS)
Binary file not shown.
|
@ -3,7 +3,11 @@
|
||||||
participant ":Administrator" as Administrator
|
participant ":Administrator" as Administrator
|
||||||
participant "inventar:Inventar" as inventar_Inventar
|
participant "inventar:Inventar" as inventar_Inventar
|
||||||
|
|
||||||
Administrator ---> inventar_Inventar : addNewLeihmaterial(Leihmaterial)
|
Administrator ---> inventar_Inventar : leihmaterialHinzufuegen(Leihmaterial)
|
||||||
|
activate Administrator
|
||||||
|
activate inventar_Inventar
|
||||||
inventar_Inventar ---> Administrator : boolean
|
inventar_Inventar ---> Administrator : boolean
|
||||||
|
deactivate Administrator
|
||||||
|
deactivate inventar_Inventar
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
|
|
BIN
src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.svg
(Stored with Git LFS)
BIN
src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.svg
(Stored with Git LFS)
Binary file not shown.
|
@ -4,9 +4,15 @@ participant ":Administrator" as Administrator
|
||||||
participant "personal:Personal" as Personal
|
participant "personal:Personal" as Personal
|
||||||
participant "mitarbeiter:Mitarbeiter" as Mitarbeiter
|
participant "mitarbeiter:Mitarbeiter" as Mitarbeiter
|
||||||
|
|
||||||
Administrator --> Personal : requestMitarbeiter(id)
|
Administrator --> Personal : nachfrageMitarbeiter(id)
|
||||||
|
activate Administrator
|
||||||
|
activate Personal
|
||||||
Personal --> Administrator : Mitarbeiter
|
Personal --> Administrator : Mitarbeiter
|
||||||
Administrator --> Mitarbeiter : changeEmail(email)
|
deactivate Personal
|
||||||
|
Administrator --> Mitarbeiter : aendereEmail(email)
|
||||||
|
activate Mitarbeiter
|
||||||
Mitarbeiter --> Administrator : boolean
|
Mitarbeiter --> Administrator : boolean
|
||||||
|
deactivate Administrator
|
||||||
|
deactivate Mitarbeiter
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
|
|
BIN
src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.svg
(Stored with Git LFS)
BIN
src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.svg
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in a new issue