public class IntListener extends java.lang.Object implements EventListener, InternalEventListener
Constructor and Description |
---|
IntListener(java.lang.String objectName,
IntListenerInfo info)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
eventAction(EventMessage em)
This method will be called from Mbo during save
|
boolean |
eventValidate(EventMessage em)
This method will be called from Mbo before validate
|
void |
postCommitEventAction(EventMessage em)
This method will be called from Mbo after commit
|
void |
postSaveInternalEventAction(EventMessage em)
This method will be called from Mbo after save, but before commit.
|
void |
preSaveEventAction(EventMessage em)
This method will be called from Mbo before save
|
void |
preSaveInternalEventAction(EventMessage em)
This method will be called from Mbo before save
|
public IntListener(java.lang.String objectName, IntListenerInfo info)
objectName
- the object namepublic boolean eventValidate(EventMessage em) throws MXException
eventValidate
in interface EventListener
em
- Event MessageMXException
- MAXIMO exceptionpublic void preSaveEventAction(EventMessage em) throws MXException
preSaveEventAction
in interface EventListener
em
- Event MessageMXException
- MAXIMO exceptionpublic void preSaveInternalEventAction(EventMessage em) throws MXException
preSaveInternalEventAction
in interface InternalEventListener
em
- Event MessageMXException
- MAXIMO exceptionpublic void eventAction(EventMessage em) throws MXException
eventAction
in interface EventListener
em
- Event MessageMXException
- MAXIMO exceptionpublic void postSaveInternalEventAction(EventMessage em) throws MXException
postSaveInternalEventAction
in interface InternalEventListener
em
- Event MessageMXException
- MAXIMO exceptionpublic void postCommitEventAction(EventMessage em) throws MXException
postCommitEventAction
in interface EventListener
em
- Event MessageMXException
- MAXIMO exception