Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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