psdi.iface.app.omp

Class Omp

    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialize the newly created mbo DISPLAYNAME should be populated from DISPLAYLABEL. If DISPLAYLABEL is empty, populate from NAME.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds the Mbo to the set.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        Called when Mbo attribute changes and updates the Mbo attributes
        Overrides:
        modify in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Called when Mbo is being deleting and specifies mbo can be deleted. If any corresponding OMPCIRLN records exists, throws Exception.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Called when mbo is being deleted, and deletes the corresponding OMPIMRLN records.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - The bitwise flag specified to determine if certain normal security checks are to be bypassed for this delete request. For example: if the accessModifer is NOACCESSCHECK, then the check for the object's NODELETE flag and the call to the object's canDelete() method will not be performed. If the accessModifer is NONE, then all the access checks are performed before this object is marked delete.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
        See Also:
        Mbo.delete(long)
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        Called when Mbo is marked for undelete, also marks the corresponding OMPIMRLN records to undelete
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Pre-save validation method. Generate OMPGUID depending on the i/p parameters. If NAME is not NULL, check whether already existing, if so throw Exception If NAME is NULL - PRODUCTNAME, MANUFACTURER, HOSTNAME should not be NULL. - PRODUCTNAME, MANUFACTURER, HOSTNAME combination should be Unique. - Construct NAME according to NAMING rule.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException