|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.ao.schema.BackupRestoreImpl
public class BackupRestoreImpl
Constructor Summary | |
---|---|
BackupRestoreImpl()
|
Method Summary | |
---|---|
java.util.List<DDLAction> |
backup(DatabaseProvider provider,
SchemaConfiguration schemaConfiguration)
Backs up the database into a list of DDLAction |
void |
restore(java.util.List<DDLAction> actions,
DatabaseProvider provider)
Restores a list of of DDLAction in the give database |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackupRestoreImpl()
Method Detail |
---|
public java.util.List<DDLAction> backup(DatabaseProvider provider, SchemaConfiguration schemaConfiguration)
BackupRestore
DDLAction
backup
in interface BackupRestore
provider
- the database providerschemaConfiguration
- the schema configuration
DDLAction
representing the backed up databasepublic void restore(java.util.List<DDLAction> actions, DatabaseProvider provider)
BackupRestore
DDLAction
in the give database
restore
in interface BackupRestore
actions
- the DDL actions
to execute.provider
- the provider to the database to restore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |