In changing ObjectContext, I added:

    void deleteObjects(Collection<Persistent> objects) throws
DeleteDenyException;

Does it make sense to use <Persistent> here?  After all,
deleteObject() doesn't use it:

    void deleteObject(Object object) throws DeleteDenyException;

Neither do the things that return collections:

    ...
    Collection<?> deletedObjects();
    Collection<?> modifiedObjects();
    ...



Also, I noticed this added to 3.0:

    void prepareForAccess(Persistent object, String property, boolean
lazyFaulting);

Seems like that boolean would be another good place to have an enum instead?

Thanks,

mrg

Reply via email to