psdi.iface.load

Class JSONObjectStructureLoader

  • java.lang.Object
    • psdi.iface.load.JSONObjectStructureLoader


  • public class JSONObjectStructureLoader
    extends java.lang.Object
    Processing class for the file Loading in MAXIMO.
    • Constructor Summary

      Constructors 
      Constructor and Description
      JSONObjectStructureLoader(java.lang.String mosName, boolean preview, java.lang.String messageType)
      Construct the set
    • Constructor Detail

      • JSONObjectStructureLoader

        public JSONObjectStructureLoader(java.lang.String mosName,
                                         boolean preview,
                                         java.lang.String messageType)
                                  throws MXException
        Construct the set
        Parameters:
        mosInfo - Object Struture info object.
        preview - boolean indicating whether it is a UI preview mode or not.
        messageType - message type
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • setUserInfo

        public void setUserInfo(UserInfo userInfo)
      • processData

        public void processData(com.ibm.json.java.JSONArtifact data,
                                int intCurrentNoun,
                                MboRemote npMbo,
                                MXTransaction trans)
                         throws MXException,
                                java.rmi.RemoteException
        Process the incoming Data. If the call comes from UI import preview, it will call MicService's processExternalData, otherwise it call WriteToQueue method to write into Queue.
        Parameters:
        data - Xml Data
        intCurrentNoun - the current noun (or) split noun\
        npMbo - Non-persistent Mbo which is used in Preview case to show the stats on data processing
        Throws:
        MXException
        java.rmi.RemoteException