wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes rebooking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "rebooking" Watch "rebooking" New topic
Author

rebooking

Petr Hejl
Ranch Hand

Joined: Feb 26, 2006
Posts: 68
Hi ranchers,
I would like to ask you how you are dealing with booking.
When the record is already booked do you allow rebooking or not?
Do you have special method for "unbook"?

Thanks P.
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Hi Petr,

I have both:
1.a release - just release a booked record, afer this the record has no owner(with the user confirmation ? or not I still think on)
2.a book over - with the user confirmation.

Regards M.


SCJP, SCJD, SCWCD, OCPJBCD
Daniel Massie
Greenhorn

Joined: Jan 08, 2005
Posts: 28
My view was that it was outwith the scope of the project. This functionality was not specified in my assignment thus isn't required.
Petr Hejl
Ranch Hand

Joined: Feb 26, 2006
Posts: 68
May be it is out of scope to unbook. But you have to deal at least with situation when booking the booked record. Is it allowed or not?
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Hi,

I must agree that the "rebook"(nike or adidas) are not explicit specified in my docs, but I think this was with purpose.

I include this "adds" in my project because during test I notice that this kind of functionality can be useful and increase the UI usability. You can image a lot of useful situation for rebook and release record.

Regards M
[ August 09, 2006: Message edited by: Mihai Radulescu ]
Daniel Massie
Greenhorn

Joined: Jan 08, 2005
Posts: 28
Originally posted by Petr Hejl:
May be it is out of scope to unbook. But you have to deal at least with situation when booking the booked record. Is it allowed or not?


No, I stated as an assumption that once a booking was made, it obviously couldn't be double booked. I handle this in exactly the same manner as I handle the 48h rule in URLyBird.
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Hi Daniel,


No, I stated as an assumption that once a booking was made, it obviously couldn't be double booked.


The CRS can make mistakes and the user also, is your task (like designer) to assure that the errors are signaled and to provide a way to correct it.

Regards M.
Daniel Massie
Greenhorn

Joined: Jan 08, 2005
Posts: 28
Originally posted by Mihai Radulescu:
The CRS can make mistakes and the user also, is your task (like designer) to assure that the errors are signaled and to provide a way to correct it.


I said that I handled this in the same way as the 48h rule, which means that there is no way for it to be double booked. So there is no error to be signalled, and no need to correct anything.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: rebooking
 
Similar Threads
booking clarification in URLyBird
two questions: properties file and booked room
SCEA Voucher Expiry
General consensus regarding booking and re-booking same record
URLyBird - Data file spec