-
Notifications
You must be signed in to change notification settings - Fork 1
Sequence Diagrams
Mücahit Erdoğan Ünlü edited this page Apr 17, 2024
·
26 revisions
sequenceDiagram
actor Registered User
Registered User->>+User: blockUser(user)
User->>+ Database: insert user into blocked list
alt insertion is successful
Database-->>User: success
User-->>Registered User: success
else
Database-->>-User: failure
User-->>-Registered User: failure
end
sequenceDiagram
actor R as Registered User
R->>+SearchEngine: query(keyword)
SearchEngine->>+ Database: search keyword in the database
Database-->>-SearchEngine: return query result
SearchEngine-->>-R: SearchResult
sequenceDiagram
actor R as Registered User
R->>+Post: bookmarkPost(user)
Post->>+ Database: save bookmark action into database
alt saving is successful
Database-->>Post: success
Post-->>R: success
else
Database-->>-Post: failure
Post-->>-R: failure
end
sequenceDiagram
actor R as Registered User
R->>+Content: addComment(comment)
Content->>+ Database: save comment into database
alt saving is successful
Database-->>Content: success
Content-->>R: success
else
Database-->>-Content: failure
Content-->>-R: failure
end
sequenceDiagram
actor R as Registered User
R->>+Post: likePost(user)
Post->>+ Database: save like action into database
alt saving is successful
Database-->>Post: success
Post-->>R: success
else
Database-->>-Post: failure
Post-->>-R: failure
end
sequenceDiagram
actor R as Registered User
R->>+ Profile: followUser(user)
Profile->>+ Database: following_list_insertion(user)
alt insertion is successful
Database-->>Profile: success
Profile->>+ Database: follower_list_insertion(registered_user)
alt insertion is successful
Database-->> Profile: success
Profile-->>R: success
else
Database-->> Profile: failure
Profile-->>R: failure
end
else
Database-->>-Profile: failure
Profile-->>-R: failure
end
sequenceDiagram
actor R as Registered User
R->>+Contents: create(text: String, author: RegisteredUser, title: String, image: Image)
Contents->>+ Database: save create action into database
alt saving is successful
Database-->>Contents: success
Contents-->>R: success
else
Database-->>-Contents: failure
Contents-->>-R: failure
end
Turquiz App
DONE
- Lab Report #1
- Lab Report #2
- Lab Report #3
- Lab Report #4
- Lab Report #5
- Lab Report #6
- Lab Report #7
- Lab Report for Lab 9
- Lab Meeting #1
- Meeting #1
- Lab Meeting #2
- Meeting #2
- Project Plan Meeting
- Frontend Meeting #1
- Lab Meeting #3
- Meeting #3
- Meeting #4
- Lab Meeting #4
- Meeting #5
- Meeting #6
- Meeting #7
- Meeting #8
- User Scenario 1 - Explore and Register
- User Scenario 2 - Search for a Quiz & Create a Quiz
- User Scenario 3 - Take & Review a Quiz
- User Scenario 4 - Search Forum & Bookmark & Upvote & Answer
- User Scenario 5 - User Badges
- User Scenario Template
- User Stories