public class SignatureCache extends java.lang.Object implements MaximoCache, FixedLoggers
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<java.lang.String> |
getAuthAppCache() |
java.util.Map<java.lang.String,MaxAppsInfo> |
getMaxAppsCache()
Return
maxappsCache . |
MaxAppsInfo |
getMaxAppsCache(java.lang.String appName)
Return the MaxApps info for the app.
|
java.util.Set<java.lang.String> |
getMaxAppsForTb(java.lang.String mainTbName) |
MaxModuleInfo |
getMaxModuleCache(java.lang.String moduleName)
Return the MaxModules info for the module.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,MaxMenuInfo>> |
getModuleMenuCache()
Return
moduleMenuCache
(MaxMenu for menutype MODULE). |
java.lang.String |
getName()
Return
SIGNATURE . |
java.util.List<java.lang.String> |
getNonMobileMaxAppsForTb(java.lang.String mainTbName) |
SigOptionInfo |
getSigoAppCache(java.lang.String appName)
Return the SigOption info for the app.
|
java.util.Map<java.lang.String,SigOptionInfo> |
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<java.lang.String,java.lang.String> |
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.
|
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()
,
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<java.lang.String,SigOptionInfo> 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
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<java.lang.String,java.lang.String> 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<java.lang.String,MaxAppsInfo> getMaxAppsCache() throws MXException, java.rmi.RemoteException
maxappsCache
.maxappsCache
MXException
- if there is problem loading
business object information.java.rmi.RemoteException
reloadCache()
public java.util.Set<java.lang.String> getMaxAppsForTb(java.lang.String mainTbName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List<java.lang.String> getNonMobileMaxAppsForTb(java.lang.String mainTbName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Set<java.lang.String> 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
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
getMaxModuleCache()
public java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,MaxMenuInfo>> getModuleMenuCache() throws MXException, java.rmi.RemoteException
moduleMenuCache
(MaxMenu for menutype MODULE).moduleMenuCache
MXException
- if there is problem loading
business object information.java.rmi.RemoteException
reloadCache()
public boolean isLoaded()