javax.jdo.listener.DeleteLifecycleListener - JDO interface
javax.jdo.listener
Interface DeleteLifecycleListener
- Superinterfaces:
- InstanceLifecycleListener
This interface is implemented by listeners to be notified of delete events.
- Since:
- JDO 2.0
void postDelete( InstanceLifecycleEvent event)
Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent.
This method is called after the instance transitions to persistent-deleted. Access to field values is not permitted.
- Parameters:
-
event
- the delete event.
- Since:
- JDO 2.0
void preDelete( InstanceLifecycleEvent event)
Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent. Access to field values within this call are permitted.
This method is called before the instance callback DeleteCallback.jdoPreDelete.
- Parameters:
-
event
- the delete event.
- Since:
- JDO 2.0