wt.epm.upgrade
Class CreateParameterMapMigratorX05

java.lang.Object
  extended bywt.epm.upgrade.CreateParameterMapMigratorX05
All Implemented Interfaces:
JavaMigrator

public class CreateParameterMapMigratorX05
extends Object
implements JavaMigrator


Field Summary
private static String IBA_PROPERTIES
           
 
Constructor Summary
CreateParameterMapMigratorX05()
           
 
Method Summary
private  boolean checkDefinition(DirectiveServices directive_services, String intHid)
           
private  Map loadIBAProperties(DirectiveServices directive_services)
           
 boolean runMigration(DirectiveServices directive_services)
          Run the migration.
private  String toInternalHid(String extHid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IBA_PROPERTIES

private static final String IBA_PROPERTIES
See Also:
Constant Field Values
Constructor Detail

CreateParameterMapMigratorX05

public CreateParameterMapMigratorX05()
Method Detail

runMigration

public boolean runMigration(DirectiveServices directive_services)
                     throws SQLException,
                            WTException
Description copied from interface: JavaMigrator
Run the migration.

Migrators should log all output to the given PrintWriter. This is the log that is created by RunMigrators. It is an autoflush writer.

Migrators should return true if they successfully completed migration and false otherwise. It is the migrator's responsibility to log failure reasons to the log.

Migrators should not concern themselves with committing the work on the connection. The MigratorRunner will commit the connection work after running each Migrator.

Specified by:
runMigration in interface JavaMigrator
Parameters:
directive_services - provide access to database, logging, and versioning information
Throws:
SQLException
WTException

loadIBAProperties

private Map loadIBAProperties(DirectiveServices directive_services)
                       throws WTException
Throws:
WTException

toInternalHid

private String toInternalHid(String extHid)

checkDefinition

private boolean checkDefinition(DirectiveServices directive_services,
                                String intHid)
                         throws WTException
Throws:
WTException