psdi.dm.procclass

Class DMPersonProcess

  • All Implemented Interfaces:
    MicConstants, MosConstants


    public class DMPersonProcess
    extends StatefulMicSetIn
    Represents class to process person data from external system. There are few restrictd fields which are required in person table which MEA will not set.So we need to set those values
    • Constructor Detail

      • DMPersonProcess

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

      • 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
      • compareMboKeyValues

        public boolean compareMboKeyValues(MboSetRemote mboSet,
                                           MosDetailInfo mdi,
                                           java.lang.String[] keys)
                                    throws MXException,
                                           java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Default method to try to find in memory MBO with the keys matched with XML data for the current level
        Overrides:
        compareMboKeyValues in class MosProcessImpl
        Parameters:
        mboSet - Give reverence to current MboSet
        mdi - Give MosDetailInfo for the current level.
        keys - Keys of the object
        Returns:
        Boolean indicating that compare was successful or not
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception