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, SQLLOGGER
appenderPrefix, 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
SigOption
protected java.util.Map sigoFlagCache
SigOptFlag
protected java.util.Map sigoAppCache
SigOption
protected java.util.HashMap maxappsCache
MaxApps
protected java.util.Map maxmoduleCache
MaxModules
protected java.util.Map moduleMenuCache
MaxMenu
protected java.util.Map appmenuCache
MaxMenu
protected java.util.HashMap simpleAppmenuCache
MaxMenu
protected java.util.HashMap apptoolCache
MaxMenu
protected java.util.HashMap appsearchCache
MaxMenu
protected java.util.Map mainTbAppCache
protected java.util.Map mainNonMobileTbAppCache
protected java.util.Set authAppCache
MaxMenu
public void init() throws MXException
init
in interface MaximoCache
MXException
MaximoCache.init()
public void init(MXServer mxs) throws MXException
mxs
- MXServerMXException
public void reload() throws MXException
reload
in interface MaximoCache
MXException
MaximoCache.reload()
,
SignatureCache.reloadCache()
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
MXException
MaximoCache.reload(java.lang.String)
public java.lang.String getName()
SIGNATURE
.getName
in interface MaximoCache
MaximoCache.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.RemoteException
SignatureCache.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.RemoteException
public 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.RemoteException
public 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.RemoteException
public 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.RemoteException
public java.util.Map getMaxAppsCache() throws MXException, java.rmi.RemoteException
maxappsCache
.maxappsCache
MXException
- if there is problem loading
business object information.java.rmi.RemoteException
SignatureCache.reloadCache()
public java.util.Set getMaxAppsForTb(java.lang.String mainTbName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getNonMobileMaxAppsForTb(java.lang.String mainTbName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Set getAuthAppCache() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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.RemoteException
SignatureCache.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.RemoteException
SignatureCache.getMaxModuleCache()
public java.util.Map getModuleMenuCache() throws MXException, java.rmi.RemoteException
moduleMenuCache
(MaxMenu for menutype MODULE).moduleMenuCache
MXException
- if there is problem loading
business object information.java.rmi.RemoteException
SignatureCache.reloadCache()
public boolean isLoaded()