psdi.iface.app.company

Class MaxComProcess

  • All Implemented Interfaces:
    MicConstants, MosConstants


    public class MaxComProcess
    extends MicSetIn
    Integration point processing class for Companies transactions coming into Maximo from an external system.
    • Constructor Detail

      • MaxComProcess

        public MaxComProcess()
                      throws MXException,
                             java.rmi.RemoteException
        Construct MaxComProcess class
        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
      • createCompanySetFromMaster

        public MboSetRemote createCompanySetFromMaster(java.lang.String orgid,
                                                       java.lang.String company,
                                                       MboSetRemote mboSet)
                                                throws MXException,
                                                       java.rmi.RemoteException
        Method to create company set from company master
        Parameters:
        mboSet - The MboSet to be created
        orgid - The organization id
        company - The name company
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • presetMboRules

        public int presetMboRules()
                           throws MXException,
                                  java.rmi.RemoteException
        Default method to call back and find out do we need to set data. This method will return always PROCESS and can be overriden in MicSet
        Overrides:
        presetMboRules in class MosProcessImpl
        Returns:
        PROCESS (means continue to process)
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • checkValidateErrors

        public void checkValidateErrors()
                                 throws MXException,
                                        java.rmi.RemoteException
        We do not want to validate until save
        Overrides:
        checkValidateErrors in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception