javax.jdo.listener

## Interface DeleteCallback

- All Known Subinterfaces:
    InstanceCallbacks

      public interface DeleteCallback

  This interface is used to notify instances of delete events.
  Since:
    2.0
  Version:
    2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `jdoPreDelete()` Called before the instance is deleted.

- - ### Method Detail

    - #### jdoPreDelete

          void jdoPreDelete()

      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.

Copyright © 2005–1970 Apache Software Foundation. All rights reserved.