wt.workflow.engine
Class MigrateWfQueueEntries

java.lang.Object
  extended bywt.workflow.engine.MigrateWfQueueEntries
All Implemented Interfaces:
RemoteAccess

public class MigrateWfQueueEntries
extends Object
implements RemoteAccess

Migrate all 6.2.6 ScheduleQueueEntry amd QueueEntry objects to equivalent 7.0 entries. This process consists simply in the removal of the ObjectIdentifier argument from the argument list. This process is facilitate by the fact that this argument is always the last. Only entries that correspond to the followng methods are affected.

QueueEntry

ScheduleQueueEntry

This class can be called stand-alone by issuing the command: java wt.workflow.engine.MigrateWfQueueEntries or the 'doMigrate' can be called from another class to perform the migration of the entries, as shown below: wt.workflow.engine.MigrateWfQueueEntries.doMigrate ();


Field Summary
private static String[] processingMethods
           
private static String[] scheduleMethods
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
MigrateWfQueueEntries()
           
 
Method Summary
static void _doMigrate()
           
static void doMigrate()
           
private static Vector getArgs(WtQueueEntry queue_entry)
           
private static QueryResult getEntries(Class entry_class, String[] method_names)
           
private static ObjectIdentifier getOid(Object obj)
           
static void main(String[] args)
           
private static void migrateEntry(WtQueueEntry queue_entry)
           
private static void setArgs(WtQueueEntry queue_entry, Vector args)
           
private static String show(WtQueueEntry entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processingMethods

private static final String[] processingMethods

scheduleMethods

private static final String[] scheduleMethods
Constructor Detail

MigrateWfQueueEntries

public MigrateWfQueueEntries()
Method Detail

doMigrate

public static void doMigrate()
                      throws WTException
Throws:
WTException

_doMigrate

public static void _doMigrate()
                       throws WTException
Throws:
WTException

getEntries

private static QueryResult getEntries(Class entry_class,
                                      String[] method_names)
                               throws WTException
Throws:
WTException

migrateEntry

private static void migrateEntry(WtQueueEntry queue_entry)
                          throws WTException
Throws:
WTException

getArgs

private static Vector getArgs(WtQueueEntry queue_entry)
                       throws WTException
Throws:
WTException

setArgs

private static void setArgs(WtQueueEntry queue_entry,
                            Vector args)
                     throws WTException
Throws:
WTException

main

public static void main(String[] args)

show

private static String show(WtQueueEntry entry)
                    throws WTException
Throws:
WTException

getOid

private static ObjectIdentifier getOid(Object obj)
                                throws WTException
Throws:
WTException