-
Notifications
You must be signed in to change notification settings - Fork 1
Sequence Diagrams
Semih Yılmaz edited this page Apr 27, 2024
·
32 revisions
sequenceDiagram
actor R as Registered User
alt follow
R->>+ Profile: followUser(user)
Profile->>+ Database: insert_user_follow(registered_user, user)
alt insertion is successful
Database-->>Profile: success
Profile-->>R: success
else
Database-->>-Profile: failure
Profile-->>-R: failure
end
end
alt unfollow
R->>+ Profile: unfollowUser(user)
Profile->>+ Database: delete_user_follow(registered_user, user)
alt deletion is successful
Database-->>Profile: success
Profile-->>R: success
else
Database-->>-Profile: failure
Profile-->>-R: failure
end
end
sequenceDiagram
actor R as Registered User
alt post
R->>+ Post: createPost(post)
Post->>+ Database: create_post(registered_user, post)
alt insertion is successful
Database-->>Post: success
Post-->>R: success
else
Database-->>-Post: failure
Post-->>-R: failure
end
end
sequenceDiagram
actor R as User
alt filterSongs
R->>+ SearchEngine: filterSongs(parameters ...)
SearchEngine->>+ Database: get_appropriate_songs(parameters ...)
alt searching is successful
Database-->>SearchEngine: songsReturnedAsList
SearchEngine-->>R: songsReturnedAsList
else searching is not successful
Database-->>-SearchEngine: noSongFound
SearchEngine-->>-R: noSongFound
end
end
sequenceDiagram
actor R as User
alt filterUserProfiles
R->>+ SearchEngine: filterUsers(parameters ...)
SearchEngine->>+ Database: get_appropriate_user_profiles(parameters ...)
alt searching is successful
Database-->>SearchEngine: profilesReturnedAsList
SearchEngine-->>R: profilesReturnedAsList
else searching is not successful
Database-->>-SearchEngine: noProfileFound
SearchEngine-->>-R: noProfileFound
end
end
sequenceDiagram
actor User
participant Profile
participant Database
User->>+Profile: setBio(bio: String)
Profile->>+Database: update_bio(String)
alt update is successful
Database-->>Profile: success
Profile-->>User: true
else
Database-->>-Profile: failure
Profile-->>-User: false
end
🏠 Home
- 💬 Communication Plan
- 🎯 General Plan
- 🗂️ Project Plan
- 📊 Customer Milestone 1 Report
- 📊 Customer Milestone 2 Report
- 📊 Customer Milestone 3 Report
- 📕 User Manual
- 📕 System Manual
- Software Requirements
- API Doc
- RAM
- Sequence Diagram
- Class Diagram
- Use-Case Diagram
- Mockups
- User Scenario 1 - Quiz generation
- User Scenario 2 ‐ Find forum from the Quiz
- User Scenario 3 ‐ Ask Question in the Forum
- User Scenario 4 - Solve a Quiz Sent by Another User
- User Experience Enhancement Plans and Actions
- Final Presentation scenario
- UI Interfaces
- User Stories
- Lab Report #1 | 24.09.2024
- Lab Report #2 | 01.10.2024
- Lab Report #3 | 08.10.2024
- Lab Report #4 | 15.10.2024
- Lab Report #9 | 10.12.2024
Lab Meeting Notes
Team Meeting Notes
🧑🏻💻 About Us
🗂️ Templates
CmpE 352
- Customer Milestone 1 Report
- Customer Milestone 2 Report
- Customer Milestone 3 Report
- UML Use-Case Diagram
- UML Class Diagram
- Sequence Diagrams
- API Documentation
- RAM | Responsibility Assignment Matrix
🗃️ All Project Files
📝 352 Meeting Notes
- Meeting #11 | 11.05.2024
- Frontend Meeting Notes #2 | 07.05.2024
- Meeting #10 | 07.05.2024
- Frontend Meeting Notes #1 | 08.04.2024
- Backend Meeting Notes
- Mobile Team Meeting Notes
- Meeting #9 | 28.04.2024
- Meeting #8 | 22.04.2024
- Meeting #7 | 04.04.2024
- Meeting #6 | 27.03.2024
- Meeting #5 | 15.03.2024
- Customer Meeting #1 | 15.03.2024
- Meeting #4 | 07.03.2024
- Meeting #3 | 03.03.2024
- Meeting #2 | 26.02.2024
- Meeting #1 | 19.02.2024