public class InteractionMigrator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INTERACTION_INT_GROUP
Interaction Integration Group
|
static java.lang.String |
INTERACTION_INT_PKGDEF
Interaction Integration Package Definition
|
static java.lang.String |
INTERACTION_OBJECT_GROUP
Interaction Object Group
|
static java.lang.String |
INTERACTION_OBJECT_PKGDEF
Interaction Object Package Definition
|
static MXLogger |
INTERACTIONLOGGER
Interaction logger for logging messages related to Interaction.
|
| Constructor and Description |
|---|
InteractionMigrator(java.lang.String name,
MXTransaction trans,
UserInfo userInfo)
Construct migrator
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
breakObjectWhere(java.lang.String where,
int maxLength,
java.util.List allWheres)
Break object and maxdomain where clause based on maximim sice of where clause field
|
java.util.List |
breakRelationWhere(java.lang.String where,
int maxLength,
java.util.List allWheres)
Break relation where clause based on maximim sice of where clause field
|
java.util.Map |
buildChildrenWhereClause()
Build map of where clauses for lower lavel objects
|
java.util.List |
buildCombineWhere(java.util.List domainWhere,
java.util.List objectWhere,
java.util.List relationWhere,
java.lang.String intObjectWhere)
Build combine list of all where clauses for object package
|
java.util.Map |
buildIntDMWhereClause()
Build where clases to set to DM packge
|
java.util.List |
buildObjectDMWhereList()
Build where clases to set to DM packge
|
void |
migrate(java.lang.String groupName,
java.lang.String defName,
java.util.Map whereMap)
Create and dictibute migration package
|
void |
migrateInteraction()
Migrate interaction
|
void |
setDMWhereClause(MboRemote packageDef,
java.lang.String groupName,
java.lang.String defName,
java.util.Map whereMap)
Set Deployment Manager where clause in the table
|
public static final java.lang.String INTERACTION_OBJECT_GROUP
public static final java.lang.String INTERACTION_INT_GROUP
public static final java.lang.String INTERACTION_OBJECT_PKGDEF
public static final java.lang.String INTERACTION_INT_PKGDEF
public static final MXLogger INTERACTIONLOGGER
public InteractionMigrator(java.lang.String name,
MXTransaction trans,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
name - - Interaction Nametrans - - Maximo transactionuserInfo - - User InfoMXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic void migrateInteraction()
throws MXException,
java.rmi.RemoteException
MXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exceptionpublic void migrate(java.lang.String groupName,
java.lang.String defName,
java.util.Map whereMap)
throws MXException,
java.rmi.RemoteException
groupName - DM group namedefName - DM package definition nameMXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exceptionpublic java.util.List buildObjectDMWhereList()
throws MXException,
java.rmi.RemoteException
MXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exceptionpublic java.util.Map buildIntDMWhereClause()
throws MXException,
java.rmi.RemoteException
MXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exceptionpublic java.util.Map buildChildrenWhereClause()
throws MXException,
java.rmi.RemoteException
MXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exceptionpublic void setDMWhereClause(MboRemote packageDef, java.lang.String groupName, java.lang.String defName, java.util.Map whereMap) throws MXException, java.rmi.RemoteException
packageDef - package definition MboSetgroupName - DM group namedefName - DM package definition namewhereMap - map of all where clases to setMXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exceptionpublic java.util.List breakRelationWhere(java.lang.String where,
int maxLength,
java.util.List allWheres)
throws MXException,
java.rmi.RemoteException
where - original where clausemaxLength - maximum length allowed for where clauseallWheres - list of where clausesMXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exceptionpublic java.util.List breakObjectWhere(java.lang.String where,
int maxLength,
java.util.List allWheres)
throws MXException,
java.rmi.RemoteException
where - original where clausemaxLength - maximum length allowed for where clauseallWheres - list of where clausesMXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exceptionpublic java.util.List buildCombineWhere(java.util.List domainWhere,
java.util.List objectWhere,
java.util.List relationWhere,
java.lang.String intObjectWhere)
throws MXException,
java.rmi.RemoteException
domainWhere - list of where clauses for maxdomainobjectWhere - list of where clauses for maxobjectcfgrelationWhere - list of where clauses for maxrelationshipintObjectWhere - where clause for maxintobjectMXException - Maximo Exceptionjava.rmi.RemoteException - Remote Exception