psdi.iface.mic

Class StatefulMicSetIn

    • Field Detail

      • keyName

        protected java.lang.String keyName
        Name of unique Mbo column
      • keys

        protected java.util.Map keys
        Map of all Mbo's to change status
      • set

        public MboSetRemote set
        MboSet for change status only
    • Constructor Detail

      • StatefulMicSetIn

        public StatefulMicSetIn()
                         throws MXException,
                                java.rmi.RemoteException
        Construct the StatefulMicSetIn class
        Throws:
        MXException - - MAXIMO exception
        java.rmi.RemoteException - - Remote exception
    • Method Detail

      • unapprove

        public void unapprove(java.lang.String domainid)
                       throws MXException,
                              java.rmi.RemoteException
        Method to unapproved an approved MBO
        Parameters:
        domainid - - The domain listing the possible status values.
        Throws:
        MXException - - MAXIMO exception
        java.rmi.RemoteException - - Remote exception
      • checkAdditionalRules

        public void checkAdditionalRules()
                                  throws MXException,
                                         java.rmi.RemoteException
        Method to call at the end of processing can be used to set data for the whole object.
        Overrides:
        checkAdditionalRules in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • checkForUpdate

        public boolean checkForUpdate()
                               throws MXException,
                                      java.rmi.RemoteException
        Default method to call and change for status update.
        Overrides:
        checkForUpdate in class MosProcessImpl
        Returns:
        false or true depending is status is the same or not
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • afterProcess

        public void afterProcess()
                          throws MXException,
                                 java.rmi.RemoteException
        Default method to to call after whole XML is processed.
        Overrides:
        afterProcess in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • processStatefulSet

        public void processStatefulSet(MboSetRemote set)
                                throws MXException,
                                       java.rmi.RemoteException
        Add MboSet to transaction.
        Parameters:
        set - MboSet to add to transaction
        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.
        Parameters:
        setMbo - Mbo to change status
        stat - new status
        memo - status change memo
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception