com.ibm.tivoli.maximo.notification.app

Class OSEventCondition

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.tivoli.maximo.notification.app.OSEventCondition
    • Constructor Detail

      • OSEventCondition

        public OSEventCondition(MboSet ms)
                         throws MXException,
                                java.rmi.RemoteException
        Constructor
        Parameters:
        ms - The OslcErrorMap MboSet.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Called when the mbo is saved to the database. Remove all Mbo's from the set which are nor selected.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: Mbo
        This called whenever a change is made to the attributes of a MBO. The programmer should override if interested in intercepting this event. An example of the use of this is to set the changeby/changedate of a work order whenever one of the attributes is set. If an MXException is thrown from this routine, the change of value is rolled back, this provides a mechanism to abort any changes. Default behavior is to do nothing. The derived method has to call super.modify().
        Overrides:
        modify in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException