用例实现-查看微课资源-分析类
2017-05-28 18:16:09 2 举报
根据用例,分析生成类,用顺序图来表示用例实现
作者其他创作
大纲/内容
8. return the path to the new video
6. return identities of labels
User-label Class
5. return weike detail info
RecommendationUtil
Favorited record Class
:Weike Class
:OCR System
4. ask OCR System to identify text in image
:Recommendation System
Recommendation Interface
:Weike List
17. collect user behavior
Weike-label Class
1
9. return the identity of new weike
:Weike-Label Class
Follow Record Class
2. send request
as the follower
[having new labels to be created]
Alt
:LabelDAO
9. collect user behavior
18. send user behavior
0..*
Weike Class
:User
:WeikeList
10. add weike-label associations
:videoUtil
11. return comments
View Class
12. get pageviews
15. return
as the user being followed
8. find all associated labels
9. return
:Label Class
4. return weike detail info
1. click one weike of the list
7. return identities of labels
3. ask for weike detailinfo
:Publishing Page
:WeikeService
:WeikeLabelDAO
19. return
11. display weike
[publishing a video-type weike]
10. send user behavior
Label Class
8. create new weike
:WeikeDAO
8. return labels
9. create new labels
7. find all associated labels
8. compress
User Class
5. return the identifying result
:FavoriteDAO
:ViewDAO
:WeikeController
Comment Class
13. return pageviews
2. ask for weike detail info
:Weike Controller
4. find weike
3. ask OCR System to identify text in image
10. get all comments
Weike Controller
16. create new view record
9. return labels
:Recommendation Interface
3. find weike
5. find all identitis of labels associated with the weike
7. compress the video
:mediaLibrary
6. find all identitis of labels associated with the weike
9. create new view record
10. return identities for new labels
14. get collection count
:OCRUtil
Weike List
:View Class
Message Class
:CommentDAO
:PublishController
6. return the identifying result
0 条评论
下一页