psdi.dm.procclass

Class DMMaxObjProcess

  • All Implemented Interfaces:
    MicConstants, MosConstants


    public class DMMaxObjProcess
    extends MicSetIn
    Represents class to process DMMAXOBJECT mos in Deployment manager. This class skips the validation.
    • Field Detail

      • SEPARATOR_TOKEN

        protected static final java.lang.String SEPARATOR_TOKEN
        See Also:
        Constant Field Values
    • Constructor Detail

      • DMMaxObjProcess

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

      • checkBusinessRules

        public int checkBusinessRules()
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Default method to call back and find out can we process data. This method will return always PROCESS and can be overridden in MicSet
        Overrides:
        checkBusinessRules in class MosProcessImpl
        Returns:
        PROCESS (means continue to process)
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • afterProcess

        public void afterProcess()
                          throws MXException,
                                 java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Called after processing while XML (can be called to change status in the hierarchy)
        Overrides:
        afterProcess in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • setAdditionalData

        public void setAdditionalData(MboSetRemote mboSet,
                                      java.lang.String objectName)
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Default method to set all addition data from XML to MBO which was not set thru Integration DD
        Overrides:
        setAdditionalData in class MosProcessImpl
        Parameters:
        mboSet - Give MboSet for the current level.
        objectName - 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
        Description copied from class: MosProcessImpl
        Default method to call back delete all Mbo's in MboSet
        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
      • 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
      • 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
      • 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
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        Description copied from class: MosProcessImpl
        Default method to call back and save transaction
        Overrides:
        save in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception