psdi.dm.procclass

Class DMMaxUserProcess

  • All Implemented Interfaces:
    MicConstants, MosConstants


    public class DMMaxUserProcess
    extends StatefulMicSetIn
    Represents class to process user data from external system. MAXUSER.PASSWORd is a required field , but because of CRYPTOX xml doesn't have value. So we set a dummy value for passwordinput and passwordcheck and force user to change it.
    • Constructor Detail

      • DMMaxUserProcess

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

      • setAdditionalData

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

        public int checkBusinessRules(MboSetRemote mboSet,
                                      java.lang.String tableName)
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Default method to call back and find out can we process data.
        Overrides:
        checkBusinessRules in class MosProcessImpl
        Parameters:
        mboSet - Give MboSet for the current level.
        tableName - Give of the table to process.
        Returns:
        PROCESS (means continue to process)
        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
      • delete

        public void delete(MboRemote mbo,
                           MosDetailInfo mdi)
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Update row in MAXIMO table for the main table
        Overrides:
        delete in class MosProcessImpl
        Parameters:
        mbo - Give Mbo for the current level.
        mdi - Give MosDetailInfo for the current level.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • afterReplace

        public void afterReplace(MboRemote child)
                          throws MXException,
                                 java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Called for action Replace or null scenario after processing while XML to delete data which did not come in XML
        Overrides:
        afterReplace in class MosProcessImpl
        Parameters:
        child - Give Mbo for the current level.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception