This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New approch for criteriaFind

Ramesh kumaar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic