aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Do URLBird users need to look for rooms that are not booked ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Do URLBird users need to look for rooms that are not booked ?" Watch "Do URLBird users need to look for rooms that are not booked ?" New topic
Author

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

Mxolisi Veco
Ranch Hand

Joined: Jan 14, 2010
Posts: 59
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

Joined: Dec 28, 2007
Posts: 2266
    
    3

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.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Mxolisi Veco
Ranch Hand

Joined: Jan 14, 2010
Posts: 59
Thanks Roberto
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do URLBird users need to look for rooms that are not booked ?