psdi.iface.app.intobject

Class MaxIntObjectProcess

    • Field Detail

      • deletedAliasSet

        protected java.util.HashSet deletedAliasSet
    • Constructor Detail

      • MaxIntObjectProcess

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

      • checkBusinessRules

        public int checkBusinessRules(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Method to call back and find out can we process data from specific table.
        Overrides:
        checkBusinessRules in class MosProcessImpl
        Parameters:
        tableName - Give name of process MAXIMO table
        mboSet - Give MboSet for the current level.
        Returns:
        - Return integer indicating can we take data from specific table or not (for list of return values refer to MicSetIn)
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • createMboSet

        public MboSetRemote createMboSet(boolean primaryMbo,
                                         MboRemote parentMbo,
                                         MosDetailInfo mdi,
                                         java.lang.String processTable)
                                  throws MXException,
                                         java.rmi.RemoteException
        Create mbo and mbo set sets for incomig transactions
        Overrides:
        createMboSet in class MosProcessImpl
        Parameters:
        parentMbo - Give reference to parent Mbo.
        mdi - Give MosDetailInfo for the current level.
        processTable - Give name of table to process
        primaryMbo - Give boolean to specify is it primary table or additional table
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • setAdditionalData

        public void setAdditionalData(MboSetRemote mboSet,
                                      java.lang.String objectName)
                               throws MXException,
                                      java.rmi.RemoteException
        Call back method to set all values which was not set. Called per mbo after the mbo fields has been set.
        Overrides:
        setAdditionalData in class MosProcessImpl
        Parameters:
        mboSet - The MboSet of the currently processed mbo.
        objectName - the name of the currently processed mbo.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • cleanup

        public void cleanup()
                     throws MXException,
                            java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Default method to call at the end of processing to cleanup all private variable create during the process of the noun.
        Overrides:
        cleanup in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • afterReplace

        public void afterReplace(MboRemote child)
                          throws MXException,
                                 java.rmi.RemoteException
        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