public class OslcProviderMigrator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OSLC_PROVIDER_GROUP
OSLC Group
|
static java.lang.String |
OSLC_PROVIDER_PKGDEF
Interaction Object Package Definition
|
static MXLogger |
OSLCLOGGER
Interaction logger for logging messages related to Interaction.
|
Constructor and Description |
---|
OslcProviderMigrator(MXTransaction trans,
UserInfo userInfo)
Construct migrator
|
Modifier and Type | Method and Description |
---|---|
void |
buildChildrenWhereClause(java.lang.String authWhere,
java.lang.String optionWhere,
java.lang.String presentWhere)
Build map of where clauses for lower lavel objects
|
java.util.Map<java.lang.String,java.lang.String> |
buildDMWhereClause()
Build where clases to set to DM packge
|
void |
migrate(java.lang.String groupName,
java.lang.String defName,
java.util.Map<java.lang.String,java.lang.String> whereMap)
Create and dictibute migration package
|
void |
migrateProvider(java.lang.String name)
Migrate Provider
|
void |
setDMWhereClause(MboRemote packageDef,
java.lang.String groupName,
java.lang.String defName,
java.util.Map<java.lang.String,java.lang.String> whereMap)
Set Deployment Manager where clause in the table
|
public static final java.lang.String OSLC_PROVIDER_GROUP
public static final java.lang.String OSLC_PROVIDER_PKGDEF
public static final MXLogger OSLCLOGGER
public OslcProviderMigrator(MXTransaction trans, UserInfo userInfo) throws MXException, java.rmi.RemoteException
trans
- - Maximo transactionuserInfo
- - User InfoMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void migrateProvider(java.lang.String name) throws MXException, java.rmi.RemoteException
name
- - Provider NameMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void migrate(java.lang.String groupName, java.lang.String defName, java.util.Map<java.lang.String,java.lang.String> whereMap) throws MXException, java.rmi.RemoteException
groupName
- DM group namedefName
- DM package definition nameMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.util.Map<java.lang.String,java.lang.String> buildDMWhereClause() throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void buildChildrenWhereClause(java.lang.String authWhere, java.lang.String optionWhere, java.lang.String presentWhere) throws MXException, java.rmi.RemoteException
authWhere
- app authorization where clauseoptionWhere
- signature option where clausepresentWhere
- presentataion where clauseMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic void setDMWhereClause(MboRemote packageDef, java.lang.String groupName, java.lang.String defName, java.util.Map<java.lang.String,java.lang.String> 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 Exception