public class DbSchemaWizardController
extends org.openmdx.portal.servlet.AbstractWizardController
Modifier and Type | Class and Description |
---|---|
static class |
DbSchemaWizardController.FormFields
FormFields
|
Constructor and Description |
---|
DbSchemaWizardController() |
Modifier and Type | Method and Description |
---|---|
void |
doCancel()
Cancel action.
|
void |
doMigrateMediaToDB(DbSchemaWizardController.FormFields formFields)
Migrate media to DB action.
|
void |
doMigrateMediaToFS(DbSchemaWizardController.FormFields formFields)
Migrate media to FS action.
|
void |
doRefresh(DbSchemaWizardController.FormFields formFields)
Refresh action.
|
void |
doValidate(DbSchemaWizardController.FormFields formFields)
Validate action.
|
void |
doValidateAndFix(DbSchemaWizardController.FormFields formFields)
ValidateAndFix action.
|
void |
doValidateMedia(DbSchemaWizardController.FormFields formFields)
Validate media action.
|
protected Connection |
getConnection(String connectionUrl,
String userName,
String password)
Get database connection.
|
DbSchemaWizardController.FormFields |
getFormFields() |
List<String> |
getReport() |
protected void |
validateSchema(String connectionUrl,
String userName,
String password,
boolean fix)
Validate and fix database schema.
|
close, forward, getApp, getCodes, getCommand, getCurrentView, getErrorMessage, getExitAction, getFieldLabel, getFirstParameterValue, getForm, getForms, getObject, getObjectIdentity, getParameterValues, getPm, getProviderName, getRequest, getRequestId, getRequestParameter, getSegmentName, getServletPath, getServletPathPrefix, getSession, getTexts, getToolTip, getWizardName, handle, init, initFormFields, prepare, setApp, setCodes, setCurrentView, setExitAction, setForms, setObject, setObjectIdentity, setPm, setProviderName, setRequest, setRequestId, setSegmentName, setSession, setTexts
protected Connection getConnection(String connectionUrl, String userName, String password)
connectionUrl
- userName
- password
- protected void validateSchema(String connectionUrl, String userName, String password, boolean fix) throws org.openmdx.base.exception.ServiceException, SQLException
connectionUrl
- userName
- password
- fix
- org.openmdx.base.exception.ServiceException
SQLException
public void doRefresh(DbSchemaWizardController.FormFields formFields)
formFields
- public void doValidate(DbSchemaWizardController.FormFields formFields) throws org.openmdx.base.exception.ServiceException, SQLException
formFields
- org.openmdx.base.exception.ServiceException
SQLException
public void doValidateAndFix(DbSchemaWizardController.FormFields formFields) throws org.openmdx.base.exception.ServiceException, SQLException
formFields
- org.openmdx.base.exception.ServiceException
SQLException
public void doMigrateMediaToFS(DbSchemaWizardController.FormFields formFields)
formFields
- public void doMigrateMediaToDB(DbSchemaWizardController.FormFields formFields)
formFields
- public void doValidateMedia(DbSchemaWizardController.FormFields formFields)
formFields
- public void doCancel()
public DbSchemaWizardController.FormFields getFormFields()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.