Interface IInstanceListener

All Superinterfaces:
IEventListener, Serializable
All Known Subinterfaces:
CaseDataChangeListener
All Known Implementing Classes:
CaseDataChangeToMapListener, CaseDataListener, TmsProfileEventListener, TxEventListener

public interface IInstanceListener extends IEventListener
This interface defines the methods that a listener for instance events should implement.
Since:
5.0
Author:
O. Kerpershoek, F. van der Meer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The mask of the event that is supported by this listener.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method invoked just after creation of the new instance.
    void
    This method is invoked just before deletion of the instance.

    Methods inherited from interface com.aquima.interactions.foundation.events.IEventListener

    getType
  • Field Details

    • TYPE

      static final int TYPE
      The mask of the event that is supported by this listener.
      See Also:
  • Method Details

    • onCreateInstance

      void onCreateInstance(IInstanceEvent instanceEvent)
      This method invoked just after creation of the new instance. The event object contains the IEntityInstance that was just created in the profile.
      Parameters:
      instanceEvent - Event object containing information about the object that triggered the event.
    • onDeleteInstance

      void onDeleteInstance(IInstanceEvent instanceEvent)
      This method is invoked just before deletion of the instance. The IEntityInstance is the instance that is being deleted
      Parameters:
      instanceEvent - Event object containing information about the object that triggered the event.