psdi.iface.app.pm

Class MaxPMProcess

  • All Implemented Interfaces:
    MicConstants, MosConstants


    public class MaxPMProcess
    extends StatefulMicSetIn
    Integration point processing class for Asset transactions coming into Maximo from an external system.
    • Constructor Detail

      • MaxPMProcess

        public MaxPMProcess()
                     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
        Overridden from base class. Skips all additional objects.
        Overrides:
        checkBusinessRules in class MosProcessImpl
        Parameters:
        mboSet - - The MboSet for the current processing table
        tableName - - Give name of process MAXIMO table
        Returns:
        - PROCESS, SKIP indicating can we take data from specific table or not
        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