com.ibm.tivoli.maximo.oslc.consumer

Class InteractionGroupCacheImpl

  • java.lang.Object
    • com.ibm.tivoli.maximo.oslc.consumer.InteractionGroupCacheImpl
  • All Implemented Interfaces:
    MaximoCache


    public class InteractionGroupCacheImpl
    extends java.lang.Object
    implements MaximoCache
    Loads information from interaction group
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List getAllGroupsForInteraction(java.lang.String name)
      Get all Interaction Groups which has given interaction
      java.util.Map getAllInteractionGroups()
      Get all the defined interaction groups InteractionGroupInfo objects
      InteractionGroupInfo getInteractionGroupInfo(java.lang.String name)
      Get the InteractionGroupInfo object
      java.lang.String getName()
      Returns the name as registered in Maximo Cache
      void init()
      Initialize the InteractionGroupCache
      void reload()
      Refresh the InteractionGroupCache
      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

      • InteractionGroupCacheImpl

        public InteractionGroupCacheImpl()
    • 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:
        INTERACTIONGROUP
      • getAllInteractionGroups

        public java.util.Map getAllInteractionGroups()
        Get all the defined interaction groups InteractionGroupInfo objects
        Returns:
        map of all the defined interaction groups
      • getInteractionGroupInfo

        public InteractionGroupInfo getInteractionGroupInfo(java.lang.String name)
        Get the InteractionGroupInfo object
        Parameters:
        name - interaction group name
        Returns:
        InteractionGroupInfo object
      • getAllGroupsForInteraction

        public java.util.List getAllGroupsForInteraction(java.lang.String name)
        Get all Interaction Groups which has given interaction
        Parameters:
        name - interaction name
        Returns:
        List of groups