wt.vc
Class MigrateMasterSeries.Server

java.lang.Object
  extended bywt.vc.MigrateMasterSeries.Server
All Implemented Interfaces:
RemoteAccess
Enclosing class:
MigrateMasterSeries

public static class MigrateMasterSeries.Server
extends Object
implements RemoteAccess


Field Summary
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
MigrateMasterSeries.Server()
           
 
Method Summary
private static Connection getConnection()
           
private static WTContainerRef[] getContainerRefs(Connection conn)
           
private static Class getMasterClass(Class iterationClass)
           
private static ClassInfo[] getMasterClassInfos()
           
private static Map getSeriesContainersMap(WTContainerRef[] containerRefs)
           
private static String getUnionSQL(String selectAtts, ClassInfo[] infos, String whereClause)
           
static boolean runMigration()
           
private static void updateMasters(Map seriesContainersMap, Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrateMasterSeries.Server

public MigrateMasterSeries.Server()
Method Detail

runMigration

public static boolean runMigration()
                            throws WTException
Throws:
WTException

getConnection

private static Connection getConnection()
                                 throws WTException
Throws:
WTException

updateMasters

private static void updateMasters(Map seriesContainersMap,
                                  Connection conn)
                           throws WTException,
                                  SQLException
Throws:
WTException
SQLException

getSeriesContainersMap

private static Map getSeriesContainersMap(WTContainerRef[] containerRefs)
                                   throws WTException
Throws:
WTException

getMasterClass

private static Class getMasterClass(Class iterationClass)

getMasterClassInfos

private static ClassInfo[] getMasterClassInfos()
                                        throws WTException
Throws:
WTException

getContainerRefs

private static WTContainerRef[] getContainerRefs(Connection conn)
                                          throws WTException,
                                                 SQLException
Throws:
WTException
SQLException

getUnionSQL

private static String getUnionSQL(String selectAtts,
                                  ClassInfo[] infos,
                                  String whereClause)
                           throws WTException
Throws:
WTException