public class BulletinBoardCache extends java.lang.Object implements MaximoCache, FixedLoggers
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 |
|---|
BulletinBoardCache()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBBMSgStatusCount() |
java.lang.String |
getBBSetName() |
UserInfo |
getCurrentUserInfo()
Deprecated.
|
java.lang.String |
getName()
Returns the name of this object.
|
java.util.Vector |
getResultSetAttributes() |
java.util.Vector |
getResultSetAttributes(boolean reload) |
java.util.Vector |
getResultSetAttributes(java.lang.String isTrackViewedUnViewed) |
java.util.List |
getValidMessages() |
java.util.List |
getValidMessages(boolean reload)
Gets a MboSet of valid message mbos from the bbset passed in
|
int |
getValidMessagesCount()
Returns the Valid Messages MboSetRemote
If valid messages MboSet is null records are fetched from the DB
|
java.util.List |
getViewedMessages(java.lang.String user) |
void |
init()
Initialize
|
void |
init(MXServer mxserver)
Initialize and set MXServer
|
void |
reload()
Calls refresh() and refreshes the valid messages MboSet in a thread safe manner
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
void |
setCurrentUserInfo(UserInfo info) |
public void init()
throws MXException
init in interface MaximoCacheMXExceptionpublic void init(MXServer mxserver) throws MXException
mxserver - MXExceptionpublic int getValidMessagesCount()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic java.lang.String getBBSetName()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic java.util.Vector getResultSetAttributes(boolean reload)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.List getValidMessages(boolean reload)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.List getViewedMessages(java.lang.String user)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.Vector getResultSetAttributes()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.Vector getResultSetAttributes(java.lang.String isTrackViewedUnViewed)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.List getValidMessages()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int getBBMSgStatusCount()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void reload()
throws MXException
reload in interface MaximoCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic java.lang.String getName()
getName in interface MaximoCachepublic void setCurrentUserInfo(UserInfo info)
info - public UserInfo getCurrentUserInfo()