asolfre / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
0 stars 0 forks source link

Feature Request: global OnSave() function for all entities #179

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
it would be great to have an onSave() / maybe also onLoad() function that will 
be called for all entities. e.g. to do JSR303 validation or the like.

As Jeff proposed, an onSave() (and onLoad()) callback on the ObjectifyFactory 
sounds like a good solution.

link to group discussion: 
https://groups.google.com/forum/#!topic/objectify-appengine/MH_eNSnDpwM

Original issue reported on code.google.com by ds.marti...@gmail.com on 18 Oct 2013 at 7:37

GoogleCodeExporter commented 9 years ago

Original comment by lhori...@gmail.com on 19 Oct 2013 at 5:21