D_UC7 - luist18/feup-aeda-proj GitHub Wiki
Use Case 7: View offers
Rational
Main flow | Question: what class ... | Answer | Justification |
---|---|---|---|
1. The unregistered user opens the web portal. | ...interacts with the user? | ViewOffersPageUI | Pure Fabrication. |
...coordinates the use case? | ViewOffersPageController | Controller. | |
2. The system selects a set of offers and shows them to the unregistered user. | ...knows all the offers of the company? | OfferManager | Information Expert: the offer manager contains all the offers. |
Switching page
Main flow | Question: what class ... | Answer | Justification |
---|---|---|---|
3. The unregistered user selects a page (previous or next). | |||
4. A set of the offers from that page are shown to the unregistered user. | ...knows all the offers of the company? | OfferManager | Information Expert: the offer manager contains all the offers. |
...is responsible for managing the page? | ViewOffersPageController | Controller. |
Systematization
From the rational results that the conceptual classes promoted to software classes are:
None.
Other identified software classes (e.g. Pure Fabrication):
- ViewOffersPageUI
- ViewOffersPageController
- OfferManager