psdi.iface.mic

Class MaxExtIfaceOutImpl

  • java.lang.Object
    • psdi.iface.mic.MaxExtIfaceOutImpl
  • All Implemented Interfaces:
    MaximoCache


    public class MaxExtIfaceOutImpl
    extends java.lang.Object
    implements MaximoCache
    Loads data for External Outbound Interfaces in memory.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String NAME 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      MaxExtIfaceOutInfo getExtIfaceOutInfo(java.lang.String extsystem, java.lang.String ifaceName)
      Returns a List of MaxExtIfaceOutInfo objects for the given extsystem-iface combination
      java.util.Map getInterfacesOut(java.lang.String systemName)
      Gets all systems info for the given external system name
      java.lang.String getName()
      Returns the name as registered in Maximo Cache
      java.util.List getSystemsForChannel(java.lang.String channelName)
      Gets all systems name for the given interface name
      void init()
      Initialization
      boolean isInterfaceOutEnabled(java.lang.String extSysName, java.lang.String ifaceName)
      Returns whether the given interface is enabled for a given ext system
      void refresh()
      Refresh the DD
      void reload()
      Refresh this object in memory
      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

      • MaxExtIfaceOutImpl

        public MaxExtIfaceOutImpl()
    • 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
        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:
        MAXEXTIFACEOUT
      • getInterfacesOut

        public java.util.Map getInterfacesOut(java.lang.String systemName)
        Gets all systems info for the given external system name
        Returns:
        Map containing systems info for the given external system name
      • getSystemsForChannel

        public java.util.List getSystemsForChannel(java.lang.String channelName)
        Gets all systems name for the given interface name
        Returns:
        List containing list of system names for a given interface
      • isInterfaceOutEnabled

        public boolean isInterfaceOutEnabled(java.lang.String extSysName,
                                             java.lang.String ifaceName)
                                      throws MXException
        Returns whether the given interface is enabled for a given ext system
        Parameters:
        extSysName - the external system name
        ifaceName - interface name
        Returns:
        true or false
        Throws:
        MXException - Maximo Exception if the given external system does not exist in the DD
      • getExtIfaceOutInfo

        public MaxExtIfaceOutInfo getExtIfaceOutInfo(java.lang.String extsystem,
                                                     java.lang.String ifaceName)
        Returns a List of MaxExtIfaceOutInfo objects for the given extsystem-iface combination
        Parameters:
        extsystem - external system name
        ifaceName - interface name
        Returns:
        List of MaxExtIfaceOutInfo objects