public class WOStatusChangeListener extends java.lang.Object implements EventListener
| Modifier and Type | Method and Description |
|---|---|
static void |
destroy()
Unregister this listener.
|
void |
eventAction(EventMessage em)
This method will complete the work orders parent work order(s) or start successor workorders
after the parent work order is written to the database but before the changes are committed.
|
boolean |
eventValidate(EventMessage em) |
static WOStatusChangeListener |
init()
Returns the listener object.
|
void |
postCommitEventAction(EventMessage em)
After the parent work order is written to the database this method will run
the action on the work order if the work order is flow controlled and there is a
flowaction defined and flow action assist is not true.
|
void |
preSaveEventAction(EventMessage em) |
public static WOStatusChangeListener 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()