org.nuiton.topia.migration
Class TopiaMigrationCallbackByClassNG.MigrationCallBackForVersion
java.lang.Object
org.nuiton.topia.migration.TopiaMigrationCallbackByClassNG.MigrationCallBackForVersion
- Enclosing class:
- TopiaMigrationCallbackByClassNG
public abstract static class TopiaMigrationCallbackByClassNG.MigrationCallBackForVersion
- extends Object
Call back for a given version.
- Since:
- 2.5
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
callBack
protected TopiaMigrationCallbackByClassNG callBack
TopiaMigrationCallbackByClassNG.MigrationCallBackForVersion
public TopiaMigrationCallbackByClassNG.MigrationCallBackForVersion()
getVersion
public abstract org.nuiton.util.Version getVersion()
setCallBack
public void setCallBack(TopiaMigrationCallbackByClassNG callBack)
prepareMigration
protected String[] prepareMigration(TopiaContextImplementor tx,
boolean showSql,
boolean showProgression)
throws TopiaException
- Throws:
TopiaException
prepareMigrationScript
protected abstract void prepareMigrationScript(TopiaContextImplementor tx,
List<String> queries,
boolean showSql,
boolean showProgression)
throws TopiaException
- Throws:
TopiaException
executeSQL
public void executeSQL(TopiaContextImplementor tx,
String... sqls)
throws TopiaException
- Throws:
TopiaException
executeSQL
public void executeSQL(TopiaContextImplementor tx,
boolean showSql,
boolean showProgression,
String... sqls)
throws TopiaException
- Throws:
TopiaException
Copyright © 2004-2012 CodeLutin. All Rights Reserved.