psdi.dm.procclass

Class DMCronTaskProcess

  • All Implemented Interfaces:
    MicConstants, MosConstants


    public class DMCronTaskProcess
    extends MicSetIn
    Represents class to process crontaskdef data from external system. When a new crontaskinstance is added crontaskparam record is added automatically. So we need to ignore those records.
    • Constructor Detail

      • DMCronTaskProcess

        public DMCronTaskProcess()
                          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
      • createMboSet

        public MboSetRemote createMboSet(boolean isPrimaryMbo,
                                         MboRemote parentMbo,
                                         MosDetailInfo mdi,
                                         java.lang.String processTable)
                                  throws MXException,
                                         java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Create Mbo set sets for all levels in XML for incoming transactions
        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