From 16c7fc5f122b40f54cc5f336854199c4d5e8961b Mon Sep 17 00:00:00 2001 From: Kristoffer Juelsen Date: Wed, 16 Mar 2022 11:23:33 +0100 Subject: [PATCH] Updated Manage Diagram --- documentation/sequenceDiagramEdit.puml | 16 ----------- documentation/sequenceDiagramManage.puml | 36 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 16 deletions(-) delete mode 100644 documentation/sequenceDiagramEdit.puml create mode 100644 documentation/sequenceDiagramManage.puml diff --git a/documentation/sequenceDiagramEdit.puml b/documentation/sequenceDiagramEdit.puml deleted file mode 100644 index 4394f59..0000000 --- a/documentation/sequenceDiagramEdit.puml +++ /dev/null @@ -1,16 +0,0 @@ -@startuml Edit Tournament -title Edit Tournament -Actor Admin #palegreen -participant Website -database Server #brown -hide footbox - - - -alt Manage Tournament -end - -alt Manage Teams -end - -@enduml \ No newline at end of file diff --git a/documentation/sequenceDiagramManage.puml b/documentation/sequenceDiagramManage.puml new file mode 100644 index 0000000..ef2f0b1 --- /dev/null +++ b/documentation/sequenceDiagramManage.puml @@ -0,0 +1,36 @@ +@startuml Manage Tournament +title Manage Tournament +Actor Admin #palegreen +participant Website +database Server #brown +hide footbox + + + +alt Edit Tournament + Admin->Website: +end + +alt Manage Teams + Admin->Website: manageTeamsButton() + Website-->Admin: redirect(/tournament/id/teams) + opt Add + end + opt Edit + end + opt Delete + end +end + +alt Select Match Winner + Admin->Website: chooseWinner(match,team) + Website->Server: updateMatch(id:matchID,winner:teamID) + activate Server + Server-->Website: updatePartentOf(child:matchID) + deactivate Server + Website-->Admin: displayTournament() +end + + + +@enduml \ No newline at end of file