I have implemented the "isLocked" method in the following manner:
I was wondering how you guys decided to then use this method inside your bussiness logic. Did some of you just implement it and did not use it at all. Or can we use this method prior reading or finding data to enhance record locking on the client side?
Thanks for your responses.
Fred [ May 06, 2008: Message edited by: Frederic Thierry ]
posted 7 years ago
I wonder if your assignment required you to implement it? if not, then why would you want to just implement it and not use it?
I had the method isLockedBy in my Lockmanager class that was called in the updateRecord method of the Data class(as we needed to check whether the cookie supplied is the one with which the record as been locked)