Home » JDO » Listeners » DeleteLifecycleListener » preDelete(event) - JDO DeleteLifecycleListener's method

preDelete(event) - JDO DeleteLifecycleListener's method

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

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.