Use case diagram - StudylS -'CourseEnrollment Main Use Case ID 1 Brief Description _C1 allows, student to be electronically enrolled in the course. Primary Actors Student Secondary Atters Lector Preconditions Student is logged in the system. Main Flow of Events 1. UC is evoked, once Student selects "Course Ehrolknenf ri the menu. 2. INCLUDEfCourseSearch} 3. IF at least one course was found 3.1. FOR EACH (course found, which has not reached full capacity yet) 3.1.1. System displays actual number of enrolled students and offers "Enroll in the course" 3.2. IF Student selects ■Enroll in the course" 3.2.1. System enrolls Student in the course EXTENSION POINT{FullCspscityReached) 3.2.2. System confirms successful enrollment in the course and updates number of enrolled studerte in :he course. Post-conditions List of enrolled students in the course is updated. Alternative Flows Student may leave the page anytime by selecting "Back to the previous page" or by logging out of the system. Notify Use Case ID 2 Brief Description UC2 notices teacher about exceeded capacity of a course. Primary Actors Student Secondary Actors Lector Precond ticms 1. UC was evoked through the extension point FullCapacityReached of CourseEnrollment use-case. 2. Actual number of enrolled students in a course is equal to the capacity o":f is course. Main Flow of Events 1. System sends teacher an email informing hin about course capacity fulfillment. Alternative Flows - Post-conditions - ^CourseSearch Main Use Case ID 3 Brief Description UC3 searches for courses based on given criteria. Primary Actors Teacher, Student Secondary Actors - Precond ticms Teacher or student is logged in the system. Main Flow of Events 1. UC is evoked when actor (Teacher or Student) selects "Search". 2. System requests detailed search criteria from the actor. 3. Actor selects 3earcti criteria. 4. System searches for courses based on given criteria. 5. IF System finds some courses 5.1. System displays page containing 1D found courses at maximum 5.2. FOR EACH (found course) 5.2.1. System displays its name and reference link tor further inform atian. 5.3. IF there were more than ID courses found 5.3.1. Actor may move forward on the page and display next 10 courses. 5.4. IF Actor is not on the first page containing search results 5.4.1. Actor may move back on previous pages containing precious 1G courses 6. ELSE 6.1. System informs Actor that no courses were found. Alternative Flows Actor who evokes the course may log out of the system anytime. Post-conditions - 3 FulltimeCourseSearch Main use Case ID 4 Brief Description UC4 searches for ful 1 time cou rses based on given criteria Primary Actors Teacher, Student Secondary Actors - Precsnd tioris Teacher or Student is logged in the system. Main Flow of Everts 1. UC is evoked when actor (Teacher or Student) selects "Search". 2. System requests detailed search criteria from the actor. 3. Actor selects search criteria 4. System searches for fuli time courses based on given criteria. 5. IF System finds some courses 5.1. System displays page containing 10 found courses at maximum 5.2. FOR EACH (found course) 5.2.1. System displays its name and reference link for further information. 5.3. IF there were more than ID courses found 5.3.1. Actor may move forward on the page and display next 10 courses. 5.4. IF Actor is not on the first page containing search results 5.4.1. Actor may move back on previous pages containing precious 10 courses 6. ELSE 6.1. System infomis Actor that no courses were found. Alternative Flows Actor who evokes the course may log out of the system anytime. Post-conditions - DistanceStudyCourseSearch Use Case ID Brief Description LIC5 searches for distance study courses based an given criteria. Primary Actors Teacher. Sludent Secondary Actcrs. Preconditions Teacher or Student is logged in the system. Main Flow of Events 1. UC is evoked when actor (Teacher or Student) selects "Search". 2. System requests detailed search criteria from the actor. 3. Actor selects search criteria. 4. System searches tor rtirsfstf rowses based on given criteria. 5. IF System fi nds some courses 5.1. System displays page contain ing 10 found courses at maximum 5.2. FOR EACH (found course) 5.2.1. System Displays its name and reference link for further information. 5.3. IF there were more than ID courses found 5.3.1. Actor may move forward on the page and display next 10 courses. 5.4. IF Actor is. not on the first page containing search results 5.4.1. Actor may move back on previous pages containing precious 1G courses 6. ELSE 6.1. System informs Actor Itiat no courses were found. Alternative Flows Actor who evokes the course may log out of the system anytime. Post-conditions