com.ibm.tivoli.maximo.oslc.consumer

Class OslcProviderMigrator

  • java.lang.Object
    • com.ibm.tivoli.maximo.oslc.consumer.OslcProviderMigrator


  • public class OslcProviderMigrator
    extends java.lang.Object
    Interaction Migrator.
    • Field Summary

      Fields 
      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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 buildDMWhereClause()
      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 migrateProvider(java.lang.String name)
      Migrate Provider
      void setDMWhereClause(MboRemote packageDef, java.lang.String groupName, java.lang.String defName, java.util.Map whereMap)
      Set Deployment Manager where clause in the table
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OSLC_PROVIDER_GROUP

        public static final java.lang.String OSLC_PROVIDER_GROUP
        OSLC Group
        See Also:
        Constant Field Values
      • OSLC_PROVIDER_PKGDEF

        public static final java.lang.String OSLC_PROVIDER_PKGDEF
        Interaction Object Package Definition
        See Also:
        Constant Field Values
      • OSLCLOGGER

        public static final MXLogger OSLCLOGGER
        Interaction logger for logging messages related to Interaction.
    • Constructor Detail

      • OslcProviderMigrator

        public OslcProviderMigrator(MXTransaction trans,
                                    UserInfo userInfo)
                             throws MXException,
                                    java.rmi.RemoteException
        Construct migrator
        Parameters:
        trans - - Maximo transaction
        userInfo - - User Info
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
    • Method Detail

      • migrateProvider

        public void migrateProvider(java.lang.String name)
                             throws MXException,
                                    java.rmi.RemoteException
        Migrate Provider
        Parameters:
        name - - Provider Name
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • migrate

        public void migrate(java.lang.String groupName,
                            java.lang.String defName,
                            java.util.Map whereMap)
                     throws MXException,
                            java.rmi.RemoteException
        Create and dictibute migration package
        Parameters:
        groupName - DM group name
        defName - DM package definition name
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • buildDMWhereClause

        public java.util.Map buildDMWhereClause()
                                         throws MXException,
                                                java.rmi.RemoteException
        Build where clases to set to DM packge
        Returns:
        map of where clases
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • buildChildrenWhereClause

        public void buildChildrenWhereClause(java.lang.String authWhere,
                                             java.lang.String optionWhere,
                                             java.lang.String presentWhere)
                                      throws MXException,
                                             java.rmi.RemoteException
        Build map of where clauses for lower lavel objects
        Parameters:
        authWhere - app authorization where clause
        optionWhere - signature option where clause
        presentWhere - presentataion where clause
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
      • setDMWhereClause

        public void setDMWhereClause(MboRemote packageDef,
                                     java.lang.String groupName,
                                     java.lang.String defName,
                                     java.util.Map whereMap)
                              throws MXException,
                                     java.rmi.RemoteException
        Set Deployment Manager where clause in the table
        Parameters:
        packageDef - package definition MboSet
        groupName - DM group name
        defName - DM package definition name
        whereMap - map of all where clases to set
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception