Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help concerning the "isLocked" method

 
Frederic Thierry
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Mary John
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)

eg
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic