psdi.iface.app.endpoint

Class MaxEndPoint

  • java.lang.Object
    • Constructor Detail

      • MaxEndPoint

        public MaxEndPoint(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
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        This is called whenever a change is made to the attributes of maxendpoint. 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.
        • ENDPOINTNAME
        • CHANGEBY
        • CHANGEDATE
        Overrides:
        skipCopyField in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • duplicate

        public MboRemote duplicate()
                            throws MXException,
                                   java.rmi.RemoteException
        Duplicates MaxEndPoint record and its related MBOs. The related mbos includes MaxEndPointDetail
        Specified by:
        duplicate in interface MboRemote
        Overrides:
        duplicate in class Mbo
        Returns:
        MboRemote The newly created Enterpise Service.
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        Called when the mbo is saved to the database. Set endpointname field from the parent MAXENDPOINT record.
        Overrides:
        save in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Specifies if this Endpoint can be deleted. This Endpoint cannot be deleted if it is in use by an existing External System or any Channel in this system.
        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 MAXENDPOINTDTL entries associated with this EndPoint
        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 MAXENDPOINTDTL 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
      • setCheckResourceForDelete

        public void setCheckResourceForDelete(boolean checkResourceForDelete)