public class PreSaveEventComputerSystem extends java.lang.Object implements EventListener
Event Listener class for preSaveEvent. When this event occurs, we traverse the table list and remove the table DPAMMANUVARIANT from the list if it exists. This is because, we are using a view and the table DPAMMANUVARIANT is used in the view definition. When a delete is called on the view, rows from DPAMMANUVARIANT are also deleted which is an undesired behavior. The view definition uses the DPAMMANUVARIANT table to display the variants.
| Constructor and Description |
|---|
PreSaveEventComputerSystem()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
eventAction(EventMessage em) |
boolean |
eventValidate(EventMessage em) |
void |
postCommitEventAction(EventMessage em) |
void |
preSaveEventAction(EventMessage em) |
public boolean eventValidate(EventMessage em) throws MXException
eventValidate in interface EventListenerMXExceptionpublic void preSaveEventAction(EventMessage em) throws MXException
preSaveEventAction in interface EventListenerMXExceptionpublic void eventAction(EventMessage em) throws MXException
eventAction in interface EventListenerMXExceptionpublic void postCommitEventAction(EventMessage em) throws MXException
postCommitEventAction in interface EventListenerMXException