javax.jdo.listener
Interface DeleteLifecycleListener

All Superinterfaces:
InstanceLifecycleListener

public interface DeleteLifecycleListener
extends InstanceLifecycleListener

This interface is implemented by listeners to be notified of delete events.

Since:
2.0
Version:
2.0

Method Summary
 void postDelete(InstanceLifecycleEvent event)
          Invoked whenever a persistent instance is deleted, for example during PersistenceManager.deletePersistent(java.lang.Object).
 void preDelete(InstanceLifecycleEvent event)
          Invoked whenever a persistent instance is deleted, for example during PersistenceManager.deletePersistent(java.lang.Object).
 

Method Detail

preDelete

void preDelete(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is deleted, for example during PersistenceManager.deletePersistent(java.lang.Object). 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:
2.0

postDelete

void postDelete(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is deleted, for example during PersistenceManager.deletePersistent(java.lang.Object).

This method is called after the instance transitions to persistent-deleted. Access to field values is not permitted.

Parameters:
event - the delete event.
Since:
2.0


Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Apache JDO2 API 2.0 Reference (DEPRECATED)
12c Release 1 (12.1.1)
Part Number E24397_01