xmlBlaster 2.2.0 contributions API

org.xmlBlaster.contrib.dbupdate
Class OneToThree

java.lang.Object
  extended by org.xmlBlaster.contrib.dbupdate.OneToThree

public class OneToThree
extends java.lang.Object

Important: subjectId ending with a number can't be converted from xb_entries to xbstore.

You need to have a xmlBlaster.properties with JdbcQueue configured

Author:
Marcel

Constructor Summary
OneToThree(org.xmlBlaster.engine.ServerScope serverScopeOne, org.xmlBlaster.engine.ServerScope serverScopeThree, org.xmlBlaster.util.Global globalOne, org.xmlBlaster.util.Global globalThree)
           
 
Method Summary
 void closeReportFile()
           
 org.xmlBlaster.util.queue.jdbc.CommonTableDatabaseAccessor createClientAccessorOne()
           
 org.xmlBlaster.util.queue.jdbc.XBDatabaseAccessor createClientAccessorThree()
           
 void createReportFile()
           
 org.xmlBlaster.util.queue.jdbc.CommonTableDatabaseAccessor createServerScopeAccessorOne()
           
 org.xmlBlaster.util.queue.jdbc.XBDatabaseAccessor createServerScopeAccessorThree()
           
 org.xmlBlaster.util.queue.jdbc.XBStore getXBStore(org.xmlBlaster.util.queue.jdbc.XBDatabaseAccessor accessor, org.xmlBlaster.util.Global glob, org.xmlBlaster.util.queue.StorageId oldStorageId)
           
 void initConnections()
           
 void logToFile(java.lang.String text)
           
static void main(java.lang.String[] args)
           
 void transformClientSide()
           
 void transformServerScope()
           
 void wipeOutThree()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneToThree

public OneToThree(org.xmlBlaster.engine.ServerScope serverScopeOne,
                  org.xmlBlaster.engine.ServerScope serverScopeThree,
                  org.xmlBlaster.util.Global globalOne,
                  org.xmlBlaster.util.Global globalThree)
           throws org.xmlBlaster.util.XmlBlasterException
Throws:
org.xmlBlaster.util.XmlBlasterException
Method Detail

initConnections

public void initConnections()
                     throws java.lang.Exception
Throws:
java.lang.Exception

transformServerScope

public void transformServerScope()
                          throws java.lang.Exception
Throws:
java.lang.Exception

transformClientSide

public void transformClientSide()
                         throws java.lang.Exception
Throws:
java.lang.Exception

logToFile

public void logToFile(java.lang.String text)

createReportFile

public void createReportFile()
                      throws java.lang.Exception
Throws:
java.lang.Exception

closeReportFile

public void closeReportFile()

createServerScopeAccessorOne

public org.xmlBlaster.util.queue.jdbc.CommonTableDatabaseAccessor createServerScopeAccessorOne()
                                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

createClientAccessorOne

public org.xmlBlaster.util.queue.jdbc.CommonTableDatabaseAccessor createClientAccessorOne()
                                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createServerScopeAccessorThree

public org.xmlBlaster.util.queue.jdbc.XBDatabaseAccessor createServerScopeAccessorThree()
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createClientAccessorThree

public org.xmlBlaster.util.queue.jdbc.XBDatabaseAccessor createClientAccessorThree()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

wipeOutThree

public void wipeOutThree()
                  throws java.lang.Exception
Throws:
java.lang.Exception

getXBStore

public org.xmlBlaster.util.queue.jdbc.XBStore getXBStore(org.xmlBlaster.util.queue.jdbc.XBDatabaseAccessor accessor,
                                                         org.xmlBlaster.util.Global glob,
                                                         org.xmlBlaster.util.queue.StorageId oldStorageId)
                                                  throws org.xmlBlaster.util.XmlBlasterException
Throws:
org.xmlBlaster.util.XmlBlasterException

main

public static void main(java.lang.String[] args)

xmlBlaster 2.2.0 contributions API

Copyright © 1999-2014 The xmlBlaster.org contributers.