psdi.iface.mic

Class MicTransactable

  • java.lang.Object
    • psdi.iface.mic.MicTransactable
  • All Implemented Interfaces:
    java.rmi.Remote, Transactable


    public class MicTransactable
    extends java.lang.Object
    implements Transactable
    Process external system exit for Workorder Out Interface
    • Field Detail

      • integrationLogger

        protected static final MXLogger integrationLogger
        Integration Logger
    • Constructor Detail

      • MicTransactable

        public MicTransactable()
    • Method Detail

      • setMboSet

        public void setMboSet(MboSetRemote set)
        This method will save MboSet as instance variable
        Parameters:
        set - Give reference to MboSet.
      • getMboSet

        public MboSetRemote getMboSet()
        This method will get MboSet of the object
        Returns:
        MboSet.
      • saveTransaction

        public void saveTransaction(MXTransaction txn)
                             throws MXException,
                                    java.rmi.RemoteException
        This method will be called during save of the transaction
        Specified by:
        saveTransaction in interface Transactable
        Parameters:
        txn - Give reference to transaction object.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • commitTransaction

        public void commitTransaction(MXTransaction txn)
                               throws MXException,
                                      java.rmi.RemoteException
        This method will be called during commit of the transaction
        Specified by:
        commitTransaction in interface Transactable
        Parameters:
        txn - Give reference to transaction object.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • rollbackTransaction

        public void rollbackTransaction(MXTransaction txn)
                                 throws MXException,
                                        java.rmi.RemoteException
        This method will be called during rollback of the transaction
        Specified by:
        rollbackTransaction in interface Transactable
        Parameters:
        txn - Give reference to transaction object.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • undoTransaction

        public void undoTransaction(MXTransaction txn)
                             throws MXException,
                                    java.rmi.RemoteException
        This method will be called during undo of the transaction
        Specified by:
        undoTransaction in interface Transactable
        Parameters:
        txn - Give reference to transaction object.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • validateTransaction

        public boolean validateTransaction(MXTransaction txn)
                                    throws MXException,
                                           java.rmi.RemoteException
        validate transaction.
        Specified by:
        validateTransaction in interface Transactable
        Parameters:
        txn - Give reference to transaction object.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • fireEventsBeforeDB

        public void fireEventsBeforeDB(MXTransaction txn)
                                throws MXException,
                                       java.rmi.RemoteException
        This method will be called during save of the transaction
        Specified by:
        fireEventsBeforeDB in interface Transactable
        Parameters:
        txn - Give reference to transaction object.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • fireEventsAfterDB

        public void fireEventsAfterDB(MXTransaction txn)
                               throws MXException,
                                      java.rmi.RemoteException
        This method will be called during save of the transaction
        Specified by:
        fireEventsAfterDB in interface Transactable
        Parameters:
        txn - Give reference to transaction object.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • fireEventsAfterDBCommit

        public void fireEventsAfterDBCommit(MXTransaction txn)
                                     throws MXException,
                                            java.rmi.RemoteException
        This method will be called during save of the transaction
        Specified by:
        fireEventsAfterDBCommit in interface Transactable
        Parameters:
        txn - Give reference to transaction object.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception