javax.jdo.listener

Interface DirtyLifecycleListener

All Superinterfaces:
InstanceLifecycleListener

public interface DirtyLifecycleListener
extends InstanceLifecycleListener

This interface is implemented by listeners to be notified of dirty events.
Version:
2.0
Since:
2.0

Method Summary

void
postDirty(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field.
void
preDirty(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field.

Method Details

postDirty

public void postDirty(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called after the value is changed.
Since:
2.0

preDirty

public void preDirty(InstanceLifecycleEvent event)
Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called before the value is changed.
Since:
2.0