From 504e23ea39ed22a9de85cedbb1aced04b6635ca2 Mon Sep 17 00:00:00 2001 From: Denis Natusch Date: Wed, 25 Oct 2023 19:17:28 +0200 Subject: [PATCH] Add sequence diagrams to a few use cases --- .../analysis/sequenceDiagramAccountLoeschen.puml | 10 ++++++++++ .../analysis/sequenceDiagramAccountLoeschen.svg | 3 +++ ...sequenceDiagramArtikelZumInventarHinzufuegen.puml | 9 +++++++++ .../sequenceDiagramArtikelZumInventarHinzufuegen.svg | 3 +++ .../sequenceDiagramPersonaldatenBearbeiten.puml | 12 ++++++++++++ .../sequenceDiagramPersonaldatenBearbeiten.svg | 3 +++ src/main/asciidoc/pflichtenheft.adoc | 4 ++++ 7 files changed, 44 insertions(+) create mode 100644 src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.puml create mode 100644 src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.svg create mode 100644 src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.puml create mode 100644 src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.svg create mode 100644 src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.puml create mode 100644 src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.svg diff --git a/src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.puml b/src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.puml new file mode 100644 index 0000000..6d3dfcc --- /dev/null +++ b/src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.puml @@ -0,0 +1,10 @@ +@startuml + +participant ":Nutzer" as Nutzer +participant "nutzerdatenbank:Nutzerdatenbank" as Nutzerdatenbank + +'the reason for the self request is that the user needs to check if there are any open orders +Nutzer --> Nutzer : deleteAccount() +Nutzer --> Nutzerdatenbank : removeAccount(this) + +@enduml diff --git a/src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.svg b/src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.svg new file mode 100644 index 0000000..984ba5b --- /dev/null +++ b/src/main/asciidoc/models/analysis/sequenceDiagramAccountLoeschen.svg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25f44d1d41588a0511f20ec78dafcaf29ec6366834a1e716306048de2be615af +size 2923 diff --git a/src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.puml b/src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.puml new file mode 100644 index 0000000..d3cb774 --- /dev/null +++ b/src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.puml @@ -0,0 +1,9 @@ +@startuml + +participant ":Administrator" as Administrator +participant "inventar:Inventar" as inventar_Inventar + +Administrator ---> inventar_Inventar : addNewLeihmaterial(Leihmaterial) +inventar_Inventar ---> Administrator : boolean + +@enduml diff --git a/src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.svg b/src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.svg new file mode 100644 index 0000000..35ea1b5 --- /dev/null +++ b/src/main/asciidoc/models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.svg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd68942a7bbc978fd0d8224c4b5154fa8f64d01a0a6f519cf9e8836c3b2d9462 +size 2606 diff --git a/src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.puml b/src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.puml new file mode 100644 index 0000000..5a2de45 --- /dev/null +++ b/src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.puml @@ -0,0 +1,12 @@ +@startuml + +participant ":Administrator" as Administrator +participant "personal:Personal" as Personal +participant "mitarbeiter:Mitarbeiter" as Mitarbeiter + +Administrator --> Personal : requestMitarbeiter(id) +Personal --> Administrator : Mitarbeiter +Administrator --> Mitarbeiter : changeEmail(email) +Mitarbeiter --> Administrator : boolean + +@enduml diff --git a/src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.svg b/src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.svg new file mode 100644 index 0000000..040e72d --- /dev/null +++ b/src/main/asciidoc/models/analysis/sequenceDiagramPersonaldatenBearbeiten.svg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f96b6b3d16fde40427f09dbe34138eb796cabf4479d6a52eef44b89545a0137e +size 4106 diff --git a/src/main/asciidoc/pflichtenheft.adoc b/src/main/asciidoc/pflichtenheft.adoc index 98d686f..bb579cc 100644 --- a/src/main/asciidoc/pflichtenheft.adoc +++ b/src/main/asciidoc/pflichtenheft.adoc @@ -245,6 +245,8 @@ image::models/analysis/useCaseDiagram.svg[] | <> |=== +image::models/analysis/sequenceDiagramAccountLoeschen.svg[] + ===== Personalverwaltung [cols="1h,2"] |=== @@ -310,6 +312,7 @@ image::models/analysis/useCaseDiagram.svg[] |Funkionale Vorraussetzungen | <> |=== +image::models/analysis/sequenceDiagramPersonaldatenBearbeiten.svg[] [cols="1h,2"] |=== @@ -538,6 +541,7 @@ image::models/analysis/useCaseDiagram.svg[] |Funkionale Vorraussetzungen | <> |=== +image::models/analysis/sequenceDiagramArtikelZumInventarHinzufuegen.svg[] [cols="1h,2"] |===