added some elements to manage diagram
This commit is contained in:
parent
d162ecbc45
commit
44f1312ee7
|
@ -5,18 +5,20 @@ participant Website
|
||||||
database Server #brown
|
database Server #brown
|
||||||
hide footbox
|
hide footbox
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
alt Edit Tournament
|
|
||||||
Admin->Website:
|
|
||||||
end
|
|
||||||
|
|
||||||
alt Manage Teams
|
alt Manage Teams
|
||||||
Admin->Website: manageTeamsButton()
|
Admin->Website: manageTeamsButton()
|
||||||
Website-->Admin: redirect(/tournament/id/teams)
|
Website-->Admin: redirect(/tournament/id/teams)
|
||||||
opt Add
|
opt Add
|
||||||
|
Admin->Website: addTeam(name,users)
|
||||||
|
opt Error
|
||||||
|
Website-->Admin: displayError(error)
|
||||||
|
end
|
||||||
|
Website->Server: addTeam(id,name,users)
|
||||||
|
Server-->Website: postTeam(team)
|
||||||
|
Website-->Admin: updateTeamList(team)
|
||||||
end
|
end
|
||||||
opt Edit
|
opt Edit
|
||||||
|
Admin->Website:
|
||||||
end
|
end
|
||||||
opt Delete
|
opt Delete
|
||||||
end
|
end
|
||||||
|
@ -28,9 +30,12 @@ alt Select Match Winner
|
||||||
activate Server
|
activate Server
|
||||||
Server-->Website: updatePartentOf(child:matchID)
|
Server-->Website: updatePartentOf(child:matchID)
|
||||||
deactivate Server
|
deactivate Server
|
||||||
Website-->Admin: displayTournament()
|
Website-->Admin: displayTournament(Tournament)
|
||||||
|
end
|
||||||
|
|
||||||
|
alt Delete Tournament
|
||||||
|
Admin->Website:
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@enduml
|
@enduml
|
Loading…
Reference in New Issue