wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Returning already booked rooms to client (for viewing). Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Returning already booked rooms to client (for viewing)." Watch "Returning already booked rooms to client (for viewing)." New topic
Author

Returning already booked rooms to client (for viewing).

Seid Myadiyev
Ranch Hand

Joined: Jul 02, 2002
Posts: 196
Do I need to return "booked" rooms to back to client, if they match the criteria, together with all available rooms; for user's viewing? What would be valid reasons for yes and no?
Please share your opinion!
Thank you!
Seid
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
In my spec it isn't really addressed. It says that the user should be able to return a listing of all rooms. And that's it. However, my searching mechanism was flexible enough that it was no big deal to return already booked rooms, so I presented a little checkbox for the user to check, and tada. (Just to be safe).


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Nathaniel's decision sounds reasonable. If you think of the fact that CSR's job is to register bookings, giving them a way to quicly display bookable rooms only is a big plus ! (The db could have thousands of legacy records with only a few of them in the "bookable" state).
Best,
Phil.
Seid Myadiyev
Ranch Hand

Joined: Jul 02, 2002
Posts: 196
Thank you, Nathaniel! Your reply is helpful.
Seid
Seid Myadiyev
Ranch Hand

Joined: Jul 02, 2002
Posts: 196
Thanks, Philippe and Nathaniel!
I am glad I asked because I could not decide on the way to do it.
I will allow operators to either get all records or request only available.
Thank you both for your quick replies.
Seid
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Ah no problem Seid -- now if only Prometric dished out quick replies
[ December 15, 2003: Message edited by: Nathaniel Stoddard ]
 
 
subject: Returning already booked rooms to client (for viewing).
 
Similar Threads
Booked Rooms
Do URLBird users need to look for rooms that are not booked ?
Solve Non Repeattable Read
Viewing rooms outside of 48 hour rule (Urlybird)
Need clarification on URLyBird 1.3.1 requirement