psdi.iface.app.jobplan

Class MaxJPProcess

    • Constructor Detail

      • MaxJPProcess

        public MaxJPProcess()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • createMboSet

        public MboSetRemote createMboSet(boolean primaryMbo,
                                         MboRemote parentMbo,
                                         MosDetailInfo mdi,
                                         java.lang.String processTable)
                                  throws MXException,
                                         java.rmi.RemoteException
        Overridden from base class. Create revisions.
        Overrides:
        createMboSet in class MosProcessImpl
        Parameters:
        isPrimaryMbo - Give boolean to specify is it primary table or additional table
        parentMbo - Give reference to parent Mbo.
        mdi - Give MicSetInfo for the current level.
        processTable - Give name of table to process
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • checkBusinessRules

        public int checkBusinessRules(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Overridden from base class. Skips Job labor if LABORCODE and CRAFT is missing.
        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
        Overridden from base class. Set revision number.
        Overrides:
        setAdditionalData in class MosProcessImpl
        Parameters:
        mboSet - Give MboSet for the current level.
        tableName - Give name of process MAXIMO table
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • deleteAll

        public void deleteAll(MboRemote owner,
                              MboSetRemote mboSet)
                       throws MXException,
                              java.rmi.RemoteException
        Will skip deletion if Job Plan is revised
        Overrides:
        deleteAll in class MosProcessImpl
        Parameters:
        owner - Give reference to parent Mbo.
        mboSet - Give MboSet for the current level.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception