wt.workflow.forum
Class MergeForums

java.lang.Object
  extended bywt.workflow.forum.MergeForums
All Implemented Interfaces:
RemoteAccess

public class MergeForums
extends Object
implements RemoteAccess


Field Summary
private static boolean VERBOSE
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
MergeForums()
           
 
Method Summary
private static void deleteExtraForum(long forumId, Connection connection)
           
private static String escape(String s)
           
static void main(String[] args)
           
static void mergeForums()
           
private static void movePostingsAndTopics(long origForumId, long forumId, Connection connection)
           
private static void update(String sql, Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

private static boolean VERBOSE
Constructor Detail

MergeForums

public MergeForums()
Method Detail

main

public static void main(String[] args)

mergeForums

public static void mergeForums()
                        throws SQLException,
                               WTException
Throws:
SQLException
WTException

movePostingsAndTopics

private static void movePostingsAndTopics(long origForumId,
                                          long forumId,
                                          Connection connection)
                                   throws SQLException,
                                          WTException
Throws:
SQLException
WTException

deleteExtraForum

private static void deleteExtraForum(long forumId,
                                     Connection connection)
                              throws SQLException,
                                     WTException
Throws:
SQLException
WTException

update

private static void update(String sql,
                           Connection connection)
                    throws WTException,
                           SQLException
Throws:
WTException
SQLException

escape

private static String escape(String s)