psdi.iface.load

Class ObjectStructureLoader

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


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

      Constructors 
      Constructor and Description
      ObjectStructureLoader(MosInfo mosInfo, boolean preview, java.lang.String messageType)
      Construct the set
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close()
      Close the JMS related resources.
      void commit()
      commit Queue Transaction.
      void processData(byte[] data, int intCurrentNoun, int recStart, int recEnd, MboRemote npMbo, MXTransaction trans)
      Process the incoming Data.
      void setUserInfo(UserInfo userInfo) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectStructureLoader

        public ObjectStructureLoader(MosInfo mosInfo,
                                     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)
      • close

        public void close()
        Close the JMS related resources.
      • processData

        public void processData(byte[] data,
                                int intCurrentNoun,
                                int recStart,
                                int recEnd,
                                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