• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Change Itinerary

 
Ashish Sarin
author
Ranch Hand
Posts: 444
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the change itinerary the assignment mentions about deleting the segment. Is this deletion of segment needs to be a physical delete, in which case the segment is deleted from the database or we can assume that the delete will take effect only after the customer selects a new segment and adds it to the existing itinerary ?

thanks
Ashish
 
Ashish Sarin
author
Ranch Hand
Posts: 444
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To add to the question above, I am thinking of keeping the deleted segment information in the shopping cart. If I keep the deleted segment information in the shopping cart then at payment time I will physically delete these segments from the database. This would require that I have two sequence diagrams: 1 sequence diagram to show a new itinerary being saved and 1 sequence diagram to show a changed itinerary being saved.
 
justin pra
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ashish,

I am also thinking delete segment in change itinerary means segment needs to be deleted from itinerary stored in session as the usecase says that flow will go to prepare itinerary usecase from here.
At the time of confirmation,i think this delete segment info can be got and deleted.
I have assumed that on confirmation of itinerary,the itinerary is going to be created/updated in DB.

KIndly let me know if this approach is logical at the earliest.

Thanks ,
Justin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic