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

## org.apache.openjpa.event
Interface UpdateListener

All Known Implementing Classes:
  PersistenceListenerAdapter

    public interface UpdateListener

Since:
  1.1.0

Method Summary
`void` | `afterUpdatePerformed(LifecycleEvent event)` Receives notifications before an update is performed.
`void` | `beforeUpdate(LifecycleEvent event)` Receives notifications before an update is performed.

Method Detail

### beforeUpdate

    void beforeUpdate(LifecycleEvent event)

  Receives notifications before an update is performed. Differs from `StoreListener.beforeStore(org.apache.openjpa.event.LifecycleEvent)` in that the latter is called for updated and new records, whereas this is only invoked for updated records.

### afterUpdatePerformed

    void afterUpdatePerformed(LifecycleEvent event)

  Receives notifications before an update is performed. Differs from `StoreListener.afterStore(org.apache.openjpa.event.LifecycleEvent)` in that the latter is called for updated and new records, whereas this is only invoked for updated records, and that this is called after the record is actually flushed to the store.

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 © 2006-2013 Apache Software Foundation. All Rights Reserved.