• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what to display on the GUI? All entries/in 48 hours

 
Dora Gal
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi lads,

Could sy tell me what rooms to display on the GUI? Only the ones for today and tomorrow? Or to display every room in the database and disable the ones out of the given interval?

Spec says about the GUI:
"It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user. "

An other restriction:
"They take bookings only within 48 hours of the start of room occupancy."

From a technical point of view it would be more sensible (network load) to get the rooms only for the given interval from the RMI server instead of transferring the total database:
The interface of my server contains the following method signature :


On the other hand if I implement it this way (displaying the available rooms only) - only one or two database entries (if any) will be shown on the GUI, depending on the system time on the desktop.

Which way is preferable?

Thanks a lot in advance:
Dora
[ July 27, 2004: Message edited by: Dora Gal ]
 
mike acre
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spec says about the GUI:
"It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user. "


So you MUST give the query gui the ability to do just that, with no consideration of 48hr rule


An other restriction:
"They take bookings only within 48 hours of the start of room occupancy."


This is a different requirement. Concerning the process of booking.
You must somehow prevent the modification of records that fall outside the 48hr - or 2 days as most seem to have interpreted it.
Personally I'm currently going with isEditable() for customer cells according to 48hr rule.
 
Johnny Hunter
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was thinking about adding a field on the output listing to show a check box if editable. It's not a requirement because finding is separate from booking. But it seems to me that I should do that anyway because that seems more useful to have a column that states if the room is bookable or not rather than having the user do Math with the current date for each line by hand. Any thoughts?
 
Dora Gal
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!

I think I will put a radiobutton group on the GUI: only for today and tomorrow /all rooms.

(I still think that it is a bad design to fetch the whole database and keep it in the memory)

If the user selects all rooms I will disable the rooms out of the interval and having an owner.

Thanks again,
d
Dora
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic