psdi.iface.load

Class XmlFileLoaderImpl



  • public class XmlFileLoaderImpl
    extends FileLoaderImpl
    Processing class for the file Loading in MAXIMO.
    • Constructor Detail

      • XmlFileLoaderImpl

        public XmlFileLoaderImpl(boolean preview,
                                 boolean fromClient,
                                 boolean isFileExtract,
                                 java.lang.String fileName,
                                 java.lang.String processOwner)
                          throws MXException,
                                 java.rmi.RemoteException
        Construct the set
        Parameters:
        preview - boolean indicating whether it is a UI preview mode or not.
        fromClient - boolean indicating whether it is from UI import or crontask
        isFileExtract - Indicator of File Extract operation
        fileName - Input file name being imported
        processOwner - Process Owner; when cron Task, it is instance name
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • processXMLData

        public void processXMLData(java.io.InputStream btIn,
                                   java.lang.String extSystemName,
                                   java.lang.String entServiceName,
                                   java.lang.Object recService,
                                   MboRemote npMbo)
                            throws MXException
        Process Xml File. Splits the xml file based on the split tag. Split method inturn calls FileLoaderProcess processData() method
        Parameters:
        btIn - InputStream of the file to be processed
        extSystemName - External System Name
        entServiceName - Enterprise Service name
        recService - Recovery Service object
        Throws:
        MXException