org.apache.jetspeed.tools.migration
Class JetspeedRegistryMigration

java.lang.Object
  extended by org.apache.jetspeed.tools.migration.JetspeedRegistryMigration
All Implemented Interfaces:
JetspeedMigration

public class JetspeedRegistryMigration
extends java.lang.Object
implements JetspeedMigration

Jetspeed Migration for Registry component.

Version:
$Id$
Author:
Randy Watler

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.jetspeed.tools.migration.JetspeedMigration
JetspeedMigration.Static
 
Field Summary
 
Fields inherited from interface org.apache.jetspeed.tools.migration.JetspeedMigration
FETCH_SIZE, JETSPEED_SCHEMA_VERSION_2_1_3, JETSPEED_SCHEMA_VERSION_2_1_4, JETSPEED_SCHEMA_VERSION_2_2_0, JETSPEED_SCHEMA_VERSION_2_2_1, JETSPEED_SCHEMA_VERSION_UNKNOWN, LAYOUT_DECORATOR_2_1_X_TO_2_2_X_MIGRATION_MAP, PORTLET_DECORATOR_2_1_X_TO_2_2_X_MIGRATION_MAP, PORTLET_NAME_2_1_X_TO_2_2_X_MIGRATION_MAP
 
Constructor Summary
JetspeedRegistryMigration()
           
 
Method Summary
 int detectSourceVersion(java.sql.Connection sourceConnection, int sourceVersion)
           
 java.lang.String getName()
           
 JetspeedMigrationResult migrate(java.sql.Connection sourceConnection, int sourceVersion, java.sql.Connection targetConnection, JetspeedMigrationListener migrationListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetspeedRegistryMigration

public JetspeedRegistryMigration()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface JetspeedMigration

detectSourceVersion

public int detectSourceVersion(java.sql.Connection sourceConnection,
                               int sourceVersion)
                        throws java.sql.SQLException
Specified by:
detectSourceVersion in interface JetspeedMigration
Throws:
java.sql.SQLException

migrate

public JetspeedMigrationResult migrate(java.sql.Connection sourceConnection,
                                       int sourceVersion,
                                       java.sql.Connection targetConnection,
                                       JetspeedMigrationListener migrationListener)
                                throws java.sql.SQLException
Specified by:
migrate in interface JetspeedMigration
Throws:
java.sql.SQLException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.