public class ObjectStructureCache extends java.lang.Object implements MaximoMTEnabledCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,MosInfo> |
getAllMos()
Get all Maximo Object Structures in the memory
|
MaximoCache |
getCache()
Return the maximo cache instance.
|
static ObjectStructureCache |
getInstance()
Always use one instance of Object Structure DD.
|
java.util.Map<java.lang.String,java.lang.String> |
getIntObjAlias(MosDetailInfo mosDInfo)
Get the map of alias values from maxintobjalias.
|
MosInfo |
getMosInfo(java.lang.String intObjectName)
Gets the info object for the specific MOS
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
void |
init()
Initialization.
|
boolean |
isLoaded() |
void |
refresh()
Refresh the Integration DD
|
void |
reload()
Refresh the integration DD in memory
|
void |
reload(java.lang.String key)
Re-load a particular key in Maximo Cache.
|
public static final java.lang.String NAME
public static ObjectStructureCache getInstance() throws MXException
MXException
- MAXIMO exceptionpublic void init() throws MXException
init
in interface MaximoCache
MXException
- Maximo Exceptionpublic java.util.Map<java.lang.String,java.lang.String> getIntObjAlias(MosDetailInfo mosDInfo) throws MXException, java.rmi.RemoteException
mosDInfo
- the mosDetailInfoMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.util.Map<java.lang.String,MosInfo> getAllMos()
public MosInfo getMosInfo(java.lang.String intObjectName)
intObjectName
- Maximo Object Structure namepublic java.lang.String getName()
getName
in interface MaximoCache
public void reload() throws MXException
reload
in interface MaximoCache
MXException
- Maximo Exceptionpublic void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- keyMXException
- Maximo Exceptionpublic void refresh() throws MXException
MXException
- Maximo Exceptionpublic MaximoCache getCache()
MaximoMTEnabledCache
getCache
in interface MaximoMTEnabledCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache