Administrator Workflow¶
Administrator Experience
System-wide control over user lifecycle, course governance, and reporting.
The administrator workflow defines all actions available to an administrator after successfully logging into the School Enrollment System.
Administrators have the highest level of access and can manage users, courses, and system-wide academic data.
Overview¶
After authentication, the system displays the administrator menu.
Administrators may perform the following operations:
- Add a student
- Remove a student
- View student list
- Add an instructor
- Remove an instructor
- View instructor list
- Add a course
- Close a course
- Update student information
- Update instructor information
- Assign instructor to a course
- View enrollment statistics
- Generate reports
- Logout
Each option is handled through the Helpers class and the Administrator class.
1. Add a student¶
Administrators can create new student accounts.
Workflow:
- Enter student name
- System generates a random 10‑digit ID
- Enter and validate:
- Password
- Phone number
- Address
- Enter credit limit
- Student is added to the system
Validation ensures all fields meet system requirements.
2. Remove a student¶
Administrators can remove a student by ID.
Workflow:
- Enter student ID
- System searches the student list
- If found, the student is removed
- If not found, a message is displayed
Removal uses an iterator to avoid errors during list modification.
3. View student list¶
Displays all students currently registered in the system.
Each student is printed using their toString() method.
4. Add an instructor¶
Similar to adding a student, but without credit limits.
Workflow:
- Enter instructor name
- System generates a random ID
- Enter and validate:
- Password
- Phone number
- Address
- Instructor is added to the system
5. Remove an instructor¶
Administrators can remove an instructor by ID.
Workflow mirrors student removal.
6. View instructor list¶
Displays all instructors currently registered in the system.
7. Add a course¶
Administrators can create new courses.
Workflow:
- Enter course name
- Enter course code
- Enter schedule
- Enter description
- Enter capacity
- Enter credit hours
- Optionally assign an instructor
- Set enrollment status (open or closed)
- Course is added to the system
Validation ensures all fields are valid.
8. Close a course¶
Administrators can close a course for enrollment.
A course may be closed if:
- It exists
- It is open
- It is full or intentionally closed
The system prints appropriate feedback.
9. Update student information¶
Administrators can update:
- Name
- Password
- Phone number
- Address
- Role
- Credit limit
Workflow:
- Enter student ID
- If found, update fields using validation
- Save changes
10. Update instructor information¶
Similar to updating student information, but without credit limits.
11. Assign instructor to a course¶
Workflow:
- Enter course code
- Enter instructor ID
- System verifies:
- Course exists
- Instructor exists
- Course does not already have an instructor
- Instructor is assigned
This ensures proper teaching assignments.
12. View enrollment statistics¶
Displays:
- Total number of enrolled students across all courses
- Whether open courses exist
- Basic enrollment distribution
This provides administrators with a quick overview of system activity.
13. Generate reports¶
Identifies:
- The most popular course (highest enrollment)
Useful for academic planning and analysis.
14. Logout¶
Ends the administrator session and returns to the main role selection menu.
Summary¶
The administrator workflow provides full control over the School Enrollment System.
Administrators manage users, courses, assignments, and system-wide academic data, ensuring that the system remains organized, functional, and up to date.
This workflow represents the highest level of access and responsibility within the system.