psdi.iface.app.extsystem

Class MaxExtIfaceIn

  • java.lang.Object
    • Constructor Detail

      • MaxExtIfaceIn

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

      • 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 maxextifacein. This method updates the changedate, changeby attributes.
        Overrides:
        modify in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        This method is called by the framework before save. Perform regular appValidate() and process LinkedMbo's deletion.
        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)
      • fillIfaceDetails

        public void fillIfaceDetails()
                              throws MXException,
                                     java.rmi.RemoteException
        Called for filling tablewindow on screen to display inward external interfaces
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws MXException,
                                        java.rmi.RemoteException
        Overrides the skipCopyField() in the Mbo. Since this method takes the MboValueInfo as its parameter just check to see if this field needs to be copied or skipped by using the data from the static HashSet. If this field does not need to be copied return true.
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        mvi - The MboValueInfo object of the MboValue that needs to be copied.
        Returns:
        true If the field does not need to be copied, in all other cases return false.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • processExternalData

        public void processExternalData()
                                 throws java.rmi.RemoteException,
                                        MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • createCronTaskInstance

        protected void createCronTaskInstance(java.lang.String instancename)
                                       throws MXException,
                                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • importData

        public FileLoaderImpl importData(java.io.InputStream in,
                                         java.lang.String fileType,
                                         java.lang.String delimiter,
                                         boolean ispreview,
                                         MboRemote npMbo,
                                         boolean isFileExtract,
                                         java.lang.String fileName,
                                         java.lang.String textQualifier)
                                  throws MXException,
                                         java.rmi.RemoteException
        Description copied from interface: MaxExtIfaceInRemote
        Method to process/import Flat/Xml files in to MAXIMO
        Specified by:
        importData in interface MaxExtIfaceInRemote
        Parameters:
        in - InputStream of file to be imported
        fileType - indicates whether iis a XML or flat file
        delimiter - delimiter chanracter for flatfile
        ispreview - boolean indicating whether it is a UI preview mode or not.
        npMbo - reference to non-persistent Mbo.
        isFileExtract - boolean indicating whether it is a file extract.
        fileName - file name.
        textQualifier - text qualifier.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception