public class IntErrorCache extends java.lang.Object implements MaximoCache
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getAllErrors()
Get all the eror messages.
|
static IntErrorCache |
getInstance()
Always use one instance of EndPointCache
|
MaxIntErrorInfo |
getIntErrorInfo(java.lang.String id)
Get the MaxIntErrorInfo object
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
boolean |
hasError(java.lang.String id)
Get the MaxIntErrorInfo object
|
void |
init()
Initialize the IntErrorCache
|
void |
reload()
Refresh the IntErrorCache
|
void |
reload(java.lang.String key)
Reload a paricular key in memory.
|
public static IntErrorCache getInstance() throws MXException
MXException - MAXIMO exceptionpublic void init()
throws MXException
init in interface MaximoCacheMXException - Maximo Exceptionpublic void reload()
throws MXException
reload in interface MaximoCacheMXException - Maximo Exceptionpublic void reload(java.lang.String key)
throws MXException
reload in interface MaximoCachekey - to reloadMXException - Maximo Exceptionpublic java.lang.String getName()
getName in interface MaximoCachepublic java.util.Map getAllErrors()
public MaxIntErrorInfo getIntErrorInfo(java.lang.String id)
id - mesage idpublic boolean hasError(java.lang.String id)
id - message id