public class MaximoDD extends java.lang.Object implements MaximoCache, FixedLoggers
Modifier and Type | Class and Description |
---|---|
static class |
MaximoDD.PropertyListener |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
fetchResultStopLimit |
static java.lang.String |
fetchStopExclusion |
static java.lang.String |
fetchStopLimitEnabled |
static long |
ID_SEED |
static java.lang.String |
lookupMaxRowProperty |
static long |
MT_OFFSET |
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 |
---|
MaximoDD()
Basic construtor (does nothing really)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAltIxName(java.lang.String table)
Get the alternate index name of this table.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getAppFieldDefaults(java.lang.String appName,
java.lang.String objectName,
java.lang.String siteid,
java.lang.String userName,
java.util.HashSet groupNames)
For a given appname,objectName,siteid,user and group returns appfielddefaults records
|
java.lang.String |
getBaseCurrency(java.lang.String orgId)
Returns the base currency for a given orgid.
|
java.lang.String |
getBaseObjectName(java.lang.String tableName)
Returns name of the base table for an extension table.
|
java.lang.String |
getContentAttrName(java.lang.String table)
Returns the content attribute name of the given table.
|
double |
getDB2Version()
Get the DB2 version (e.g.
|
int |
getDBPlatform()
Return the DB platform.
|
java.lang.String |
getDomainFactoryName(java.lang.String domainType)
The method to get domain factory class name.
|
DomainInfo |
getDomainInfo(java.lang.String name)
Return information about a specific domain
|
java.util.Iterator |
getDomainsInfo()
Return information about all domains
|
java.lang.String |
getExtTableName(java.lang.String table)
Returns the extended table name for a table
|
java.util.TreeMap<java.lang.Integer,java.util.HashMap<java.lang.String,java.lang.Object>> |
getGLConfigure()
Return template glConfigure TreeMap of information from GLConfigure table
for null orgid.
|
java.util.TreeMap<java.lang.Integer,java.util.HashMap<java.lang.String,java.lang.Object>> |
getGLConfigure(java.lang.String orgid)
Return glConfigure TreeMap of information from GLConfigure table
for the specified orgid.
|
java.lang.String[] |
getIndexInfo(java.lang.String ixname)
If the specified index names is defined in our metadata as an index,
then return the names of the columns that participate in the index.
|
java.lang.String |
getLangCodeColumn(java.lang.String table)
Returns the column name for the language code column of the table.
|
java.lang.String |
getLangTableName(java.lang.String table)
Returns the language table of the given table.
|
MboSetInfo |
getMboSetInfo(java.lang.String ms)
Return Information about a specified MboSet
|
java.util.Iterator |
getMboSetsInfo()
Return Information about all MboSets in the dictionary
|
java.lang.String |
getName()
Returns the name of this cache object
|
double |
getOraVersion()
Get the Oracle version (e.g.
|
java.lang.String |
getOrgId(java.lang.String siteId)
Returns the orgid for a given siteid.
|
RelationInfo |
getRelationInfo(java.lang.String n)
Deprecated.
This method is nolonger supported. Returns null.
|
java.util.HashMap<java.lang.String,RelationInfo> |
getRelationships(java.lang.String objectName)
Looks up for the passed in object name in the cache and
returns a HashMap object that contains all the relationships
defined for the business object, if found, otherwise returns null.
|
java.util.Iterator |
getRelationsInfo()
Return Information about all MboSet relationships
|
java.lang.String |
getSequenceName(java.lang.String tbName,
java.lang.String colName)
Gets the sequence name for the table name and column name
|
ServiceInfo |
getServiceInfo(java.lang.String service)
Return information about the specified service
|
java.util.Iterator |
getServicesInfo()
Return info about all services
|
int |
getStorageType(java.lang.String table)
Return the storage type of the table.
|
Translate |
getTranslator()
Return the translator object.
|
java.lang.String |
getUniqueIdColumn(java.lang.String table)
Returns the unique id column of the given table.
|
void |
init()
Build the data dictionary.
|
boolean |
isDeltaStorageObject(java.lang.String objectName) |
boolean |
isESigEnabled(java.lang.String applicationName,
java.lang.String optionName)
Checks to see if a particular option is esig enabled
for the given application.
|
boolean |
isExtTable(java.lang.String tableName)
Returns true if tableName is a name to an extension table.
|
boolean |
isLongDescriptionSearchable()
Returns true to indicate that the longdescription is searchable
through QBE.
|
boolean |
isMLInUse(java.lang.String table)
Returns wether the given table is ml in use.
|
boolean |
isSiteInOrganization(java.lang.String siteId,
java.lang.String orgId)
Returns whether the siteId belongs to the orgId or not.
|
boolean |
isValidOrganization(java.lang.String orgId)
Returns whether the organization is valid or not.
|
boolean |
isValidSite(java.lang.String siteId)
Returns whether the site is valid or not.
|
void |
reload()
Reload all of MaximoDD.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
boolean |
storeBlobAsBlob()
Identifies whether the maxtype BLOB is stored as a native Blob datatype.
|
boolean |
storeClobAsClob()
Identifies whether the maxtype CLOB is stored as a native Clob datatype.
|
boolean |
storeLongalnAsClob()
Identifies whether the maxtype LONGALN is stored as a native Clob datatype.
|
java.lang.String |
toString()
Dumps the entire dictionary as a string - use for debugging
only
|
void |
updateMboValueInfoWithDomainInfo()
Loop though the existing mbovalueinfo which has a domain info associated with
it and update the reference using the new DomainInfo object in the domain info
cache.
|
void |
updateMboValueInfoWithDomainInfo(java.lang.String domainId)
Loop though the existing mbovalueinfo which has the specified domain associated with
it and update the reference using the new DomainInfo object in the domain info
cache.
|
public static final long ID_SEED
public static final java.lang.String fetchResultStopLimit
public static final java.lang.String fetchStopLimitEnabled
public static final java.lang.String fetchStopExclusion
public static final java.lang.String lookupMaxRowProperty
public static final long MT_OFFSET
public java.lang.String getName()
getName
in interface MaximoCache
public void init() throws MXException
init
in interface MaximoCache
MXException
public void reload() throws MXException
reload
with the key parameter.reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- Currently supported keys are as follows.
OBJECT:objectname
-- See reloadObject
.
Multiple object names can be delimited by "|".
One or more object names must be specified.
DOMAININFO:domainname
-- See reloadDomain
.
ESIGOPTIONS
-- Updates the names of all eSig-enabled options, reading from SigOption table.
This updates the eSigOptions
HashMap.
See loadESigOptions
.
GLCONFIGURE
-- Updates the information from GLConfigure table.
RELATIONS
-- Updates all relationships, reading from MaxRelationship table.
This updates the relations
HashMap.
See loadRelationsInfo
and
loadRelationsInfoToLangTables
.
Reload is invoked when MaxRelationshipSet is saved.
METASEQUENCE
-- Updates the sequences for the metadata tables.
See loadSequenceInfo
.
For SqlServer, also see MaxSequenceProvider
.
Reload is invoked when configuration changes are backed out and the metadata sequences are rebuilt
(see ConfigureService
).
INDEXES
-- Clears the lazy-load cache of indexes.*
MXException
public int getDBPlatform()
ORACLE, SQLSERVER, DB2
.UpgConstants
public double getOraVersion()
Util.getOracleVersion(boolean)
public double getDB2Version()
Util.getDB2Version(boolean)
public java.util.HashMap<java.lang.String,java.lang.String> getAppFieldDefaults(java.lang.String appName, java.lang.String objectName, java.lang.String siteid, java.lang.String userName, java.util.HashSet groupNames)
appName
- objectName
- siteid
- userName
- groupName
- MXException
public java.lang.String getSequenceName(java.lang.String tbName, java.lang.String colName)
tbName
- colName
- public java.util.HashMap<java.lang.String,RelationInfo> getRelationships(java.lang.String objectName)
objectName
- name of a business objectpublic void updateMboValueInfoWithDomainInfo()
public void updateMboValueInfoWithDomainInfo(java.lang.String domainId)
public boolean isLongDescriptionSearchable()
public java.lang.String getDomainFactoryName(java.lang.String domainType) throws MXException
domainType
- MXException
public java.lang.String getOrgId(java.lang.String siteId)
siteId
- public boolean isValidSite(java.lang.String siteId)
siteId
- public boolean isValidOrganization(java.lang.String orgId)
orgId
- public boolean isSiteInOrganization(java.lang.String siteId, java.lang.String orgId)
siteId
- orgId
- public java.util.TreeMap<java.lang.Integer,java.util.HashMap<java.lang.String,java.lang.Object>> getGLConfigure()
getGLConfigure
.glConfigure
,
getGLConfigure(String)
public java.util.TreeMap<java.lang.Integer,java.util.HashMap<java.lang.String,java.lang.Object>> getGLConfigure(java.lang.String orgid)
orgid
- glConfigure
public boolean isESigEnabled(java.lang.String applicationName, java.lang.String optionName)
applicationName
- optionName
- public java.lang.String getBaseCurrency(java.lang.String orgId)
orgId
- public Translate getTranslator()
public java.lang.String toString()
toString
in class java.lang.Object
public ServiceInfo getServiceInfo(java.lang.String service)
service
- public java.util.Iterator getServicesInfo()
public java.lang.String[] getIndexInfo(java.lang.String ixname) throws MXException, java.rmi.RemoteException
ixname
- Index nameMXException
java.rmi.RemoteException
public MboSetInfo getMboSetInfo(java.lang.String ms)
ms
- public java.util.Iterator getMboSetsInfo()
public RelationInfo getRelationInfo(java.lang.String n)
public java.util.Iterator getRelationsInfo()
public java.util.Iterator getDomainsInfo()
public DomainInfo getDomainInfo(java.lang.String name)
name
- public boolean storeClobAsClob()
public boolean storeLongalnAsClob()
public boolean storeBlobAsBlob()
public java.lang.String getLangTableName(java.lang.String table)
table
- public java.lang.String getUniqueIdColumn(java.lang.String table)
table
- public java.lang.String getContentAttrName(java.lang.String table)
table
- public java.lang.String getLangCodeColumn(java.lang.String table)
table
- public boolean isMLInUse(java.lang.String table)
table
- public java.lang.String getAltIxName(java.lang.String table)
table
- public int getStorageType(java.lang.String table)
table
- public boolean isDeltaStorageObject(java.lang.String objectName)
public java.lang.String getExtTableName(java.lang.String table)
table
- public boolean isExtTable(java.lang.String tableName)
tableName
- public java.lang.String getBaseObjectName(java.lang.String tableName)
tableName
-