File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "New approch for criteriaFind" Watch "New approch for criteriaFind" New topic
Author

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.

-rameshkumar
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: New approch for criteriaFind
 
Similar Threads
Overall architecture for the FBN Project, a question ...
missing criteriaFind method
criteriaFind method
no criteriaFind(String) method in my Data class
criteriaFind