EASP API 7.7.0

net.juniper.smgt.ent.im
Interface PersistentChangeListener


public interface PersistentChangeListener

This interface must be implemented by objects that are interested in receiving notifications of changes to Persistent objects.

See Also:
Persistent

Method Summary
 void postAttributeChange(Persistent changed, String attName, Object[] oldVal, Object[] newVal)
          This event is fired after an attribute is changed in the Persistent object for which this PersistentChangeListener is a registered listener.
 void postChildrenChange(Persistent changed)
          This event is fired after the set of children is changed for the Persistent object for which this PersistentChangeListener is a registered listener.
 void preAttributeChange(Persistent changing, String attName, Object[] oldVal, Object[] newVal)
          This event is fired before an attribute is changed in the Persistent object for which this PersistentChangeListener is a registered listener.
 void preChildrenChange(Persistent changing)
          This event is fired before the set of children is changed for the Persistent object for which this PersistentChangeListener is a registered listener.
 void preDelete(Persistent changing)
          This event is fired before an object is deleted.
 

Method Detail

preAttributeChange

void preAttributeChange(Persistent changing,
                        String attName,
                        Object[] oldVal,
                        Object[] newVal)
This event is fired before an attribute is changed in the Persistent object for which this PersistentChangeListener is a registered listener.

Parameters:
changing - The Persistent object that is about to change.
attName - The name of the attribute that is about to change.
oldVal - The old values of the attribute.
newVal - The new values of the attribute.

postAttributeChange

void postAttributeChange(Persistent changed,
                         String attName,
                         Object[] oldVal,
                         Object[] newVal)
This event is fired after an attribute is changed in the Persistent object for which this PersistentChangeListener is a registered listener.

Parameters:
changed - The Persistent object that has changed.
attName - The name of the attribute that has changed.
oldVal - The old values of the attribute.
newVal - The new values of the attribute.

preChildrenChange

void preChildrenChange(Persistent changing)
This event is fired before the set of children is changed for the Persistent object for which this PersistentChangeListener is a registered listener. This event does not differentiate based on the type of the children. For example, the event is fired for a Subscriber if either its child Subscriptions or child Subscribers are about to change.

Parameters:
changing - The Persistent object whose children are about to change.

postChildrenChange

void postChildrenChange(Persistent changed)
This event is fired after the set of children is changed for the Persistent object for which this PersistentChangeListener is a registered listener. This event does not differentiate based on the type of the children. For example, the event is fired for a Subscriber if either its child Subscriptions or child Subscribers are about to change.

Parameters:
changed - The Persistent the object whose children have changed.

preDelete

void preDelete(Persistent changing)
This event is fired before an object is deleted.

Parameters:
changing - The Persistent the object that is about to be deleted.

EASP API 7.7.0