File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Help concerning the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Help concerning the "isLocked" method" Watch "Help concerning the "isLocked" method" New topic

Help concerning the "isLocked" method

Frederic Thierry

Joined: Apr 16, 2006
Posts: 22
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.

[ May 06, 2008: Message edited by: Frederic Thierry ]
Mary John
Ranch Hand

Joined: Sep 17, 2007
Posts: 109
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)


SCJP 5.0<br />SCJD working on it
I agree. Here's the link:
subject: Help concerning the "isLocked" method
It's not a secret anymore!