psdi.iface.app.invusage

Class MaxInvUseProcess

    • Constructor Detail

      • MaxInvUseProcess

        public MaxInvUseProcess()
                         throws MXException,
                                java.rmi.RemoteException
        Constructor
        Throws:
        MXException - maximo exception
        java.rmi.RemoteException - remote exception
    • Method Detail

      • changeStatus

        public void changeStatus(MboRemote setMbo,
                                 java.lang.String stat,
                                 java.lang.String memo)
                          throws MXException,
                                 java.rmi.RemoteException
        Call actual status change in InvUsage Mbo.
        Overrides:
        changeStatus in class StatefulMicSetIn
        Parameters:
        setMbo - InvUse Mbo to change status
        stat - new status
        memo - status change memo
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • getInternalStatus

        public java.lang.String getInternalStatus(java.lang.String status)
                                           throws MXException,
                                                  java.rmi.RemoteException
        Returns internal value of status.
        Returns:
        internal value of status.
        Throws:
        MXException
        java.rmi.RemoteException
      • checkValidateErrors

        public void checkValidateErrors()
                                 throws MXException,
                                        java.rmi.RemoteException
        Default method to check all validation errors and try to fix it
        Overrides:
        checkValidateErrors in class MosProcessImpl
        Parameters:
        errors - Give Hastable with all errors
        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:
        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