|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JetspeedMigration
Jetspeed Migration interface.
Nested Class Summary | |
---|---|
static class |
JetspeedMigration.Static
Static utility functions class. |
Field Summary | |
---|---|
static int |
FETCH_SIZE
|
static int |
JETSPEED_SCHEMA_VERSION_2_1_3
|
static int |
JETSPEED_SCHEMA_VERSION_2_1_4
|
static int |
JETSPEED_SCHEMA_VERSION_2_2_0
|
static int |
JETSPEED_SCHEMA_VERSION_2_2_1
|
static int |
JETSPEED_SCHEMA_VERSION_UNKNOWN
|
static java.util.Map<java.lang.String,java.lang.String> |
LAYOUT_DECORATOR_2_1_X_TO_2_2_X_MIGRATION_MAP
|
static java.util.Map<java.lang.String,java.lang.String> |
PORTLET_DECORATOR_2_1_X_TO_2_2_X_MIGRATION_MAP
|
static java.util.Map<java.lang.String,java.lang.String> |
PORTLET_NAME_2_1_X_TO_2_2_X_MIGRATION_MAP
|
Method Summary | |
---|---|
int |
detectSourceVersion(java.sql.Connection sourceConnection,
int sourceVersion)
Detect Jetspeed schema version of source database. |
java.lang.String |
getName()
Get migration name. |
JetspeedMigrationResult |
migrate(java.sql.Connection sourceConnection,
int sourceVersion,
java.sql.Connection targetConnection,
JetspeedMigrationListener migrationListener)
Migrate data from source to target database. |
Field Detail |
---|
static final int FETCH_SIZE
static final int JETSPEED_SCHEMA_VERSION_UNKNOWN
static final int JETSPEED_SCHEMA_VERSION_2_1_3
static final int JETSPEED_SCHEMA_VERSION_2_1_4
static final int JETSPEED_SCHEMA_VERSION_2_2_0
static final int JETSPEED_SCHEMA_VERSION_2_2_1
static final java.util.Map<java.lang.String,java.lang.String> PORTLET_NAME_2_1_X_TO_2_2_X_MIGRATION_MAP
static final java.util.Map<java.lang.String,java.lang.String> LAYOUT_DECORATOR_2_1_X_TO_2_2_X_MIGRATION_MAP
static final java.util.Map<java.lang.String,java.lang.String> PORTLET_DECORATOR_2_1_X_TO_2_2_X_MIGRATION_MAP
Method Detail |
---|
java.lang.String getName()
int detectSourceVersion(java.sql.Connection sourceConnection, int sourceVersion) throws java.sql.SQLException
sourceConnection
- connection to source databasesourceVersion
- detected minimal source schema version
java.sql.SQLException
- on SQL error or version incompatibilityJetspeedMigrationResult migrate(java.sql.Connection sourceConnection, int sourceVersion, java.sql.Connection targetConnection, JetspeedMigrationListener migrationListener) throws java.sql.SQLException
sourceConnection
- connection to source databasesourceVersion
- source versiontargetConnection
- connection to target databasemigrationListener
- migration listener
java.sql.SQLException
- on SQL error or version incompatibility
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |