public class TenantRegListener extends java.lang.Object implements EventListener
Modifier and Type | Method and Description |
---|---|
static void |
destroy()
Unregister this listener.
|
void |
eventAction(EventMessage em)
After the asset is written to the database, but before they are committed, this method updates the ancestor records.
|
boolean |
eventValidate(EventMessage em) |
static TenantRegListener |
init()
Returns the listener object.
|
void |
postCommitEventAction(EventMessage em)
After the parent work order is written to the database, this method updates the WOAncestor records.
|
void |
preSaveEventAction(EventMessage em) |
public static TenantRegListener init() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean eventValidate(EventMessage em) throws MXException
eventValidate
in interface EventListener
MXException
public void preSaveEventAction(EventMessage em) throws MXException
preSaveEventAction
in interface EventListener
MXException
public void eventAction(EventMessage em) throws MXException
eventAction
in interface EventListener
MXException
public void postCommitEventAction(EventMessage em) throws MXException
postCommitEventAction
in interface EventListener
MXException
public static void destroy()