psdi.iface.app.im

Class MaxIM

  • All Implemented Interfaces:
    java.rmi.Remote, MaxIMRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class MaxIM
    extends Mbo
    implements MaxIMRemote
    Describes an Integration Module. An Integration Module (IM) implements one or more Logical Management Operations (LMOs). The LMOIMRLN table identifies which LMOs the IM implements. The IM contacts an Operational Management Product (OMP) to perform the LMO. The configuration information needed by the IM to communicate with an OMP instance can be configured in the OMPIMRLN table.

    Properties specific to the IM can be configured in the MAXIMPROP table.

    An IM can either be implemented as a Java class or as an Invocation Channel. If the IM is implemented as an Invocation Channel, the OMP configuration information can either be configured on the Invocation Channel or in the OMPIMRLN table. But if the IM is implemented as a Java class, a handlername can be specified on the IM. In this case an Endpoint must be specified in any OMPIMRLN table entries that refer to this IM, and the handler associated with the Endpoint must match the handler specified on the IM.

    • Constructor Detail

      • MaxIM

        public MaxIM(MboSet ms)
              throws MXException,
                     java.rmi.RemoteException
        Constructor
        Parameters:
        ms - Mbo Set to which this mbo will be added
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialize the newly created mbo
        Overrides:
        init in class Mbo
        Throws:
        MXException - Maximo Exception
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds the current mbo to the given set. Called when they click on new.
        Specified by:
        add in interface MboRemote
        Overrides:
        add 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. Programmer can override with specific rules.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        This is called whenever a change is made to the attributes of an Integration Module. This method updates the changedate, changeby attributes.
        Overrides:
        modify in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws MXException,
                                        java.rmi.RemoteException
        Over-rides the method in the super class. If the field need not be copied during copy() return true else return false. The following fields are not copied from the source Mbo to the target Mbo.
        • IMNAME
        • IMVERSION
        • CHANGEBY
        • CHANGEDATE
        Overrides:
        skipCopyField in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Specifies if this Integration Module can be deleted. It can always be deleted.
        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 this mbo is being deleted. This method deletes all the corresponding MAXIMPROP, LMOIMRLN and OMPIMRLN entries associated with this Integration Module
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - the access modifier
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
        See Also:
        Mbo.delete(long)
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        This method is called when this object is being marked for undelete. In this case all the corresponding MAXIMPROP, LMOIMRLN and OMPIMLMORLN entries are also marked for un-delete
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception