com.ibm.tivoli.maximo.interaction.process

Class InteractionProcesser

  • java.lang.Object
    • com.ibm.tivoli.maximo.interaction.process.InteractionProcesser


  • public class InteractionProcesser
    extends java.lang.Object
    Interaction processer.
    • Field Detail

      • INTERACTIONLOGGER

        public static final MXLogger INTERACTIONLOGGER
        Interaction logger for logging messages related to Interaction.
    • Constructor Detail

      • InteractionProcesser

        public InteractionProcesser(java.lang.String intName)
                             throws MXException,
                                    java.rmi.RemoteException
        Construct processer
        Parameters:
        intName - - Interaction Name
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • InteractionProcesser

        public InteractionProcesser(java.lang.String sigoption,
                                    java.lang.String appname)
                             throws MXException,
                                    java.rmi.RemoteException
        Construct processer
        Parameters:
        sigoption - - Option Name
        appname - - Application Name
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • InteractionProcesser

        public InteractionProcesser(java.lang.String mainObjectName,
                                    java.lang.String relation,
                                    java.lang.String topObject)
                             throws MXException,
                                    java.rmi.RemoteException
        Construct processer
        Parameters:
        mainObjectName - interaction main object name
        relation - request relation name
        topObject - name of top MBo in request OS
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
    • Method Detail

      • processInteraction

        public MboSetRemote processInteraction(MboRemote appMbo)
                                        throws MXException,
                                               java.rmi.RemoteException
        Process Interaction for any Interaction Mode
        Parameters:
        appMbo - Give reference to application Mbo.
        Returns:
        - Request or Response Set depending on Interaction Mode
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • fillRequest

        public void fillRequest(MboSetRemote requestSet,
                                MboRemote mbo)
                         throws MXException,
                                java.rmi.RemoteException
        Fill Request Mbos to invoke service
        Parameters:
        requestSet - Give reference to request MboSet.
        mbo - Give reference to application Mbo.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • invokeservice

        public boolean invokeservice(MboRemote mbo)
                              throws MXException,
                                     java.rmi.RemoteException
        Invoke External Service
        Parameters:
        mbo - Give reference to top Request Mbo.
        Returns:
        - TRUE or FALSE do indicate showing response data or not
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • applychanges

        public boolean applychanges(MboSetRemote set,
                                    MboRemote mbo)
                             throws MXException,
                                    java.rmi.RemoteException
        Apply Response of the Invokation back to Application
        Parameters:
        set - Give reference to Response MboSet.
        mbo - Give reference to application Mbo.
        Returns:
        - TRUE or FALSE do indicate is data needed to be commited in Maxino
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • showResponse

        public boolean showResponse()
                             throws MXException,
                                    java.rmi.RemoteException
        This method will determine to show response or not
        Returns:
        show response indicator.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • unselect

        public void unselect(MosDetailInfo info,
                             MboSetRemote set)
                      throws MXException,
                             java.rmi.RemoteException
        This method will determine to show response or not param info Response MosDetailInfo for a level in OS. param set reference to response MboSet.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception