-
May 5th, 2011, 08:57 AM
#1
Override @RooEntity for all entities
Hi everybdy,
How can I override functionality of @RooEntity for all my entities? I have to change delete so that instead of removing from database just make the entity inactive, and consequently I have to change "findMyEntity", "findAllMyentites" and "countAllMyEntites".
I was thinking about having an abstract super class and define methods there, but unfortunately method names are like: "findMyEntity" so they are entity name specific. Any suggestion how to override @RooEntity in one place and not in each entity?
Many Thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules