aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes question on B&S Gui Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "question on B&S Gui" Watch "question on B&S Gui" New topic
Author

question on B&S Gui

Mary John
Ranch Hand

Joined: Sep 17, 2007
Posts: 109
Hi all,

I am trying to understand the requirements of my assignment....still everything is so foggy to me.....I am trying hard to decode what the instructions are all about.Please help...

The interface says that we need a createRecord method? and deleteRecord method. But the requirements of the GUI user interface doesnt allow the user to do create or delete anything,....then what is the actual purpose of implementing these methods?

also gui just asks for implementing search all, search by criteria, and book a record with update appropiately. (So I can find that only read, lock, update, unlock, find methods are sufficient). Am I missing something...? Please help.

Thanks
Mary


SCJP 5.0<br />SCJD working on it
Mike Ottinger
Ranch Hand

Joined: Jan 11, 2002
Posts: 125
Hi Mary,

You'll have to implement all of the methods defined in your provided interface regardless of whether your GUI will actually use them. The methods you listed in your last paragraph are the ones (at least in my project) that I used in my GUI, but it doesn't mean createRecord and deleteRecord shouldn't be implemented at least in the class implementing your interface. It's up to you if you want to implement them any further in any facade classes you might define.

Hope this helps


SCJP 1.4 SCJD 1.5
Mary John
Ranch Hand

Joined: Sep 17, 2007
Posts: 109
Thanks Mike...

so that cleared out my doubts on it.....

thank you
fei lin
Ranch Hand

Joined: Nov 25, 2007
Posts: 39
Hi Mike, which field you update in your gui?

Thanks
Mike Ottinger
Ranch Hand

Joined: Jan 11, 2002
Posts: 125
Hi Fei,

I was updating the owner field. The B&S app is supposed to allow customer reps to make reservations for a particular contractor. Each contractor record holds an owner field to hold the customer rep number.
Aaron John
Ranch Hand

Joined: May 30, 2005
Posts: 74
Originally posted by Mike Ottinger:
Hi Fei,

I was updating the owner field. The B&S app is supposed to allow customer reps to make reservations for a particular contractor. Each contractor record holds an owner field to hold the customer rep number.


Don't you mean customer ID instead of customer rep number? Customer calls the customer rep, and the customer rep records the customer ID of the customer for a given record, indicating that the customer is holding the record. Do you have some textfield on your GUI allowing entry of customer ID before booking the record?
Alex Belisle Turcot
Ranch Hand

Joined: Apr 26, 2005
Posts: 516
Originally posted by Aaron John:


Don't you mean customer ID instead of customer rep number? Customer calls the customer rep, and the customer rep records the customer ID of the customer for a given record, indicating that the customer is holding the record. Do you have some textfield on your GUI allowing entry of customer ID before booking the record?


Hi,

I interpreted it as being ID both from customers and CSR.. I just used "Customer ID" to identify it..

The id value (an 8 digit number) of the customer who has booked this. Note that for this application, you should assume that customers and CSRs know their customer ids. The system you are writing does not interact with these numbers, rather it simply records them. If this field is all blanks, the record is available for sale.


... provides this service over the phone using a team of customer service representatives (CSRs)


And I used a text field to let the user enter his ID (must be 8 digits).

Regards,
Alex
[ February 08, 2008: Message edited by: Alex Belisle Turcot ]
Mike Ottinger
Ranch Hand

Joined: Jan 11, 2002
Posts: 125
I think it's an issue of semantics, between customer rep number, versus customer id. I don't remember the instructions being too clear on the distinction. Regardless of which one you go with, it shouldn't affect your markings. I just happened to interpret it as customer rep number, but I can see how it would be the customer id.
 
Don't get me started about those stupid light bulbs.
 
subject: question on B&S Gui
 
Similar Threads
UrlyBird (Search in Gui)
Urly bird find method: are search criteria "and"- or "or"-composed?
About Urly Bird 1.2.0
[B&S] Search GUI
Query regarding update functionality in UI