com.ibm.tivoli.maximo.interaction.beans.process

Class ExternalServiceBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class ExternalServiceBean
    extends DataBean
    Interaction Processing bean
    • Constructor Detail

      • ExternalServiceBean

        public ExternalServiceBean()
    • Method Detail

      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Obtains and returns a MboSetRemote using the mboname of parent/relationship setup for the bean. Override this method if the DataBean needs to get a MboSetRemote in a non-standard way. (Not via a the MXSession, or a relationship from another DataBean).
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • invokeservice

        public int invokeservice()
                          throws MXException,
                                 java.rmi.RemoteException
        Invoke External Web Service.
        Returns:
        if invoication sucessful or not
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • applychanges

        public int applychanges()
                         throws MXException,
                                java.rmi.RemoteException
        Apply result of the Invocation back to Maximo.
        Returns:
        if apply sucessful or not
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • silentmode

        public int silentmode()
                       throws MXException,
                              java.rmi.RemoteException
        Confirmation for the silent mode.
        Returns:
        if invoication sucessful or not
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception