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, 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
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<java.lang.String[]> |
getResultSetAttributes() |
java.util.Vector<java.lang.String[]> |
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 MaximoCache
MXException
public void init(MXServer mxserver) throws MXException
mxserver
- MXException
public int getValidMessagesCount() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getBBSetName() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Vector<java.lang.String[]> getResultSetAttributes(boolean reload) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getValidMessages(boolean reload) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getViewedMessages(java.lang.String user) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Vector<java.lang.String[]> getResultSetAttributes() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Vector getResultSetAttributes(java.lang.String isTrackViewedUnViewed) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getValidMessages() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getBBMSgStatusCount() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void reload() throws MXException
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
public java.lang.String getName()
getName
in interface MaximoCache
public void setCurrentUserInfo(UserInfo info)
info
- public UserInfo getCurrentUserInfo()