public class SignatureCache extends java.lang.Object implements MaximoCache, FixedLoggers
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map |
appmenuCache
Hashtable for maintaining local cache of MaxMenu for menutype APPMENU.
|
protected java.util.HashMap |
appsearchCache
Hashtable for maintaining local cache of MaxMenu for menutype SEARCHMENU.
|
protected java.util.HashMap |
apptoolCache
Hashtable for maintaining local cache of MaxMenu for menutype APPTOOL.
|
protected java.util.Set |
authAppCache
Set for all application authorize applications for Work centers.
|
protected java.util.Map |
mainNonMobileTbAppCache |
protected java.util.Map |
mainTbAppCache |
protected java.util.HashMap |
maxappsCache
Hashtable for maintaining local cache of MaxApps.
|
protected java.util.Map |
maxmoduleCache
Hashtable for maintaining local cache of MaxModules.
|
protected java.util.Map |
moduleMenuCache
HashMap where key = module name and value = TreeMap where key = Integer and value = MaxMenu info.
|
protected java.util.Map |
sigoAppCache
Hashtable for maintaining local cache of APPACCESS SigOption.
|
protected java.util.Map |
sigoCache
Hashtable for maintaining local cache of OPTION SigOption.
|
protected java.util.Map |
sigoFlagCache
Hashtable for maintaining local cache of SigOptFlag.
|
protected java.util.HashMap |
simpleAppmenuCache
Hashtable for maintaining local cache of MaxMenu for menutype MODULE.
|
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getAuthAppCache() |
java.util.Map |
getMaxAppsCache()
Return
maxappsCache. |
MaxAppsInfo |
getMaxAppsCache(java.lang.String appName)
Return the MaxApps info for the app.
|
java.util.Set |
getMaxAppsForTb(java.lang.String mainTbName) |
MaxModuleInfo |
getMaxModuleCache(java.lang.String moduleName)
Return the MaxModules info for the module.
|
java.util.Map |
getModuleMenuCache()
Return
moduleMenuCache
(MaxMenu for menutype MODULE). |
java.lang.String |
getName()
Return
SIGNATURE. |
java.util.List |
getNonMobileMaxAppsForTb(java.lang.String mainTbName) |
SigOptionInfo |
getSigoAppCache(java.lang.String appName)
Return the SigOption info for the app.
|
java.util.Map |
getSigoCache(java.lang.String appName)
Return a HashMap of SigOptions (Type OPTION) for the app,
where key = optionname and element = SigOption info.
|
java.util.Map |
getSigoFlags(java.lang.String appName,
java.lang.String optionName)
Return a HashMap of SigOptFlag for the app and optionname.
|
void |
init()
Initialize all the cache objects to new and empty,
and set loaded = False.
|
void |
init(MXServer mxs)
|
boolean |
isLoaded() |
boolean |
isValidLicense(java.lang.String appName,
java.lang.String optionName,
boolean checkSigoption)
Return True if this app and option have a valid license, or no license is required.
|
boolean |
isValidOption(java.lang.String appName,
java.lang.String optionName)
Return True if this app and option exist in SigOption.
|
void |
reload()
Reload cache.
|
void |
reload(java.lang.String key)
For SignatureCache, does nothing.
|
protected java.util.Map sigoCache
SigOptionprotected java.util.Map sigoFlagCache
SigOptFlagprotected java.util.Map sigoAppCache
SigOptionprotected java.util.HashMap maxappsCache
MaxAppsprotected java.util.Map maxmoduleCache
MaxModulesprotected java.util.Map moduleMenuCache
MaxMenuprotected java.util.Map appmenuCache
MaxMenuprotected java.util.HashMap simpleAppmenuCache
MaxMenuprotected java.util.HashMap apptoolCache
MaxMenuprotected java.util.HashMap appsearchCache
MaxMenuprotected java.util.Map mainTbAppCache
protected java.util.Map mainNonMobileTbAppCache
protected java.util.Set authAppCache
MaxMenupublic void init()
throws MXException
init in interface MaximoCacheMXExceptionMaximoCache.init()public void init(MXServer mxs) throws MXException
mxs - MXServerMXExceptionpublic void reload()
throws MXException
reload in interface MaximoCacheMXExceptionMaximoCache.reload(),
SignatureCache.reloadCache()public void reload(java.lang.String key)
throws MXException
reload in interface MaximoCacheMXExceptionMaximoCache.reload(java.lang.String)public java.lang.String getName()
SIGNATURE.getName in interface MaximoCacheMaximoCache.getName()public java.util.Map getSigoCache(java.lang.String appName)
throws MXException,
java.rmi.RemoteException
appName - Application name.sigoCache.MXException - if there is problem loading
business object information.java.rmi.RemoteExceptionSignatureCache.getSigoCache()public boolean isValidOption(java.lang.String appName,
java.lang.String optionName)
throws MXException,
java.rmi.RemoteException
appName - Application name. The string is case sensitive.optionName - Option name. The string is case sensitive.MXException - if there is problem loading
business object information.java.rmi.RemoteExceptionpublic boolean isValidLicense(java.lang.String appName,
java.lang.String optionName,
boolean checkSigoption)
throws MXException,
java.rmi.RemoteException
appName - Application name.optionName - Option name.checkSigoption - True if sigoption cache should also be checked; false if we already have the sigoption info.MXException - if there is problem loading
business object information.java.rmi.RemoteExceptionpublic java.util.Map getSigoFlags(java.lang.String appName,
java.lang.String optionName)
throws MXException,
java.rmi.RemoteException
appName - Application name.MXException - if there is problem loading
business object information.java.rmi.RemoteExceptionpublic SigOptionInfo getSigoAppCache(java.lang.String appName) throws MXException, java.rmi.RemoteException
appName - Application name.sigoAppCache.MXException - if there is problem loading
business object information.java.rmi.RemoteExceptionpublic java.util.Map getMaxAppsCache()
throws MXException,
java.rmi.RemoteException
maxappsCache.maxappsCacheMXException - if there is problem loading
business object information.java.rmi.RemoteExceptionSignatureCache.reloadCache()public java.util.Set getMaxAppsForTb(java.lang.String mainTbName)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.List getNonMobileMaxAppsForTb(java.lang.String mainTbName)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.Set getAuthAppCache()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MaxAppsInfo getMaxAppsCache(java.lang.String appName) throws MXException, java.rmi.RemoteException
appName - Application name.maxappsCache.MXException - if there is problem loading
business object information.java.rmi.RemoteExceptionSignatureCache.getMaxAppsCache()public MaxModuleInfo getMaxModuleCache(java.lang.String moduleName) throws MXException, java.rmi.RemoteException
moduleName - Module name.maxmoduleCache.MXException - if there is problem loading
business object information.java.rmi.RemoteExceptionSignatureCache.getMaxModuleCache()public java.util.Map getModuleMenuCache()
throws MXException,
java.rmi.RemoteException
moduleMenuCache
(MaxMenu for menutype MODULE).moduleMenuCacheMXException - if there is problem loading
business object information.java.rmi.RemoteExceptionSignatureCache.reloadCache()public boolean isLoaded()