RE_UC9 - luist18/feup-aeda-proj GitHub Wiki
Use case 9: Manage Preferences
Description
A renter has preferences. In order to have them, it should be able to add or remove any at any given time. Hence, managing preference
Actors
Primary actor
- Renter
Stakeholders
- Renter
Pre-conditions
The user is logged as a renter.
Sucess guarantees
The renter successfully managed their preferences.
Steps
- The renter requests to manage their preferences.
- The system asks if the renter wants to add or remove a preference.
- The renter chooses to add a preference.
- The system asks the type of vehicle.
- The renter chooses passenger vehicle.
- The system requests the minimum manufacturing year and desired number of seats.
- The renter inserts the requested data.
- The system informs about the success of the operation.
Variations
The renter wishes to cancel the use case.
The use case is aborted.
3a. The renter chooses to remove a preference.
- The system shows all its preferences.
- The renter removes the preference.
- The system informs about the success of the operation (step 8.).
3b. The input is invalid.
The system asks if the renter wants to add or remove a preference (step 2.).
5a. The renter chooses commercial vehicle.
- The system requests the mininum year, minimum cargo volume, minimum maximum weight and if it is refrigerated.
- The rentes inserts the requested data.
- The system informs about the success of the operation (step 8.).
5b. The input is invalid.
The system asks the type of vehicle (step 4.).
7 . The input is invalid.
The system requests the data once again (step 6.).
Issues
- n/a