public class MaxExtIfaceOut extends java.lang.Object implements MaximoMTEnabledCache
Modifier and Type | Method and Description |
---|---|
MaximoCache |
getCache()
Return the maximo cache instance.
|
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<java.lang.String,MaxExtIfaceOutInfo> |
getInterfacesOut(java.lang.String systemName)
Gets all systems info for the given external system name
|
static MaxExtIfaceOut |
getMaxExtIfaceOut()
Always use one instance of MaxExtIfaceOut
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
java.util.List<java.lang.String> |
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
|
boolean |
isLoaded() |
void |
refresh()
Refresh the DD
|
void |
reload()
Refresh this object in memory
|
void |
reload(java.lang.String key)
Reload a paricular key in memory.
|
public static MaxExtIfaceOut getMaxExtIfaceOut() throws MXException
MXException
- MAXIMO exceptionpublic void init() throws MXException
init
in interface MaximoCache
MXException
- MAXIMO exceptionpublic void reload() throws MXException
reload
in interface MaximoCache
MXException
- MAXIMO exceptionpublic void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
MXException
- Maximo Exceptionpublic java.lang.String getName()
getName
in interface MaximoCache
public java.util.Map<java.lang.String,MaxExtIfaceOutInfo> getInterfacesOut(java.lang.String systemName)
public java.util.List<java.lang.String> getSystemsForChannel(java.lang.String channelName)
public boolean isInterfaceOutEnabled(java.lang.String extSysName, java.lang.String ifaceName) throws MXException
extSysName
- the external system nameifaceName
- interface nameMXException
- Maximo Exception if the given external system does not exist
in the DDpublic MaxExtIfaceOutInfo getExtIfaceOutInfo(java.lang.String extsystem, java.lang.String ifaceName)
extsystem
- external system nameifaceName
- interface namepublic void refresh() throws MXException
MXException
- Maximo Exceptionpublic MaximoCache getCache()
MaximoMTEnabledCache
getCache
in interface MaximoMTEnabledCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache