login add时序图状态图
2021-07-30 09:08:12 12 举报
系统login和add功能的时序图与状态图
作者其他创作
大纲/内容
DB
1.2send request
8.send info
:ManagePage
:UserInfo
1.8show user info
1.5response info
6.verify
4.require info
3.8 updata info
4.query user info
16:response request
10.return info
<<model>>:record
2.send request
12.show user info
Staff
1.5return info
1.1select user
1.3send request
8:update info
<<view>>:ManagePage
6:send request
7.send info
9:enter info
2:send request
11:select right
:delectServlet
5.enter user info
user information is incorrect
alt
11.call and send info
3.7respond rquest
add successfully
19:show new info
1.8show info
1:click delect user
<<controller>>:ManageRightServlet
:Record
select
3.6respond rquest
8.2:reject request
15:response request
17:respond rquest
8.show error massage
6.send info
:DB
4:show info
5:send info
<<controller>>:addServlet
17:show new info
:addServlet
13:show success massage
8:send request
:record
9.1.4:show info
5:return info
4:query info
9:update info
Login
6:send info
3:send request
:UserInfoServlet
delete info
6:return info
7:call
3.call
1.7call
Administrator
3.1select right
10:response request
9:click change right
2.2send request
else
3.send massage and request
AddUser
3.4send request
:ManageRightServlet
3.1enter info
7.reject request
16.show success massage
3.5update right
12:response request
8:show info
14:send request
MudifyUser
7:send request
9.2.2:return result
<<view>>:UserInfo
12:send request
3:call
enter info
<<view>>:AddUserPage
3.4send request
2.1click change
3.9show new info
valid
13.return result
1:enter username and password
8.1:call
:HomePage
:UserInfoPage
1.6return info
invalid
8:show user info
1:select user
14:response request
:AddUserPage
3.8response request
3.2send request
3.5update info
2.1click change right
14.return result
3.7response request
1.4query info
5.response user info
18: updata info
:LoginServlet
UserInfo
3.3send request
11:response request
9.2.3:show success massage
<<view>>:UserInfoPage
<<controller>>:LoginServlet
15.return result
2.send massage and request
15:update
7:verify
3.6response request
1.4send request
11:send request
2.4show right
9.response request
2.2require new information
1.6response info
user already exist
Opt | Alt | Loop
:ModifyServlet
9.1.1:return info
click login
10:show right
13:update info
10:send request
9.1.3:call
<<controller>>:ModifyServlet
16:respond rquest
select add/modify
7:send info
ManageRight
4:enter user
13:send request
8.2.1:show error massage
select user
11.show info
8.1.1:show
5:select user
<<controller>>:UserInfoServlet
1.enter username and password
9.update info
9.1.2:return info
<<module>>:record
waite
6:response info
2.3response request
9.2.1:return result
1.click add user
delete
10.call
<<view>>:HomePage
add fail
<<model>>:Record
1:click add user
5:response info
0 条评论
回复 删除
下一页