psdi.iface.app.asset

Class MaxAssetProcess

    • Constructor Detail

      • MaxAssetProcess

        public MaxAssetProcess()
                        throws MXException,
                               java.rmi.RemoteException
        Constructor
        Throws:
        MXException - Maximo exception
        java.rmi.RemoteException - Remote exception
    • 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
      • setAdditionalData

        public void setAdditionalData(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Sets additional data from XML to MBO which was not set through Integration Data Dictionary. This method is called for each Mbo Set in the XML.
        Overrides:
        setAdditionalData in class MosProcessImpl
        Parameters:
        mboSet - The current level MboSet.
        tableName - The MAXIMO table name being processed.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • changeStatus

        public void changeStatus(MboRemote setMbo,
                                 java.lang.String stat,
                                 java.lang.String memo)
                          throws MXException,
                                 java.rmi.RemoteException
        Call actual status change in Asset Mbo.
        Overrides:
        changeStatus in class StatefulMicSetIn
        Parameters:
        setMbo - Mbo to change status
        stat - new status
        memo - status change memo
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception