Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do URLBird users need to look for rooms that are not booked ?

 
Mxolisi Veco
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every one.

I think that it will make life easier if URLBird users could search for rooms that are not booked, but my spec says that the system does not interact with the client ID.
can some advise me ?
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Mxolisi!

Champion, you can make your life easier and not distinguish if the room is either booked or not. When performing the search, just retrieve all records that match the search performed by the user, no matter if they are booked or not.

The client ID is the customer ID. When booking a room, this ID will be added to the customer field of a record. So, to book a room, you'll just have to update a record with this number. Since your application will not interact with these numbers, then you may assume that any 8-digit number provided in your GUI when booking a room is a valid number.
 
Mxolisi Veco
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Roberto
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic