Hi!
I'm currently using a listener attached the cdoView of my object that updates some objects when the cdoState of my object changes. I receive CDOViewInvalidationEvents for when a passive update makes my object conflicted and CDOTransactionFinishedEvents for when the object is clean after a successful commit. Is there an event I can use to determine that it has become dirty?
Thank you in advance!
Edit: Found a better solution by using this:
cdoView.addObjectHandler(new CDOObjectHandler() {
@Override
public void objectStateChanged(CDOView view, CDOObject object,
CDOState oldState, CDOState newState) {
System.out.println("Object: " + object.toString()
+ " transitioned to " + newState);
}
});
[Updated on: Thu, 07 February 2013 16:08]
Report message to a moderator