ObjectDB ObjectDB

javax.jdo.listener.DeleteCallback - JDO interface

javax.jdo.listener
Interface DeleteCallback

Subinterfaces:
InstanceCallbacks
This interface is used to notify instances of delete events.
Since:
JDO 2.0
void jdoPreDelete()
Called before the instance is deleted.
Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values after this call are disallowed.

This method is modified by the enhancer so that fields referenced can be used in the business logic of the method.

Since:
JDO 2.0