public class POStatusChangeListener extends java.lang.Object implements EventListener
| Modifier and Type | Method and Description |
|---|---|
static void |
destroy()
Unregister this listener.
|
void |
eventAction(EventMessage em)
After the parent PO is written to the database, this method creates a work order
|
boolean |
eventValidate(EventMessage em) |
static POStatusChangeListener |
init()
Returns the listener object.
|
void |
postCommitEventAction(EventMessage em) |
void |
preSaveEventAction(EventMessage em) |
public static POStatusChangeListener init() throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic 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 EventListenerMXExceptionpublic static void destroy()