public class ObjectStructureCacheImpl extends java.lang.Object implements MaximoCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
ObjectStructureCacheImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,MosInfo> |
getAllMos()
Get all Maximo Object Structures in the memory
|
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.
|
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 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 Exception