public class DataRestrictionCache extends java.lang.Object implements MaximoCache, FixedLoggers
| Modifier and Type | Class and Description |
|---|---|
static class |
DataRestrictionCache.RestrictionBundle
This class represent a collection of restrictions of a certain restriction level that can be applied to an object or
attribute.
|
| Modifier and Type | Field and Description |
|---|---|
LRUCache |
fastAccess
Enable instant retrival of a already figured out ResourceBundle.
|
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| Constructor and Description |
|---|
DataRestrictionCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearFromFastAccess(java.lang.String userName) |
void |
dump() |
DataRestrictionCache.RestrictionBundle |
get(int level,
MboSetRemote msr)
Get a HashSet of DataRestriction objects of the specified restriction level for the given object.
|
DataRestrictionCache.RestrictionBundle |
get(int level,
MboSetRemote msr,
java.lang.String attrName)
Get a restrictions of the specified restriction level for the given attribute, or object
if the attribute parameter is null.
|
java.lang.String |
getName()
Returns the name of the cache object.
|
void |
init()
Initialize the cache object.
|
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
public LRUCache fastAccess
public DataRestrictionCache.RestrictionBundle get(int level, MboSetRemote msr) throws MXException, java.rmi.RemoteException
level - msr - MXExceptionjava.rmi.RemoteExceptionpublic DataRestrictionCache.RestrictionBundle get(int level, MboSetRemote msr, java.lang.String attrName) throws MXException, java.rmi.RemoteException
level - msr - attrName - MXExceptionjava.rmi.RemoteExceptionpublic void clearFromFastAccess(java.lang.String userName)
public java.lang.String getName()
MaximoCachegetName in interface MaximoCachepublic void init()
throws MXException
MaximoCacheinit in interface MaximoCacheMXExceptionpublic void reload()
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic void dump()