- All Implemented Interfaces:
- Serializable
public class ERXDefaultEditingContextDelegate
extends ERXEditingContextDelegate
Default editing context delegate. This delegate
augments the regular transaction process by adding
the calling of willInsert, willUpdate or willDelete
on enterprise objects that are of type ERXEnterpriseObject
after saveChanges is called on the editing context, but
before validateForSave is called on the object. These
methods can give the object a last chance to modify itself
before validation occurs. The second enhancement is a built
in flushing of caches on subclasses of ERXEnterpriseObject
when objects have changes merged in or are invalidated.
Being able to maintain caches on enterprise objects that
are flushed when the underlying values change can be very
handy.
- See Also:
- Serialized Form