Hi Ranchers!
This forum is vey helpful. Already got quite a few of my questions answered. Thanks!!
I am working on URLyBird1.2.2. Update method signature in the interface provided by Sun is like -
"
// Modifies the fields of a record. The new value for field n
// appears in data[n]. Throws SecurityException
// if the record is locked with a cookie other than lockCookie.
public void updateRecord(long recNo, String[] data, long lockCookie)
"
Every record has fields like - Status code(2), Hotel Name(64), City(64), Max Occupancy(4), Smoking(1), Price Per Night(8), Dates Available(10), Customer Holding(8) in that order.
It is not clear from the instruction whether or not I should consider the status flag as part of a record. In other word, the String[] parameter in the updateRecord method, should have a value corresponding to the status flag or not?? (Is it an array of size 7 or 8)?
From the instruction, I am guessing it should be an array of 7 without the status flag, but I am not sure.
Also, if that's true, how am I going to update the status flag? The delete method is talking about a physical delete.
Hoping someone has an answer. I am not very clever.
Thanks in advance.
Debs