UseCase04 - Saves a Listing
Initiating actor: Client
Description
A client browses listings and can save a listing into their favourites for quick access later. When the client clicks “Save” on a listing, the system verifies the client is logged in, verifies the listing exists, then stores the favourite record. The client can later view or remove saved listings.
Scenario
- Client clicks a listing from the lisiting page.
select l1_0.listing_id, l1_0.owner_id, l1_0.animal_id, l1_0.description, l1_0.price,l1_0.status, l1_0.created_at from favorite_listings fl1_0 join listings l1_0 on l1_0.listing_id=fl1_0.listing_id where fl1_0.client_id=? order by l1_0.created_at desc
- Client clicks "Save Listing" or the heart.
insert into favorite_listings (client_id,listing_id) values (?,?)
- The system saves the listing to favorites to the client.
Last modified
2 hours ago
Last modified on 02/08/26 13:31:48
Attachments (5)
- save.png (188.2 KB ) - added by 2 hours ago.
- save2.png (182.7 KB ) - added by 2 hours ago.
- save3.png (128.6 KB ) - added by 2 hours ago.
- save4.png (104.7 KB ) - added by 2 hours ago.
- save5.png (126.9 KB ) - added by 2 hours ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.





