aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes booking clarification in URLyBird 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 "booking clarification in URLyBird" Watch "booking clarification in URLyBird" New topic
Author

booking clarification in URLyBird

Vrinda Werdel
Ranch Hand

Joined: Jan 03, 2004
Posts: 75
Hi All,

I am doing the URLyBird assignment. As part of the room booking
1.I am updting the 'Customer' field in the fb file.
2. In order to avoid rebooking of an already booked room, I make the the alerady booked record uneditable. In this case 'Customer' cell will not editable since it already has a value.
3.In all other cases where 'Customer' field has no values, I make the cell editable. (all the above steps also take in to consideration the 48 hour rule.).

Is this acceptable?

regards

Vrinda
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11481
    
  94

Hi Vrinda,

This sounds acceptable.

Does this imply that a user could book several rooms at once?

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Vrinda Werdel
Ranch Hand

Joined: Jan 03, 2004
Posts: 75
Andrew,

I hope by user you mean CSR. The CSR will be allowed to book only one room at a time. meaning only one row will be allowed to be updated from the the GUI (and all the way down to the DB layer.) I was thinking of

1. making 'Customer' the cell uneditable to prevent accidental rebookings.

2. But now I am thinking of not doing it and documenting the same by saying that the "Booking Feature(button) can be used for 'Booking', 'Unbooking' (by setting 'Customer' to blank), Rebooking (by setting the 'Customer' to a different value) a room.".

Do you think this is reasonable?

regards

Vrinda
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11481
    
  94

Hi Vrinda,

Others have passed using similar strategies, so it should be ok.

I think you need to explain clearly in your design decisions document why you are allowing unbookings / rebookings, especially since these are mentioned in the Sun instructions.

Good luck in finding the word to put on your button - perhaps "Save" or "Update"? "Book" doesnt really make sense, as you are allowing far more than just bookings.

Regards, Andrew
Vrinda Werdel
Ranch Hand

Joined: Jan 03, 2004
Posts: 75
Thanks Andrew. I will need come up with some other name as you rightly pointed out.

regards

Vrinda
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: booking clarification in URLyBird