| | 1 | =UseCase1001 – Add University |
| | 2 | |
| | 3 | **Initiating actor:** Administrator |
| | 4 | |
| | 5 | **Other actors:** None |
| | 6 | |
| | 7 | **Description:** |
| | 8 | Administrator adds a new university into the system so that faculties and professors can later be connected to it. |
| | 9 | |
| | 10 | **Scenario:** |
| | 11 | |
| | 12 | 1. Administrator selects option “Add University” |
| | 13 | |
| | 14 | 2. System shows a form with fields: |
| | 15 | |
| | 16 | - Name |
| | 17 | |
| | 18 | - Location |
| | 19 | |
| | 20 | - isprivate |
| | 21 | |
| | 22 | 3. Administrator enters data and submits. |
| | 23 | |
| | 24 | 4. System inserts the university into the database: |
| | 25 | {{{ |
| | 26 | INSERT INTO University(Name, Location, IsPrivate) |
| | 27 | VALUES (:name, :location, :isprivate); |
| | 28 | }}} |
| | 29 | |
| | 30 | 5. System confirms that the university was successfully created. |