com.ibm.tivoli.maximo.load

Class OSXmlFileLoaderImpl



  • public class OSXmlFileLoaderImpl
    extends BaseFileLoaderImpl
    Processing class for the file Loading in MAXIMO.
    • Constructor Detail

      • OSXmlFileLoaderImpl

        public OSXmlFileLoaderImpl(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

      • processObjectStructureXMLData

        public void processObjectStructureXMLData(java.io.InputStream btIn,
                                                  java.lang.String osName,
                                                  java.lang.String msgType,
                                                  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
        osName - Object Structure Name
        npMbo - Non persistent Mbo
        Throws:
        MXException