Package | Description |
---|---|
com.ibm.tivoli.maximo.dbmanage.connection | |
com.ibm.tivoli.maximo.integrity | |
com.ibm.tivoli.maximo.integrity.check |
Modifier and Type | Field and Description |
---|---|
static MTContext |
MTContext.LANDLORD |
static MTContext |
MTContext.MASTER |
Modifier and Type | Method and Description |
---|---|
MTContext |
MTConnection.getContext()
Get the current context.
|
MTContext |
ContextSql.getContext() |
MTContext |
MTConnection.getContextForQuery(java.lang.String sql) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<MTContext> |
MTConnection.getAllContexts() |
java.util.List<DoubleKey<MTContext,java.sql.SQLException>> |
MTSQLException.getExceptionsWithContext()
Returns the list of exceptions that were caught
|
java.util.List<MTContext> |
MTConnection.getTargetContext()
Get the Target Context list.
|
java.util.Set<MTContext> |
MTConnection.getTenantContexts()
Returns all contexts except the Master context.
|
Modifier and Type | Method and Description |
---|---|
void |
MTSQLException.addException(MTContext context,
java.sql.SQLException se)
Add the exception and the context where the exception was thrown.
|
int |
MTContext.compareTo(MTContext arg0) |
java.sql.Connection |
MTConnection.getContextConnection(MTContext context) |
void |
MTConnection.pushContext(MTContext context) |
void |
MTConnection.setTargetContext(MTContext c) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<ContextSql> |
ContextSql.createContexts(java.util.Collection<MTContext> contexts,
java.lang.String sql)
Build multiple ContextSql with the same SQL.
|
void |
MTConnection.pushContext(java.util.List<MTContext> contextList) |
int |
MTSQLException.replaceInChain(DoubleKey<MTContext,java.sql.SQLException> target,
DoubleKey<MTContext,java.sql.SQLException> replacement)
Replace an exception in the chained exceptions.
|
int |
MTSQLException.replaceInChain(DoubleKey<MTContext,java.sql.SQLException> target,
DoubleKey<MTContext,java.sql.SQLException> replacement)
Replace an exception in the chained exceptions.
|
void |
MTConnection.setTargetContexts(java.util.Collection<MTContext> c)
When the target context is set, only this context will be
used for operations & selects on TRANSACTIONAL, DELTA, and TEMPLATE tables.
|
Constructor and Description |
---|
ContextSql(MTContext context,
java.lang.String sql) |
Modifier and Type | Method and Description |
---|---|
MTContext |
ICMessage.getContext() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<MTContext> |
DatabaseInformation.getSelectedTenants()
Get the set of tenants selected.
|
java.util.Set<MTContext> |
DatabaseInformation.getSelectedUsers()
Returns the selected tenants, but returns all tenants, including the master, when no tenant is targeted.
|
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
DatabaseInformation.getConnection(MTContext c)
Get the connection for the context.
|
void |
ICMessage.setContext(MTContext context)
Set the tenant context for this message.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseInformation.setSelectedTenants(java.util.Set<MTContext> tenants)
Select tenants for testing.
|
Constructor and Description |
---|
TenantSpecificRepair(MTContext context,
Repair repair,
DatabaseInformation di) |