psdi.iface.app.org

Class MaxOrgProcess

    • Field Detail

      • siteID

        protected java.lang.String siteID
      • orgID

        protected java.lang.String orgID
    • Constructor Detail

      • MaxOrgProcess

        public MaxOrgProcess()
                      throws MXException,
                             java.rmi.RemoteException
        Construct the set
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • createMboSet

        public MboSetRemote createMboSet(boolean primaryMbo,
                                         MboRemote parentMbo,
                                         MosDetailInfo mdi,
                                         java.lang.String processTable)
                                  throws MXException,
                                         java.rmi.RemoteException
        Call back method to create mbo and mbo set sets for incoming transactions.
        Overrides:
        createMboSet in class MosProcessImpl
        Parameters:
        primaryMbo - Give boolean to specify is it primary table or additional table
        parentMbo - The parent mbo of this MboSet to be created
        micInfo - The integration object info
        processTable - The name of process MAXIMO table
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • checkBusinessRules

        public int checkBusinessRules(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Overriden from base class. This validates that ITEMTYPE (if present in the xml) should be ITEM or a synonym of it. If it is Service or Tool, it throws an Exception
        Overrides:
        checkBusinessRules in class MosProcessImpl
        Parameters:
        mboSet - the mboset
        tableName - the object name
        Returns:
        PROCESS (means continue to process)
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • afterReplace

        public void afterReplace(MboRemote child)
                          throws MXException,
                                 java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Called for action Replace or null scenario after processing while XML to delete data which did not come in XML
        Overrides:
        afterReplace in class MosProcessImpl
        Parameters:
        child - Give Mbo for the current level.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • setAdditionalData

        public void setAdditionalData(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Default method to set all addition data from XML to MBO which was not set thru Integration DD
        Overrides:
        setAdditionalData in class MosProcessImpl
        Parameters:
        mboSet - Give MboSet for the current level.
        tableName - Give name of process MAXIMO table
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • afterProcess

        public void afterProcess()
                          throws MXException,
                                 java.rmi.RemoteException
        Default method to to call after whole XML is processed.
        Overrides:
        afterProcess in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • processOrganization

        public void processOrganization()
                                 throws MXException,
                                        java.rmi.RemoteException
        Default method to to call after whole XML is processed.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception