Package com.aquima.interactions.profile
Interface IInstanceListener
- All Superinterfaces:
IEventListener
,Serializable
- All Known Subinterfaces:
CaseDataChangeListener
- All Known Implementing Classes:
CaseDataChangeToMapListener
,CaseDataListener
,TmsProfileEventListener
,TxEventListener
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
FieldsModifier and TypeFieldDescriptionstatic final int
The mask of the event that is supported by this listener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCreateInstance
(IInstanceEvent instanceEvent) This method invoked just after creation of the new instance.void
onDeleteInstance
(IInstanceEvent instanceEvent) 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 TYPEThe mask of the event that is supported by this listener.- See Also:
-
-
Method Details
-
onCreateInstance
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
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.
-