javax.jdo.listener
Interface DirtyLifecycleListener
- InstanceLifecycleListener
public interface DirtyLifecycleListener
This interface is implemented by listeners to be notified of
dirty events.
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.
|
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.
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.