public class MaxDomValConditionCache 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 |
---|
MaxDomValConditionCache() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAllConditionNumOfDomain(java.lang.String domainId,
java.lang.String objectName)
Get all the condition numbers associated with any valueIDs of the domain
for the passed in objectname.
|
java.util.ArrayList<java.lang.String>[] |
getAllConditions(java.lang.String domainId,
java.lang.String valueId,
java.lang.String objectName)
Get all the conditions that applies to the object for a domain's particular valueID.
|
java.lang.String[] |
getAllValueIds(java.lang.String domainId,
java.lang.String objectName)
Get the valueIDs that have a condition within this domain and objectname (or any object).
|
java.lang.String |
getName()
The name of the cache is MaxDomValConditionCache (non-Javadoc)
|
void |
init()
Initialize the cache object.
|
void |
reload()
Load all the domain conditions to the original storage structure in the cache.
|
void |
reload(java.lang.String domainId)
Reload a given domainid -- get connection and call
reload with connection . |
void |
reload(java.lang.String domainId,
java.sql.Connection con)
Reload domValConditions for a specified domain.
|
public java.lang.String getName()
getName
in interface MaximoCache
MaximoCache.getName()
public void init() throws MXException
MaximoCache
init
in interface MaximoCache
MXException
public void reload() throws MXException
reload
in interface MaximoCache
MXException
reload(String, Connection)
public void reload(java.lang.String domainId) throws MXException
reload with connection
.reload
in interface MaximoCache
MXException
reload(String, Connection)
public void reload(java.lang.String domainId, java.sql.Connection con) throws MXException
MXException
public java.lang.String[] getAllConditionNumOfDomain(java.lang.String domainId, java.lang.String objectName)
domainId
- objectName
- public java.util.ArrayList<java.lang.String>[] getAllConditions(java.lang.String domainId, java.lang.String valueId, java.lang.String objectName)
domainId
- valueId
- objectName
- public java.lang.String[] getAllValueIds(java.lang.String domainId, java.lang.String objectName)
domainId
- objectName
-