Is it possible to get the modified nodes list before calling session's save method? I want to know what nodes were modified or added, and right now I use a very inefficient way for this:
Looping through the 'content' path and calling these methods for each node:
node.isModified()
node.isNew()
It looks very bad solution, but I didn't find any better one for the problem.
Thanks for your help in advance!