psdi.iface.app.location

Class MaxOperLocProcess

  • All Implemented Interfaces:
    MicConstants, MosConstants


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

      • MaxOperLocProcess

        public MaxOperLocProcess()
                          throws MXException,
                                 java.rmi.RemoteException
        Constructor
        Throws:
        MXException - maximo exception
        java.rmi.RemoteException - remote exception
    • 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
        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
        Set additional data
        Overrides:
        setAdditionalData in class MosProcessImpl
        Parameters:
        mboSet - the mboset
        tableName - the table name
        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 ctatus change in 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