psdi.iface.app.wo

Class MaxWOProcess

    • Constructor Detail

      • MaxWOProcess

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

      • checkBusinessRules

        public int checkBusinessRules(MboSetRemote mboSet,
                                      java.lang.String processTable)
                               throws MXException,
                                      java.rmi.RemoteException
        Create mbo set sets for all levels in XML for incoming transactions. The Planned Labor, Material, Service mbosets needs to be created from Workorder
        Overrides:
        checkBusinessRules in class MosProcessImpl
        Parameters:
        parentMbo - Give reference to parent Mbo.
        mdi - Give MosDetailInfo for the current level.
        processTable - Give name of table to process
        Returns:
        returns mboset
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • setAdditionalData

        public void setAdditionalData(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               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.
        tableName - the name of the currently processed mbo.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • presetMboRules

        public int presetMboRules()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Default method to call back and find out do we need to set data. This method will return always PROCESS and can be overridden in MicSet
        Overrides:
        presetMboRules in class MosProcessImpl
        Returns:
        PROCESS (means continue to process)
        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
        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