com.ibm.tivoli.maximo.interaction.process

Class InteractionCacheImpl

  • java.lang.Object
    • com.ibm.tivoli.maximo.interaction.process.InteractionCacheImpl
  • All Implemented Interfaces:
    MaximoCache


    public class InteractionCacheImpl
    extends java.lang.Object
    implements MaximoCache
    Loads information from MAXINTERACTION, MAXINTMAPPING, MAXINTMAPPINGDETAIL tables
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map getAllInteractions()
      Get all the defined interactions InteractionInfo objects
      InteractionInfo getInteractionInfo(java.lang.String name)
      Get the InteractionInfo object
      InteractionInfo getInteractionInfo(java.lang.String sigoption, java.lang.String appname)
      Get the InteractionInfo object for SigOption name and Application Name
      InteractionInfo getInteractionInfo(java.lang.String mainObjectName, java.lang.String relation, java.lang.String topObject)
      Get the InteractionInfo object for Request Relation, Name of Main object for request and Application Main Object Name
      java.lang.String getName()
      Returns the name as registered in Maximo Cache
      void init()
      Initialize the EndPointCache
      void reload()
      Refresh the EndPointCache
      void reload(java.lang.String key)
      Reload a paricular key in memory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InteractionCacheImpl

        public InteractionCacheImpl()
    • Method Detail

      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Reload a paricular key in memory. Not implemented (exists only for compilation sake)
        Specified by:
        reload in interface MaximoCache
        Parameters:
        key - to reload
        Throws:
        MXException - Maximo Exception
      • getName

        public java.lang.String getName()
        Returns the name as registered in Maximo Cache
        Specified by:
        getName in interface MaximoCache
        Returns:
        MAXENDPOINT
      • getAllInteractions

        public java.util.Map getAllInteractions()
        Get all the defined interactions InteractionInfo objects
        Returns:
        map of all the defined interactions
      • getInteractionInfo

        public InteractionInfo getInteractionInfo(java.lang.String name)
        Get the InteractionInfo object
        Parameters:
        name - interaction name
        Returns:
        InteractionInfo object
      • getInteractionInfo

        public InteractionInfo getInteractionInfo(java.lang.String sigoption,
                                                  java.lang.String appname)
        Get the InteractionInfo object for SigOption name and Application Name
        Parameters:
        sigoption - signature option name
        appname - application name
        Returns:
        InteractionInfo object
      • getInteractionInfo

        public InteractionInfo getInteractionInfo(java.lang.String mainObjectName,
                                                  java.lang.String relation,
                                                  java.lang.String topObject)
                                           throws MXException
        Get the InteractionInfo object for Request Relation, Name of Main object for request and Application Main Object Name
        Parameters:
        mainObjectName - interaction main object name
        relation - request relation name
        topObject - name of top MBo in request OS
        Returns:
        InteractionInfo object
        Throws:
        MXException