psdi.iface.app.im

Class LmoImRel

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


    public class LmoImRel
    extends Mbo
    implements LmoImRelRemote
    Defines a relationship between a Logical Management Operation (LMO) and an Integration Module. A Logical Management Operation defines the inputs, outputs and invocation pattern of a function that can be called by a Management Process. An LMO is implemented by an Integration Module (IM). This relationship is maintained in the LMOIMRLN table and encapsulated by the LmoImRel Mbo. An IM typically calls 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.
    • Field Detail

      • INTEGRATIONLOGGER

        public static final MXLogger INTEGRATIONLOGGER
        Integration logger for logging messages related to MAXIMO startup.
    • Constructor Detail

      • LmoImRel

        public LmoImRel(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
        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
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Description copied from class: Mbo
        Can the object be deleted ? This is object specific and should be overridden.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: Mbo
        Mark the object to be deleted depending on the access modifier. This will usually be overridden in the subclass of Mbo as there may be application specific rules as to if and when an object can be deleted. Object is not actually deleted in the database until save() is called. This method will also mark all associated Long Description and Translation Mbos for deletion.
        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
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: Mbo
        Unmark the Mbo for deletion. Can only be called after a delete() and before the save() has been performed. This method will also unmark associated Long Description and Translation Mbos.
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • 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