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 New approch for criteriaFind 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 "New approch for criteriaFind" Watch "New approch for criteriaFind" New topic

New approch for criteriaFind

Ramesh kumaar
Ranch Hand

Joined: Mar 19, 2002
Posts: 146
Dear All,

By default Data class does'nt have the criteriaFind(), Where as lock() and unlock() is part of it. So I have a LockMgr by extending Data class.
Incase of my CriteriaSearch class its a helper class which will not extend Data class but gets the referance of Data class via DataServer class which has a instantiate the Data class and implement serach algorithm.
There wont be any criteriaFind() method in Data class, not even a empty method as lock() and unlock(). Is this a right way to do, comments please. Here i have included the criteriaFind() in the DataInterface also.

I agree. Here's the link:
subject: New approch for criteriaFind
It's not a secret anymore!